Mercurial > hg > xemacs-beta
comparison nt/xemacs.mak @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | 5c696033aec4 |
children | 79940b592197 |
comparison
equal
deleted
inserted
replaced
770:336a418893b5 | 771:943eaba38521 |
---|---|
1 # Makefile for Microsoft NMAKE | 1 # Makefile for Microsoft NMAKE |
2 # Copyright (C) 1995 Board of Trustees, University of Illinois. | 2 # Copyright (C) 1995 Board of Trustees, University of Illinois. |
3 # Copyright (C) 1995, 1996, 2000 Ben Wing. | 3 # Copyright (C) 1995, 1996, 2000, 2001 Ben Wing. |
4 # Copyright (C) 1995 Sun Microsystems, Inc. | 4 # Copyright (C) 1995 Sun Microsystems, Inc. |
5 # Copyright (C) 1998 Free Software Foundation, Inc. | 5 # Copyright (C) 1998 Free Software Foundation, Inc. |
6 # | 6 # |
7 # This file is part of XEmacs. | 7 # This file is part of XEmacs. |
8 # | 8 # |
55 DEL=del | 55 DEL=del |
56 | 56 |
57 # Define the 'copy' command to use | 57 # Define the 'copy' command to use |
58 # Suppress confirmation for overwriting files | 58 # Suppress confirmation for overwriting files |
59 # Use /r (instead of /y), which exists on Windows NT 4 and 5. | 59 # Use /r (instead of /y), which exists on Windows NT 4 and 5. |
60 COPY=xcopy /q /r | 60 COPY=xcopy /q /y |
61 COPYDIR=xcopy /q /r /e | 61 COPYDIR=xcopy /q /y /e |
62 | 62 |
63 # Program name and version | 63 # Program name and version |
64 | 64 |
65 !include "$(XEMACS)\version.sh" | 65 !include "$(XEMACS)\version.sh" |
66 | 66 |
104 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING) | 104 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING) |
105 ! else | 105 ! else |
106 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING) | 106 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING) |
107 ! endif | 107 ! endif |
108 !endif | 108 !endif |
109 !if !defined(HAVE_MULE) | 109 !if !defined(MULE) |
110 HAVE_MULE=0 | 110 MULE=0 |
111 !endif | 111 !endif |
112 !if !defined(PACKAGE_PATH) | 112 !if !defined(PACKAGE_PATH) |
113 ! if !defined(PACKAGE_PREFIX) | 113 ! if !defined(PACKAGE_PREFIX) |
114 PACKAGE_PREFIX=c:\Program Files\XEmacs | 114 PACKAGE_PREFIX=c:\Program Files\XEmacs |
115 ! endif | 115 ! endif |
116 ! if $(HAVE_MULE) | 116 ! if $(MULE) |
117 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\mule-packages;$(PACKAGE_PREFIX)\xemacs-packages | 117 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\mule-packages;$(PACKAGE_PREFIX)\xemacs-packages |
118 ! else | 118 ! else |
119 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\xemacs-packages | 119 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\xemacs-packages |
120 ! endif | 120 ! endif |
121 !endif | 121 !endif |
323 # Whether to use dependency information generated by make-src-depend | 323 # Whether to use dependency information generated by make-src-depend |
324 # | 324 # |
325 !if !defined(DEPEND) | 325 !if !defined(DEPEND) |
326 DEPEND=0 | 326 DEPEND=0 |
327 !endif | 327 !endif |
328 !if $(DEPEND) | 328 !if $(DEPEND) && exist("$(SRC)\depend") |
329 ! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"] | 329 ! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"] |
330 ! endif | 330 ! endif |
331 # generate an nmake-readable version of depend | |
332 # #### here, it doesn't seem to matter if we double ^'s! | |
333 # results are the same with all single ^ and all double ^^! | |
334 # see comment below. | |
335 # #### Yuuuuuuuuuuck!!! Cygwin is too smart for its own good. If we are | 331 # #### Yuuuuuuuuuuck!!! Cygwin is too smart for its own good. If we are |
336 # being run from within Cygwin, a Cygwin Perl seems to require twice as | 332 # being run from within Cygwin, a Cygwin Perl seems to require twice as |
337 # much backslash quoting. This does not happen, of course, with a non- | 333 # much backslash quoting. This does not happen, of course, with a non- |
338 # Cygwin Perl, so in that circumstance, you'd be screwed and would have | 334 # Cygwin Perl, so in that circumstance, you'd be screwed and would have |
339 # to fix this Makefile to not have a special Cygwin case. | 335 # to fix this Makefile to not have a special Cygwin case. |
399 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS | 395 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS |
400 MSW_INCLUDES= | 396 MSW_INCLUDES= |
401 MSW_LIBS= | 397 MSW_LIBS= |
402 !if $(HAVE_MSW_C_DIRED) | 398 !if $(HAVE_MSW_C_DIRED) |
403 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED | 399 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED |
404 MSW_C_DIRED_SRC=$(SRC)\dired-msw.c | |
405 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj | 400 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj |
406 !endif | 401 !endif |
407 !if $(HAVE_XPM) | 402 !if $(HAVE_XPM) |
408 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW | 403 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW |
409 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib" | 404 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib" |
410 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib" | 405 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib" |
411 !endif | 406 !endif |
412 !if $(HAVE_GIF) | 407 !if $(HAVE_GIF) |
413 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF | 408 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF |
414 MSW_GIF_SRC=$(SRC)\dgif_lib.c $(SRC)\gif_io.c | |
415 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj | 409 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj |
416 !endif | 410 !endif |
417 !if $(HAVE_PNG) | 411 !if $(HAVE_PNG) |
418 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG | 412 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG |
419 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)" | 413 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)" |
432 !if $(HAVE_XFACE) | 426 !if $(HAVE_XFACE) |
433 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE | 427 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE |
434 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)" | 428 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)" |
435 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib" | 429 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib" |
436 !endif | 430 !endif |
431 !if $(HAVE_ZLIB) | |
432 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_ZLIB | |
433 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(ZLIB_DIR)" | |
434 MSW_LIBS=$(MSW_LIBS) "$(ZLIB_DIR)\zlib.lib" | |
435 !endif | |
437 !if $(HAVE_TOOLBARS) | 436 !if $(HAVE_TOOLBARS) |
438 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS | 437 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS |
439 MSW_TOOLBAR_SRC=$(SRC)\toolbar.c $(SRC)\toolbar-msw.c | |
440 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj | 438 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj |
441 !endif | 439 !endif |
442 !if $(HAVE_WIDGETS) | 440 !if $(HAVE_WIDGETS) |
443 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_WIDGETS | 441 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_WIDGETS |
444 !endif | 442 !endif |
445 !if $(HAVE_TOOLBARS) || $(HAVE_WIDGETS) | 443 !if $(HAVE_TOOLBARS) || $(HAVE_WIDGETS) |
446 MSW_LIBS=$(MSW_LIBS) comctl32.lib | 444 MSW_LIBS=$(MSW_LIBS) comctl32.lib |
447 !endif | 445 !endif |
448 !if $(HAVE_DIALOGS) | 446 !if $(HAVE_DIALOGS) |
449 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS | 447 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS |
450 MSW_DIALOG_SRC=$(SRC)\dialog.c $(SRC)\dialog-msw.c | |
451 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj | 448 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj |
452 !endif | 449 !endif |
453 !if $(HAVE_NATIVE_SOUND) | 450 !if $(HAVE_NATIVE_SOUND) |
454 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND | 451 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND |
455 !endif | 452 !endif |
456 !endif | 453 !endif |
457 | 454 |
458 !if $(HAVE_MULE) | 455 !if $(MULE) |
459 MULE_DEFINES=-DMULE | 456 MULE_DEFINES=-DMULE |
460 !endif | 457 !endif |
461 | 458 |
462 !if $(DEBUG_XEMACS) | 459 !if $(DEBUG_XEMACS) |
463 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG | 460 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG |
517 $(SRC)\config.h \ | 514 $(SRC)\config.h \ |
518 $(SRC)\Emacs.ad.h \ | 515 $(SRC)\Emacs.ad.h \ |
519 $(SRC)\paths.h | 516 $(SRC)\paths.h |
520 | 517 |
521 # #### Copying is cheap, we should just force these | 518 # #### Copying is cheap, we should just force these |
522 $(SRC)\config.h: config.h | 519 $(SRC)\config.h: $(SRC)\config.h.in |
523 @$(COPY) config.h $(SRC) | 520 # #### ms must have hired monkeys to design their shell commands. if |
521 # #### you use xcopy to copy a file from one name to another, it | |
522 # #### PROMPTS you to see if you meant the second as a directory! and | |
523 # #### no switch to mean "no of course, you idiots, it's a file!" | |
524 @copy $(SRC)\config.h.in $(SRC)\config.h | |
524 | 525 |
525 $(SRC)\Emacs.ad.h: Emacs.ad.h | 526 $(SRC)\Emacs.ad.h: Emacs.ad.h |
526 @$(COPY) Emacs.ad.h $(SRC) | 527 @$(COPY) Emacs.ad.h $(SRC) |
527 | 528 |
528 $(SRC)\paths.h: paths.h | 529 $(SRC)\paths.h: paths.h |
666 | 667 |
667 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRCDIR)\xlwscrollbar.c | 668 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRCDIR)\xlwscrollbar.c |
668 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c | 669 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c |
669 | 670 |
670 !endif | 671 !endif |
671 #------------------------------------------------------------------------------ | |
672 | |
673 DOC=$(LIB_SRC)\DOC | |
674 DOC_SRC1=\ | |
675 $(SRC)\abbrev.c \ | |
676 $(SRC)\alloc.c \ | |
677 $(SRC)\blocktype.c \ | |
678 $(SRC)\buffer.c \ | |
679 $(SRC)\bytecode.c \ | |
680 $(SRC)\callint.c \ | |
681 $(SRC)\callproc.c \ | |
682 $(SRC)\casefiddle.c \ | |
683 $(SRC)\casetab.c \ | |
684 $(SRC)\chartab.c \ | |
685 $(SRC)\cmdloop.c \ | |
686 $(SRC)\cmds.c \ | |
687 $(SRC)\console-stream.c \ | |
688 $(SRC)\console.c \ | |
689 $(SRC)\data.c \ | |
690 $(SRC)\device.c | |
691 DOC_SRC2=\ | |
692 $(SRC)\dired.c \ | |
693 $(SRC)\doc.c \ | |
694 $(SRC)\doprnt.c \ | |
695 $(SRC)\dragdrop.c \ | |
696 $(SRC)\dynarr.c \ | |
697 $(SRC)\editfns.c \ | |
698 $(SRC)\elhash.c \ | |
699 $(SRC)\emacs.c \ | |
700 $(SRC)\eval.c \ | |
701 $(SRC)\event-stream.c \ | |
702 $(SRC)\events.c \ | |
703 $(SRC)\extents.c \ | |
704 $(SRC)\faces.c \ | |
705 $(SRC)\file-coding.c \ | |
706 $(SRC)\fileio.c \ | |
707 $(SRC)\filemode.c \ | |
708 $(SRC)\floatfns.c \ | |
709 $(SRC)\fns.c | |
710 DOC_SRC3=\ | |
711 $(SRC)\font-lock.c \ | |
712 $(SRC)\frame.c \ | |
713 $(SRC)\general.c \ | |
714 $(SRC)\getloadavg.c \ | |
715 $(SRC)\glyphs.c \ | |
716 $(SRC)\glyphs-eimage.c \ | |
717 $(SRC)\glyphs-shared.c \ | |
718 $(SRC)\glyphs-widget.c \ | |
719 $(SRC)\gui.c \ | |
720 $(SRC)\gutter.c \ | |
721 $(SRC)\hash.c \ | |
722 $(SRC)\imgproc.c \ | |
723 $(SRC)\indent.c \ | |
724 $(SRC)\insdel.c \ | |
725 $(SRC)\intl.c \ | |
726 $(SRC)\keymap.c \ | |
727 $(SRC)\line-number.c \ | |
728 $(SRC)\lread.c \ | |
729 $(SRC)\lstream.c \ | |
730 $(SRC)\macros.c \ | |
731 $(SRC)\marker.c | |
732 DOC_SRC4=\ | |
733 $(SRC)\md5.c \ | |
734 $(SRC)\menubar.c \ | |
735 $(SRC)\minibuf.c \ | |
736 $(SRC)\nt.c \ | |
737 $(SRC)\ntplay.c \ | |
738 $(SRC)\ntproc.c \ | |
739 $(SRC)\objects.c \ | |
740 $(SRC)\opaque.c \ | |
741 $(SRC)\print.c \ | |
742 $(SRC)\process.c \ | |
743 $(SRC)\process-nt.c \ | |
744 $(SRC)\profile.c \ | |
745 $(SRC)\rangetab.c \ | |
746 $(SRC)\realpath.c \ | |
747 $(SRC)\redisplay-output.c \ | |
748 $(SRC)\redisplay.c \ | |
749 $(SRC)\regex.c \ | |
750 $(SRC)\scrollbar.c \ | |
751 $(SRC)\search.c \ | |
752 $(SRC)\select.c \ | |
753 $(SRC)\signal.c \ | |
754 $(SRC)\sound.c | |
755 DOC_SRC5=\ | |
756 $(SRC)\specifier.c \ | |
757 $(SRC)\strftime.c \ | |
758 $(SRC)\symbols.c \ | |
759 $(SRC)\syntax.c \ | |
760 $(SRC)\sysdep.c \ | |
761 $(SRC)\termcap.c \ | |
762 $(SRC)\tparam.c \ | |
763 $(SRC)\undo.c \ | |
764 $(SRC)\window.c \ | |
765 $(SRC)\win32.c \ | |
766 $(SRC)\widget.c | |
767 | |
768 !if $(HAVE_X_WINDOWS) | |
769 DOC_SRC6=\ | |
770 $(SRC)\balloon_help.c \ | |
771 $(SRC)\console-x.c \ | |
772 $(SRC)\device-x.c \ | |
773 $(SRC)\dialog-x.c \ | |
774 $(SRC)\EmacsFrame.c \ | |
775 $(SRC)\EmacsManager.c \ | |
776 $(SRC)\EmacsShell-sub.c\ | |
777 $(SRC)\EmacsShell.c \ | |
778 $(SRC)\event-Xt.c \ | |
779 $(SRC)\frame-x.c \ | |
780 $(SRC)\glyphs-x.c \ | |
781 $(SRC)\gui-x.c \ | |
782 $(SRC)\menubar.c \ | |
783 $(SRC)\menubar-x.c \ | |
784 $(SRC)\objects-x.c \ | |
785 $(SRC)\redisplay-x.c \ | |
786 $(SRC)\scrollbar-x.c \ | |
787 $(SRC)\balloon-x.c \ | |
788 $(SRC)\xgccache.c \ | |
789 $(SRC)\xmu.c \ | |
790 $(SRC)\select-x.c | |
791 !endif | |
792 | |
793 !if $(HAVE_MS_WINDOWS) | |
794 DOC_SRC7=\ | |
795 $(SRC)\console-msw.c \ | |
796 $(SRC)\device-msw.c \ | |
797 $(SRC)\event-msw.c \ | |
798 $(SRC)\frame-msw.c \ | |
799 $(SRC)\glyphs-msw.c \ | |
800 $(SRC)\gui-msw.c \ | |
801 $(SRC)\menubar-msw.c \ | |
802 $(SRC)\objects-msw.c \ | |
803 $(SRC)\redisplay-msw.c \ | |
804 $(SRC)\scrollbar-msw.c \ | |
805 $(SRC)\select-msw.c \ | |
806 $(MSW_C_DIRED_SRC) \ | |
807 $(MSW_TOOLBAR_SRC) \ | |
808 $(MSW_DIALOG_SRC) \ | |
809 $(MSW_GIF_SRC) | |
810 !endif | |
811 | |
812 !if $(HAVE_MULE) | |
813 DOC_SRC8=\ | |
814 $(SRC)\mule.c \ | |
815 $(SRC)\mule-charset.c \ | |
816 $(SRC)\mule-ccl.c | |
817 ! if $(HAVE_X_WINDOWS) | |
818 DOC_SRC8=$(DOC_SRC8) $(SRC)\input-method-xlib.c | |
819 ! endif | |
820 !endif | |
821 | |
822 !if $(DEBUG_XEMACS) | |
823 DOC_SRC9=\ | |
824 $(SRC)\debug.c \ | |
825 $(SRC)\tests.c | |
826 !endif | |
827 | |
828 !if !$(USE_SYSTEM_MALLOC) | |
829 DOC_SRC10=\ | |
830 $(SRC)\free-hook.c \ | |
831 $(SRC)\gmalloc.c \ | |
832 $(SRC)\ntheap.c \ | |
833 $(SRC)\vm-limit.c | |
834 !endif | |
835 | |
836 !if !$(USE_PORTABLE_DUMPER) | |
837 DOC_SRC11=\ | |
838 $(SRC)\unexnt.c | |
839 !else | |
840 DOC_SRC11=\ | |
841 $(SRC)\dumper.c | |
842 !endif | |
843 | 672 |
844 #------------------------------------------------------------------------------ | 673 #------------------------------------------------------------------------------ |
845 | 674 |
846 # TEMACS Executable | 675 # TEMACS Executable |
847 | 676 |
865 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc | 694 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc |
866 TEMACS_SRC=$(SRC) | 695 TEMACS_SRC=$(SRC) |
867 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \ | 696 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \ |
868 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib \ | 697 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib \ |
869 shell32.lib wsock32.lib netapi32.lib winmm.lib winspool.lib ole32.lib \ | 698 shell32.lib wsock32.lib netapi32.lib winmm.lib winspool.lib ole32.lib \ |
870 uuid.lib $(LIBC_LIB) | 699 mpr.lib uuid.lib imm32.lib $(LIBC_LIB) |
871 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\ | 700 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\ |
872 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\ | 701 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\ |
873 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \ | 702 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \ |
874 -heap:0x00100000 -nodefaultlib -incremental:no setargv.obj | 703 -heap:0x00100000 -nodefaultlib -incremental:no setargv.obj |
875 TEMACS_CPP_FLAGS=-c \ | 704 TEMACS_CPP_FLAGS=-c \ |
924 $(MSW_TOOLBAR_OBJ) \ | 753 $(MSW_TOOLBAR_OBJ) \ |
925 $(MSW_DIALOG_OBJ) \ | 754 $(MSW_DIALOG_OBJ) \ |
926 $(MSW_GIF_OBJ) | 755 $(MSW_GIF_OBJ) |
927 !endif | 756 !endif |
928 | 757 |
929 !if $(HAVE_MULE) | 758 !if $(MULE) |
930 TEMACS_MULE_OBJS=\ | 759 TEMACS_MULE_OBJS=\ |
931 $(OUTDIR)\mule.obj \ | 760 $(OUTDIR)\mule-ccl.obj \ |
932 $(OUTDIR)\mule-charset.obj \ | 761 $(OUTDIR)\mule-charset.obj \ |
933 $(OUTDIR)\mule-ccl.obj | 762 $(OUTDIR)\mule-coding.obj |
763 | |
934 ! if $(HAVE_X_WINDOWS) | 764 ! if $(HAVE_X_WINDOWS) |
935 TEMACS_MULE_OBJS=\ | 765 TEMACS_MULE_OBJS=\ |
936 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj | 766 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj |
937 ! endif | 767 ! endif |
938 !endif | 768 !endif |
1014 $(OUTDIR)\hash.obj \ | 844 $(OUTDIR)\hash.obj \ |
1015 $(OUTDIR)\indent.obj \ | 845 $(OUTDIR)\indent.obj \ |
1016 $(OUTDIR)\imgproc.obj \ | 846 $(OUTDIR)\imgproc.obj \ |
1017 $(OUTDIR)\insdel.obj \ | 847 $(OUTDIR)\insdel.obj \ |
1018 $(OUTDIR)\intl.obj \ | 848 $(OUTDIR)\intl.obj \ |
849 $(OUTDIR)\intl-win32.obj \ | |
850 $(OUTDIR)\intl-encap-win32.obj \ | |
851 $(OUTDIR)\intl-auto-encap-win32.obj \ | |
1019 $(OUTDIR)\keymap.obj \ | 852 $(OUTDIR)\keymap.obj \ |
1020 $(OUTDIR)\line-number.obj \ | 853 $(OUTDIR)\line-number.obj \ |
1021 $(OUTDIR)\lread.obj \ | 854 $(OUTDIR)\lread.obj \ |
1022 $(OUTDIR)\lstream.obj \ | 855 $(OUTDIR)\lstream.obj \ |
1023 $(OUTDIR)\macros.obj \ | 856 $(OUTDIR)\macros.obj \ |
1047 $(OUTDIR)\specifier.obj \ | 880 $(OUTDIR)\specifier.obj \ |
1048 $(OUTDIR)\strftime.obj \ | 881 $(OUTDIR)\strftime.obj \ |
1049 $(OUTDIR)\symbols.obj \ | 882 $(OUTDIR)\symbols.obj \ |
1050 $(OUTDIR)\syntax.obj \ | 883 $(OUTDIR)\syntax.obj \ |
1051 $(OUTDIR)\sysdep.obj \ | 884 $(OUTDIR)\sysdep.obj \ |
885 $(OUTDIR)\text.obj \ | |
1052 $(OUTDIR)\tparam.obj \ | 886 $(OUTDIR)\tparam.obj \ |
1053 $(OUTDIR)\undo.obj \ | 887 $(OUTDIR)\undo.obj \ |
888 $(OUTDIR)\unicode.obj \ | |
1054 $(OUTDIR)\widget.obj \ | 889 $(OUTDIR)\widget.obj \ |
1055 $(OUTDIR)\window.obj \ | 890 $(OUTDIR)\window.obj \ |
1056 $(OUTDIR)\win32.obj | 891 $(OUTDIR)\win32.obj |
1057 | 892 |
1058 # Rules | 893 # Rules |
1074 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c | 909 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c |
1075 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@ | 910 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@ |
1076 | 911 |
1077 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c | 912 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c |
1078 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@ | 913 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@ |
1079 | |
1080 $(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c | |
1081 | 914 |
1082 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad | 915 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad |
1083 # !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h" | 916 # !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h" |
1084 | 917 |
1085 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in | 918 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in |
1147 @echo (setq tag-table-alist | 980 @echo (setq tag-table-alist |
1148 @echo '(("$(XEMACSDIRSTRING)\\" . "$(XEMACSDIRSTRING)\\"))) | 981 @echo '(("$(XEMACSDIRSTRING)\\" . "$(XEMACSDIRSTRING)\\"))) |
1149 cd $(XEMACS) | 982 cd $(XEMACS) |
1150 -$(DEL) TAGS | 983 -$(DEL) TAGS |
1151 set PATH=lib-src;%PATH% | 984 set PATH=lib-src;%PATH% |
1152 # we need to double ^, but only before backslash! Doubling it elsewhere | 985 # we need to double ^, but only in one place, because (according to the |
1153 # causes problems. I don't understand this -- CMD.EXE uses ^ as a quoting | 986 # nmake manual), a ^ is used to quote certain special characters such as |
1154 # convention of sorts, but appears to leave it alone inside of double quotes, | 987 # backslash, but is treated literally within double quotes -- and notice |
1155 # even before \. Could this be nmake interference? | 988 # carefully the occurrences of double quotes in the first line below! |
1156 etags -a -r "/[ ]*DEF\(VAR\|INE\)_[A-Z_]+[ ]*([ ]*\"\([^^\"]+\)\"/\2/" src\*.c src\*.h lwlib\*.c lwlib\*.h lib-src\*.c lib-src\*.h | 989 etags -a -r "/[ ]*DEF\(VAR\|INE\)_[A-Z_]+[ ]*([ ]*\"\([^^\"]+\)\"/\2/" src\*.c src\*.h lwlib\*.c lwlib\*.h lib-src\*.c lib-src\*.h |
1157 etags -a -l none -r "/^(def\(var\|un\|alias\|const\|macro\|subst\|struct\|face\|group\|custom\|ine-\(function\|compiler-macro\|[a-z-]+alias\)\)[ ]+'?\([^ ]+\)/\3/" $(tagslisp)\*.el | 990 etags -a -l none -r "/^(def\(var\|un\|alias\|const\|macro\|subst\|struct\|face\|group\|custom\|ine-\(function\|compiler-macro\|[a-z-]+alias\)\)[ ]+'?\([^ ]+\)/\3/" $(tagslisp)\*.el $(tagslisp)\mule\*.el |
1158 | 991 |
1159 # Section handling tags ends here | 992 # Section handling tags ends here |
1160 | 993 |
1161 # Section handling info starts here | 994 # Section handling info starts here |
1162 | 995 |
1360 # LISP bits 'n bobs | 1193 # LISP bits 'n bobs |
1361 | 1194 |
1362 LOADPATH=$(LISP) | 1195 LOADPATH=$(LISP) |
1363 | 1196 |
1364 # Rebuild docfile target | 1197 # Rebuild docfile target |
1198 | |
1199 DOC=$(LIB_SRC)\DOC | |
1200 | |
1365 docfile :: | 1201 docfile :: |
1366 if exist $(DOC) $(DEL) $(DOC) | 1202 if exist $(DOC) $(DEL) $(DOC) |
1367 docfile :: $(DOC) | 1203 docfile :: $(DOC) |
1368 | 1204 |
1369 $(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) | 1205 # This takes 5 seconds on my Pentium 233. If you are running on a |
1206 # much slower machine and are bothered by the time, modify make-docfile.c | |
1207 # to contain special code to frob $(OUTDIR)\foo.obj into the right file. | |
1208 make-docargs: $(TEMACS_OBJS) | |
1209 @echo Creating make-docfile argument file ... | |
1210 -$(DEL) make-docfile.out | |
1211 @!echo $(SRC)\$(**B).c >> make-docfile.out | |
1212 @echo Done. | |
1213 | |
1214 $(DOC): $(LIB_SRC)\make-docfile.exe make-docargs | |
1370 if exist $(DOC) $(DEL) $(DOC) | 1215 if exist $(DOC) $(DEL) $(DOC) |
1371 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH) | 1216 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH) |
1372 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) | 1217 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) |
1373 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages | 1218 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages |
1374 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1) | 1219 $(LIB_SRC)\make-docfile.exe -a $(DOC) @make-docfile.out |
1375 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2) | |
1376 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC3) | |
1377 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC4) | |
1378 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC5) | |
1379 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC6) | |
1380 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7) | |
1381 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8) | |
1382 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9) | |
1383 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC10) | |
1384 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC11) | |
1385 | 1220 |
1386 update-elc: | 1221 update-elc: |
1387 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH) | 1222 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH) |
1388 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) | 1223 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) |
1389 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\update-elc.el | 1224 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\update-elc.el |
1521 depend: | 1356 depend: |
1522 cd $(SRC) | 1357 cd $(SRC) |
1523 perl ./make-src-depend > depend.tmp | 1358 perl ./make-src-depend > depend.tmp |
1524 perl -MFile::Compare -e "compare('depend.tmp', 'depend') && rename('depend.tmp', 'depend') or unlink('depend.tmp')" | 1359 perl -MFile::Compare -e "compare('depend.tmp', 'depend') && rename('depend.tmp', 'depend') or unlink('depend.tmp')" |
1525 | 1360 |
1361 unicode-encapsulate: | |
1362 cd $(SRC) | |
1363 perl ../lib-src/make-mswin-unicode.pl --c-output intl-auto-encap-win32.c --h-output intl-auto-encap-win32.h intl-encap-win32.c | |
1364 | |
1526 $(XEMACS)\Installation:: installation | 1365 $(XEMACS)\Installation:: installation |
1527 | 1366 |
1528 installation:: | 1367 installation:: |
1529 @echo OS version:>$(XEMACS)\Installation | 1368 @echo OS version:>$(XEMACS)\Installation |
1530 @ver >> $(XEMACS)\Installation | 1369 @ver >> $(XEMACS)\Installation |
1548 Compiling in support for Microsoft Windows native GUI. | 1387 Compiling in support for Microsoft Windows native GUI. |
1549 !endif | 1388 !endif |
1550 !if $(HAVE_X_WINDOWS) | 1389 !if $(HAVE_X_WINDOWS) |
1551 Compiling in support for X-Windows. | 1390 Compiling in support for X-Windows. |
1552 !endif | 1391 !endif |
1553 !if $(HAVE_MULE) | 1392 !if $(MULE) |
1554 Compiling in MULE. | 1393 Compiling in international (MULE) support. |
1555 !endif | 1394 !endif |
1556 !if $(HAVE_GTK) | 1395 !if $(HAVE_GTK) |
1557 -------------------------------------------------------------------- | 1396 -------------------------------------------------------------------- |
1558 WARNING: You specified HAVE_GTK=1, but we are compiling WITHOUT GTK support. | 1397 WARNING: You specified HAVE_GTK=1, but we are compiling WITHOUT GTK support. |
1559 WARNING: gtk-xemacs is not currently supported on MSWindows (mingw or msvc). | 1398 WARNING: gtk-xemacs is not currently supported on MSWindows (mingw or msvc). |
1591 Compiling in support for JPEG images. | 1430 Compiling in support for JPEG images. |
1592 !endif | 1431 !endif |
1593 !if $(HAVE_XFACE) | 1432 !if $(HAVE_XFACE) |
1594 Compiling in support for X-Face message headers. | 1433 Compiling in support for X-Face message headers. |
1595 !endif | 1434 !endif |
1435 !if $(HAVE_ZLIB) | |
1436 Compiling in support for GZIP compression/decompression. | |
1437 !endif | |
1596 !if $(HAVE_TOOLBARS) | 1438 !if $(HAVE_TOOLBARS) |
1597 Compiling in support for toolbars. | 1439 Compiling in support for toolbars. |
1598 !endif | 1440 !endif |
1599 !if $(HAVE_DIALOGS) | 1441 !if $(HAVE_DIALOGS) |
1600 Compiling in support for dialogs. | 1442 Compiling in support for dialogs. |