Mercurial > hg > xemacs-beta
comparison nt/xemacs.mak @ 494:4137b1fb7b90
[xemacs-hg @ 2001-05-01 07:23:47 by ben]
* xemacs.mak (DEPEND):
Don't add config.inc to the horked depend file. It's not
recognized by nmake and just results in warnings.
* xemacs.mak (docfile):
Don't use $(DEL) in the middle of a shell command, because it
will try to call `-del' and fail.
author | ben |
---|---|
date | Tue, 01 May 2001 07:23:47 +0000 |
parents | 1e7b510d04f6 |
children | 98145293255c |
comparison
equal
deleted
inserted
replaced
493:610e4ba94a4d | 494:4137b1fb7b90 |
---|---|
320 # Cygwin Perl, so in that circumstance, you'd be screwed and would have | 320 # Cygwin Perl, so in that circumstance, you'd be screwed and would have |
321 # to fix this Makefile to not have a special Cygwin case. | 321 # to fix this Makefile to not have a special Cygwin case. |
322 ! if defined(_) | 322 ! if defined(_) |
323 ! if [perl -p -e "s/^\\x23if defined(.+)/!if defined$$1/; s/^\\x23e/!e/;" \ | 323 ! if [perl -p -e "s/^\\x23if defined(.+)/!if defined$$1/; s/^\\x23e/!e/;" \ |
324 -e "s/([\\s=^])([\\w\\d\\.\\-^]+\\.[ch^])/$$1$(SRC:\=\\\\)\\\\$$2/g;" \ | 324 -e "s/([\\s=^])([\\w\\d\\.\\-^]+\\.[ch^])/$$1$(SRC:\=\\\\)\\\\$$2/g;" \ |
325 -e "s/^(.+)\\.o:(.+)/$(OUTDIR:\=\\\\)\\\\$$1.obj:$$2 $(NT:\=\\\\)\\\\config.inc/;" \ | 325 -e "s/^(.+)\\.o:(.+)/$(OUTDIR:\=\\\\)\\\\$$1.obj:$$2/;" \ |
326 < $(SRC)\depend > $(OUTDIR)\depend.tmp] | 326 < $(SRC)\depend > $(OUTDIR)\depend.tmp] |
327 ! endif | 327 ! endif |
328 ! else | 328 ! else |
329 ! if [perl -p -e "s/^\x23if defined(.+)/!if defined$$1/; s/^\x23e/!e/;" \ | 329 ! if [perl -p -e "s/^\x23if defined(.+)/!if defined$$1/; s/^\x23e/!e/;" \ |
330 -e "s/([\s=^])([\w\d\.\-^]+\.[ch^])/$$1$(SRC:\=\\)\\$$2/g;" \ | 330 -e "s/([\s=^])([\w\d\.\-^]+\.[ch^])/$$1$(SRC:\=\\)\\$$2/g;" \ |
331 -e "s/^(.+)\.o:(.+)/$(OUTDIR:\=\\)\\$$1.obj:$$2 $(NT:\=\\)\\config.inc/;" \ | 331 -e "s/^(.+)\.o:(.+)/$(OUTDIR:\=\\)\\$$1.obj:$$2/;" \ |
332 < $(SRC)\depend > $(OUTDIR)\depend.tmp] | 332 < $(SRC)\depend > $(OUTDIR)\depend.tmp] |
333 ! endif | 333 ! endif |
334 ! endif | 334 ! endif |
335 ! include "$(OUTDIR)\depend.tmp" | 335 ! include "$(OUTDIR)\depend.tmp" |
336 !else | 336 !else |
1340 docfile :: | 1340 docfile :: |
1341 if exist $(DOC) $(DEL) $(DOC) | 1341 if exist $(DOC) $(DEL) $(DOC) |
1342 docfile :: $(DOC) | 1342 docfile :: $(DOC) |
1343 | 1343 |
1344 $(DOC): $(LIB_SRC)\make-docfile.exe $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(DOC_SRC10) $(DOC_SRC11) | 1344 $(DOC): $(LIB_SRC)\make-docfile.exe $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(DOC_SRC10) $(DOC_SRC11) |
1345 if exist $(DOC) $(DEL) $(DOC) | 1345 if exist $(DOC) del $(DOC) |
1346 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH) | 1346 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH) |
1347 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) | 1347 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) |
1348 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages | 1348 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages |
1349 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1) | 1349 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1) |
1350 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2) | 1350 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2) |