Mercurial > hg > xemacs-beta
comparison nt/xemacs.mak @ 4413:dc84ec90b463
Fix build problems on Windows.
Also: regenerate dependencies, update ignored files
2008-01-24 Mike Sperber <mike@xemacs.org>
* config.inc.samp: Fix URL for optional libraries.
* xemacs.mak (PATH_PREFIX): Set PATH_PREFIX to the value of INSTALL_DIR.
* xemacs.mak (PATH_DEFINES): Fix setting of PATH_DEFINES.
* xemacs.mak (DEBUG_FLAG_COMPILE_DEBUG): Comment out -RTC1: it
even crashes with VC 8.
* xemacs.mak: Comment out echo line that leads to
command-line-too-long error on some Windowses.
2008-01-24 Mike Sperber <mike@xemacs.org>
* make-src-depend (PrintDeps): Fix Perl code that no longer works
with Perl 5.10.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Mon, 28 Jan 2008 08:13:37 +0100 |
parents | 4b62544f5139 |
children | eb82fbb675ea |
comparison
equal
deleted
inserted
replaced
4412:2f000e022a8b | 4413:dc84ec90b463 |
---|---|
456 !endif | 456 !endif |
457 | 457 |
458 !if $(INFODOCK) | 458 !if $(INFODOCK) |
459 PATH_PREFIX=../.. | 459 PATH_PREFIX=../.. |
460 !else | 460 !else |
461 PATH_PREFIX=.. | 461 PATH_PREFIX="$(INSTALL_DIR)" |
462 !endif | 462 !endif |
463 | 463 |
464 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\" | 464 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX:\=\\)\" |
465 | 465 |
466 !if $(SEPARATE_BUILD) | 466 !if $(SEPARATE_BUILD) |
467 PATH_DEFINES=$(PATH_DEFINES) -DPATH_LOADSEARCH=\"$(LISP:\=\\)\" -DPATH_DATA=\"$(ETC:\=\\)\" -DPATH_INFO=\"$(INFO:\=\\)\" | 467 PATH_DEFINES=$(PATH_DEFINES) -DPATH_LOADSEARCH=\"$(LISP:\=\\)\" -DPATH_DATA=\"$(ETC:\=\\)\" -DPATH_INFO=\"$(INFO:\=\\)\" |
468 !endif | 468 !endif |
469 | 469 |
689 # VC 7 sets opt:noref automatically with -debug. VC 8 apparently doesn't | 689 # VC 7 sets opt:noref automatically with -debug. VC 8 apparently doesn't |
690 # do this, and then complains if you try to use edit-and-continue without | 690 # do this, and then complains if you try to use edit-and-continue without |
691 # giving it. | 691 # giving it. |
692 DEBUG_FLAG_LINK_DEBUG=-debug -opt:noref | 692 DEBUG_FLAG_LINK_DEBUG=-debug -opt:noref |
693 # This turns on additional run-time checking | 693 # This turns on additional run-time checking |
694 # For some reason it causes spawning of make-docfile to crash in VC 7 | 694 # For some reason it causes spawning of make-docfile to crash in VC 7 and VC 8 |
695 DEBUG_FLAG_COMPILE_DEBUG=-RTC1 | 695 # DEBUG_FLAG_COMPILE_DEBUG=-RTC1 |
696 ! else | 696 ! else |
697 DEBUG_FLAG_LINK_DEBUG=-debug:full | 697 DEBUG_FLAG_LINK_DEBUG=-debug:full |
698 DEBUG_FLAG_COMPILE_DEBUG= | 698 DEBUG_FLAG_COMPILE_DEBUG= |
699 ! endif | 699 ! endif |
700 | 700 |
1364 !else | 1364 !else |
1365 TEMACS_DUMP_DEP = $(OUTDIR)\temacs.res | 1365 TEMACS_DUMP_DEP = $(OUTDIR)\temacs.res |
1366 !endif | 1366 !endif |
1367 | 1367 |
1368 $(RAW_EXE): $(TEMACS_OBJS) $(LASTFILE) $(TEMACS_DUMP_DEP) | 1368 $(RAW_EXE): $(TEMACS_OBJS) $(LASTFILE) $(TEMACS_DUMP_DEP) |
1369 @echo link $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_DUMP_DEP) $(TEMACS_LIBS) | 1369 # Command line too long for some Windows installation: |
1370 # @echo link $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_DUMP_DEP) $(TEMACS_LIBS) | |
1370 link.exe @<< | 1371 link.exe @<< |
1371 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_DUMP_DEP) $(TEMACS_LIBS) | 1372 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_DUMP_DEP) $(TEMACS_LIBS) |
1372 << | 1373 << |
1373 | 1374 |
1374 !if $(DEBUG_XEMACS) | 1375 !if $(DEBUG_XEMACS) |