comparison nt/xemacs.mak @ 438:84b14dcb0985 r21-2-27

Import from CVS: tag r21-2-27
author cvs
date Mon, 13 Aug 2007 11:32:25 +0200
parents 3a7e78e1142d
children 8de8e3f6228a
comparison
equal deleted inserted replaced
437:e2a4e8b94b82 438:84b14dcb0985
127 DEBUG_XEMACS=0 127 DEBUG_XEMACS=0
128 !endif 128 !endif
129 !if !defined(USE_UNION_TYPE) 129 !if !defined(USE_UNION_TYPE)
130 USE_UNION_TYPE=0 130 USE_UNION_TYPE=0
131 !endif 131 !endif
132 !if !defined(USE_MINITAR)
133 USE_MINITAR=1
134 !endif
132 !if !defined(USE_MINIMAL_TAGBITS) 135 !if !defined(USE_MINIMAL_TAGBITS)
133 USE_MINIMAL_TAGBITS=0 136 USE_MINIMAL_TAGBITS=0
134 !endif 137 !endif
135 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION) 138 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION)
136 USE_INDEXED_LRECORD_IMPLEMENTATION=0 139 USE_INDEXED_LRECORD_IMPLEMENTATION=0
140 !endif
141 !if !defined(USE_PORTABLE_DUMPER)
142 USE_PORTABLE_DUMPER=0
137 !endif 143 !endif
138 !if !defined(GUNG_HO) 144 !if !defined(GUNG_HO)
139 GUNG_HO=0 145 GUNG_HO=0
140 !endif 146 !endif
141 147
339 !endif 345 !endif
340 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION) 346 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
341 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION 347 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION
342 !endif 348 !endif
343 !if $(USE_UNION_TYPE) 349 !if $(USE_UNION_TYPE)
350 !if $(USE_PORTABLE_DUMPER)
351 DUMPER_DEFINES=-DPDUMP
352 !endif
353
344 UNION_DEFINES=-DUSE_UNION_TYPE 354 UNION_DEFINES=-DUSE_UNION_TYPE
345 !endif 355 !endif
346 356
347 # Hard-coded paths 357 # Hard-coded paths
348 358
357 # Generic variables 367 # Generic variables
358 368
359 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(XEMACS)\nt\inc -I$(XEMACS)\src -I$(XEMACS)\lwlib 369 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(XEMACS)\nt\inc -I$(XEMACS)\src -I$(XEMACS)\lwlib
360 370
361 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \ 371 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \
362 $(TAGBITS_DEFINES) $(LRECORD_DEFINES) $(UNION_DEFINES) \ 372 $(TAGBITS_DEFINES) $(LRECORD_DEFINES) $(UNION_DEFINES) $(DUMPER_DEFINES)\
363 -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN -DWINDOWSNT -Demacs \ 373 -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN -DWINDOWSNT -Demacs \
364 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES) 374 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
365 375
366 #------------------------------------------------------------------------------ 376 #------------------------------------------------------------------------------
367 377
426 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS) 436 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
427 $(LIB_SRC)/movemail.exe: $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS) 437 $(LIB_SRC)/movemail.exe: $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS)
428 cd $(LIB_SRC) 438 cd $(LIB_SRC)
429 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** wsock32.lib -link -incremental:no 439 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** wsock32.lib -link -incremental:no
430 cd $(NT) 440 cd $(NT)
441 $(LIB_SRC)/minitar.exe : $(NT)/minitar.mak $(NT)/minitar.c
442 nmake -nologo -f minitar.mak ZLIB="$(ZLIB_DIR)" NT="$(NT)" LIB_SRC="$(LIB_SRC)"
431 443
432 LIB_SRC_TOOLS = \ 444 LIB_SRC_TOOLS = \
433 $(LIB_SRC)/make-docfile.exe \ 445 $(LIB_SRC)/make-docfile.exe \
434 $(LIB_SRC)/hexl.exe \ 446 $(LIB_SRC)/hexl.exe \
435 $(LIB_SRC)/movemail.exe \ 447 $(LIB_SRC)/movemail.exe \
436 $(LIB_SRC)/mmencode.exe \ 448 $(LIB_SRC)/mmencode.exe \
437 $(LIB_SRC)/sorted-doc.exe \ 449 $(LIB_SRC)/sorted-doc.exe \
438 $(LIB_SRC)/wakeup.exe \ 450 $(LIB_SRC)/wakeup.exe \
439 $(LIB_SRC)/etags.exe 451 $(LIB_SRC)/etags.exe
452 !if $(USE_MINITAR)
453 LIB_SRC_TOOLS = \
454 $(LIB_SRC_TOOLS) \
455 $(LIB_SRC)/minitar.exe
456 !endif
457
458 # Shorthand target
459 minitar: $(LIB_SRC)/minitar.exe
440 460
441 #------------------------------------------------------------------------------ 461 #------------------------------------------------------------------------------
442 462
443 # runxemacs proglet 463 # runxemacs proglet
444 464
1140 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7) 1160 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7)
1141 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8) 1161 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8)
1142 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9) 1162 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9)
1143 1163
1144 update-elc: 1164 update-elc:
1165 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
1145 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH) 1166 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
1146 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) 1167 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
1147 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\update-elc.el 1168 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\update-elc.el
1148 1169
1149 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE 1170 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE
1161 # use this rule to build the complete system 1182 # use this rule to build the complete system
1162 all: $(XEMACS)\Installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \ 1183 all: $(XEMACS)\Installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \
1163 $(LIB_SRC_TOOLS) $(RUNEMACS) $(TEMACS) update-elc $(DOC) dump-xemacs \ 1184 $(LIB_SRC_TOOLS) $(RUNEMACS) $(TEMACS) update-elc $(DOC) dump-xemacs \
1164 $(LISP)/auto-autoloads.el $(LISP)/custom-load.el info 1185 $(LISP)/auto-autoloads.el $(LISP)/custom-load.el info
1165 1186
1166 temacs: $(TEMACS) 1187 temacs: $(LASTFILE) $(TEMACS)
1167 1188
1168 # use this rule to install the system 1189 # use this rule to install the system
1169 install: all 1190 install: all
1170 cd $(NT) 1191 cd $(NT)
1171 @echo Installing in $(INSTALL_DIR) ... 1192 @echo Installing in $(INSTALL_DIR) ...
1319 Using indexed lrecord implementation. 1340 Using indexed lrecord implementation.
1320 !endif 1341 !endif
1321 !if $(USE_UNION_TYPE) 1342 !if $(USE_UNION_TYPE)
1322 Using union type for Lisp object storage. 1343 Using union type for Lisp object storage.
1323 !endif 1344 !endif
1345 !if $(USE_PORTABLE_DUMPER)
1346 Using portable dumper.
1347 !endif
1324 !if $(DEBUG_XEMACS) 1348 !if $(DEBUG_XEMACS)
1325 Compiling in extra debug checks. XEmacs will be slow! 1349 Compiling in extra debug checks. XEmacs will be slow!
1326 !endif 1350 !endif
1327 <<NOKEEP 1351 <<NOKEEP
1328 @echo -------------------------------------------------------------------- 1352 @echo --------------------------------------------------------------------