comparison nt/xemacs.mak @ 462:0784d089fdc9 r21-2-46

Import from CVS: tag r21-2-46
author cvs
date Mon, 13 Aug 2007 11:44:37 +0200
parents 576fb035e263
children 1e7b510d04f6
comparison
equal deleted inserted replaced
461:120ed4009e51 462:0784d089fdc9
305 ! endif 305 ! endif
306 # generate an nmake-readable version of depend 306 # generate an nmake-readable version of depend
307 # #### here, it doesn't seem to matter if we double ^'s! 307 # #### here, it doesn't seem to matter if we double ^'s!
308 # results are the same with all single ^ and all double ^^! 308 # results are the same with all single ^ and all double ^^!
309 # see comment below. 309 # see comment below.
310 ! if [perl -p -e "s/^\x23if defined(.+)/!if defined$$1/; s/^\x23e/!e/;" \ 310 # #### Yuuuuuuuuuuck!!! Cygwin is too smart for its own good. If we are
311 # being run from within Cygwin, a Cygwin Perl seems to require twice as
312 # much backslash quoting. This does not happen, of course, with a non-
313 # Cygwin Perl, so in that circumstance, you'd be screwed and would have
314 # to fix this Makefile to not have a special Cygwin case.
315 ! if defined(_)
316 ! if [perl -p -e "s/^\\x23if defined(.+)/!if defined$$1/; s/^\\x23e/!e/;" \
317 -e "s/([\\s=^])([\\w\\d\\.\\-^]+\\.[ch^])/$$1$(SRC:\=\\\\)\\\\$$2/g;" \
318 -e "s/^(.+)\\.o:(.+)/$(OUTDIR:\=\\\\)\\\\$$1.obj:$$2 $(NT:\=\\\\)\\\\config.inc/;" \
319 < $(SRC)\depend > $(OUTDIR)\depend.tmp]
320 ! endif
321 ! else
322 ! if [perl -p -e "s/^\x23if defined(.+)/!if defined$$1/; s/^\x23e/!e/;" \
311 -e "s/([\s=^])([\w\d\.\-^]+\.[ch^])/$$1$(SRC:\=\\)\\$$2/g;" \ 323 -e "s/([\s=^])([\w\d\.\-^]+\.[ch^])/$$1$(SRC:\=\\)\\$$2/g;" \
312 -e "s/^(.+)\.o:(.+)/$(OUTDIR:\=\\)\\$$1.obj:$$2 $(NT:\=\\)\\config.inc/;" \ 324 -e "s/^(.+)\.o:(.+)/$(OUTDIR:\=\\)\\$$1.obj:$$2 $(NT:\=\\)\\config.inc/;" \
313 < $(SRC)\depend > $(OUTDIR)\depend.tmp] 325 < $(SRC)\depend > $(OUTDIR)\depend.tmp]
326 ! endif
314 ! endif 327 ! endif
315 ! include "$(OUTDIR)\depend.tmp" 328 ! include "$(OUTDIR)\depend.tmp"
316 !else 329 !else
317 ! if [echo WARNING: Compiling without dependency information.] 330 ! if [echo WARNING: Compiling without dependency information.]
318 ! endif 331 ! endif