comparison nt/xemacs.mak @ 422:95016f13131a r21-2-19

Import from CVS: tag r21-2-19
author cvs
date Mon, 13 Aug 2007 11:25:01 +0200
parents e804706bfb8c
children 11054d720c21
comparison
equal deleted inserted replaced
421:fff06e11db74 422:95016f13131a
551 $(XEMACS)\src\glyphs.c \ 551 $(XEMACS)\src\glyphs.c \
552 $(XEMACS)\src\glyphs-eimage.c \ 552 $(XEMACS)\src\glyphs-eimage.c \
553 $(XEMACS)\src\glyphs-widget.c \ 553 $(XEMACS)\src\glyphs-widget.c \
554 $(XEMACS)\src\gmalloc.c \ 554 $(XEMACS)\src\gmalloc.c \
555 $(XEMACS)\src\gui.c \ 555 $(XEMACS)\src\gui.c \
556 $(XEMACS)\src\gutter.c \
556 $(XEMACS)\src\hash.c \ 557 $(XEMACS)\src\hash.c \
557 $(XEMACS)\src\imgproc.c \ 558 $(XEMACS)\src\imgproc.c \
558 $(XEMACS)\src\indent.c \ 559 $(XEMACS)\src\indent.c \
559 $(XEMACS)\src\insdel.c \ 560 $(XEMACS)\src\insdel.c \
560 $(XEMACS)\src\intl.c \ 561 $(XEMACS)\src\intl.c \
798 $(OUTDIR)\glyphs.obj \ 799 $(OUTDIR)\glyphs.obj \
799 $(OUTDIR)\glyphs-eimage.obj \ 800 $(OUTDIR)\glyphs-eimage.obj \
800 $(OUTDIR)\glyphs-widget.obj \ 801 $(OUTDIR)\glyphs-widget.obj \
801 $(OUTDIR)\gmalloc.obj \ 802 $(OUTDIR)\gmalloc.obj \
802 $(OUTDIR)\gui.obj \ 803 $(OUTDIR)\gui.obj \
804 $(OUTDIR)\gutter.obj \
803 $(OUTDIR)\hash.obj \ 805 $(OUTDIR)\hash.obj \
804 $(OUTDIR)\indent.obj \ 806 $(OUTDIR)\indent.obj \
805 $(OUTDIR)\imgproc.obj \ 807 $(OUTDIR)\imgproc.obj \
806 $(OUTDIR)\insdel.obj \ 808 $(OUTDIR)\insdel.obj \
807 $(OUTDIR)\intl.obj \ 809 $(OUTDIR)\intl.obj \
848 $(OUTDIR)\xemacs.res 850 $(OUTDIR)\xemacs.res
849 851
850 # Rules 852 # Rules
851 853
852 .SUFFIXES: 854 .SUFFIXES:
853 .SUFFIXES: .c 855 .SUFFIXES: .c .texi
854 856
855 # nmake rule 857 # nmake rule
856 !if $(DEBUG_XEMACS) 858 !if $(DEBUG_XEMACS)
857 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj: 859 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
858 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ -Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb 860 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ -Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb
888 $(OUTDIR)\xemacs.res: xemacs.rc 890 $(OUTDIR)\xemacs.res: xemacs.rc
889 rc -Fo$@ xemacs.rc 891 rc -Fo$@ xemacs.rc
890 892
891 # Section handling automated tests starts here 893 # Section handling automated tests starts here
892 894
893 SRCDIR=../src 895 SRCDIR=..\src
894 PROGNAME=xemacs 896 PROGNAME=$(SRCDIR)\xemacs.exe
895 blddir=$(MAKEDIR:\=\\)\\.. 897 blddir=$(MAKEDIR:\=\\)\\..
896 temacs_loadup=temacs -batch -l $(SRCDIR)/../lisp/loadup.el 898 temacs_loadup=$(TEMACS) -batch -l $(SRCDIR)/../lisp/loadup.el
897 dump_temacs = $(temacs_loadup) dump 899 dump_temacs = $(temacs_loadup) dump
898 run_temacs = $(temacs_loadup) run-temacs 900 run_temacs = $(temacs_loadup) run-temacs
899 ## We have automated tests!! 901 ## We have automated tests!!
900 testdir=../tests/automated 902 testdir=../tests/automated
901 batch_test_emacs=-batch -l $(testdir)/test-harness.el -f batch-test-emacs $(testdir) 903 batch_test_emacs=-batch -l $(testdir)/test-harness.el -f batch-test-emacs $(testdir)
902 904
903 # .PHONY: check check-temacs 905 # .PHONY: check check-temacs
904 906
905 check: 907 check:
906 @cd $(SRCDIR) 908 cd $(SRCDIR)
907 $(PROGNAME) $(batch_test_emacs) 909 $(PROGNAME) $(batch_test_emacs)
908 910
909 check-temacs: 911 check-temacs:
910 cd $(SRCDIR) 912 cd $(SRCDIR)
911 set EMACSBOOTSTRAPLOADPATH=$(LISP) 913 set EMACSBOOTSTRAPLOADPATH=$(LISP)
912 set EMACSBOOTSTRAPMODULEPATH=$(MODULES) 914 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
913 $(run_temacs) $(batch_test_emacs) 915 $(run_temacs) $(batch_test_emacs)
914 916
915 # Section handling automated tests ends here 917 # Section handling automated tests ends here
918
919 # Section handling info starts here
920 MAKEINFO=$(PROGNAME) -no-site-file -no-init-file -batch -l texinfmt -f batch-texinfo-format
921
922 MANDIR = $(XEMACS)\man
923 INFODIR = $(XEMACS)\info
924 INFO_FILES= \
925 $(INFODIR)\cl.info \
926 $(INFODIR)\custom.info \
927 $(INFODIR)\emodules.info \
928 $(INFODIR)\external-widget.info \
929 $(INFODIR)\info.info \
930 $(INFODIR)\standards.info \
931 $(INFODIR)\term.info \
932 $(INFODIR)\termcap.info \
933 $(INFODIR)\texinfo.info \
934 $(INFODIR)\widget.info \
935 $(INFODIR)\xemacs-faq.info \
936 $(INFODIR)\xemacs.info \
937 $(INFODIR)\lispref.info \
938 $(INFODIR)\new-users-guide.info \
939 $(INFODIR)\internals.info
940
941 {$(MANDIR)}.texi{$(INFODIR)}.info:
942 $(MAKEINFO) $**
943
944 $(INFODIR)\xemacs.info: $(MANDIR)\xemacs\xemacs.texi
945 $(MAKEINFO) $**
946
947 $(MANDIR)\xemacs\xemacs.texi: \
948 $(MANDIR)\xemacs\abbrevs.texi \
949 $(MANDIR)\xemacs\basic.texi \
950 $(MANDIR)\xemacs\buffers.texi \
951 $(MANDIR)\xemacs\building.texi \
952 $(MANDIR)\xemacs\calendar.texi \
953 $(MANDIR)\xemacs\cmdargs.texi \
954 $(MANDIR)\xemacs\custom.texi \
955 $(MANDIR)\xemacs\display.texi \
956 $(MANDIR)\xemacs\entering.texi \
957 $(MANDIR)\xemacs\files.texi \
958 $(MANDIR)\xemacs\fixit.texi \
959 $(MANDIR)\xemacs\glossary.texi \
960 $(MANDIR)\xemacs\gnu.texi \
961 $(MANDIR)\xemacs\help.texi \
962 $(MANDIR)\xemacs\indent.texi \
963 $(MANDIR)\xemacs\keystrokes.texi \
964 $(MANDIR)\xemacs\killing.texi \
965 $(MANDIR)\xemacs\\xemacs.texi \
966 $(MANDIR)\xemacs\m-x.texi \
967 $(MANDIR)\xemacs\major.texi \
968 $(MANDIR)\xemacs\mark.texi \
969 $(MANDIR)\xemacs\menus.texi \
970 $(MANDIR)\xemacs\mini.texi \
971 $(MANDIR)\xemacs\misc.texi \
972 $(MANDIR)\xemacs\mouse.texi \
973 $(MANDIR)\xemacs\new.texi \
974 $(MANDIR)\xemacs\picture.texi \
975 $(MANDIR)\xemacs\programs.texi \
976 $(MANDIR)\xemacs\reading.texi \
977 $(MANDIR)\xemacs\regs.texi \
978 $(MANDIR)\xemacs\frame.texi \
979 $(MANDIR)\xemacs\search.texi \
980 $(MANDIR)\xemacs\sending.texi \
981 $(MANDIR)\xemacs\text.texi \
982 $(MANDIR)\xemacs\trouble.texi \
983 $(MANDIR)\xemacs\undo.texi \
984 $(MANDIR)\xemacs\windows.texi \
985
986
987 $(INFODIR)\lispref.info: $(MANDIR)\lispref\lispref.texi
988 copy $(MANDIR)\lispref\index.perm $(MANDIR)\lispref\index.texi
989 $(MAKEINFO) $**
990
991 $(MANDIR)\lispref\lispref.texi: \
992 $(MANDIR)\lispref\abbrevs.texi \
993 $(MANDIR)\lispref\annotations.texi \
994 $(MANDIR)\lispref\back.texi \
995 $(MANDIR)\lispref\backups.texi \
996 $(MANDIR)\lispref\buffers.texi \
997 $(MANDIR)\lispref\building.texi \
998 $(MANDIR)\lispref\commands.texi \
999 $(MANDIR)\lispref\compile.texi \
1000 $(MANDIR)\lispref\consoles-devices.texi \
1001 $(MANDIR)\lispref\control.texi \
1002 $(MANDIR)\lispref\databases.texi \
1003 $(MANDIR)\lispref\debugging.texi \
1004 $(MANDIR)\lispref\dialog.texi \
1005 $(MANDIR)\lispref\display.texi \
1006 $(MANDIR)\lispref\edebug-inc.texi \
1007 $(MANDIR)\lispref\edebug.texi \
1008 $(MANDIR)\lispref\errors.texi \
1009 $(MANDIR)\lispref\eval.texi \
1010 $(MANDIR)\lispref\extents.texi \
1011 $(MANDIR)\lispref\faces.texi \
1012 $(MANDIR)\lispref\files.texi \
1013 $(MANDIR)\lispref\frames.texi \
1014 $(MANDIR)\lispref\functions.texi \
1015 $(MANDIR)\lispref\glyphs.texi \
1016 $(MANDIR)\lispref\hash-tables.texi \
1017 $(MANDIR)\lispref\help.texi \
1018 $(MANDIR)\lispref\hooks.texi \
1019 $(MANDIR)\lispref\index.texi \
1020 $(MANDIR)\lispref\internationalization.texi \
1021 $(MANDIR)\lispref\intro.texi \
1022 $(MANDIR)\lispref\keymaps.texi \
1023 $(MANDIR)\lispref\ldap.texi \
1024 $(MANDIR)\lispref\lists.texi \
1025 $(MANDIR)\lispref\loading.texi \
1026 $(MANDIR)\lispref\locals.texi \
1027 $(MANDIR)\lispref\macros.texi \
1028 $(MANDIR)\lispref\maps.texi \
1029 $(MANDIR)\lispref\markers.texi \
1030 $(MANDIR)\lispref\menus.texi \
1031 $(MANDIR)\lispref\minibuf.texi \
1032 $(MANDIR)\lispref\modes.texi \
1033 $(MANDIR)\lispref\mouse.texi \
1034 $(MANDIR)\lispref\mule.texi \
1035 $(MANDIR)\lispref\numbers.texi \
1036 $(MANDIR)\lispref\objects.texi \
1037 $(MANDIR)\lispref\os.texi \
1038 $(MANDIR)\lispref\positions.texi \
1039 $(MANDIR)\lispref\processes.texi \
1040 $(MANDIR)\lispref\range-tables.texi \
1041 $(MANDIR)\lispref\scrollbars.texi \
1042 $(MANDIR)\lispref\searching.texi \
1043 $(MANDIR)\lispref\sequences.texi \
1044 $(MANDIR)\lispref\specifiers.texi \
1045 $(MANDIR)\lispref\streams.texi \
1046 $(MANDIR)\lispref\strings.texi \
1047 $(MANDIR)\lispref\symbols.texi \
1048 $(MANDIR)\lispref\syntax.texi \
1049 $(MANDIR)\lispref\text.texi \
1050 $(MANDIR)\lispref\tips.texi \
1051 $(MANDIR)\lispref\toolbar.texi \
1052 $(MANDIR)\lispref\tooltalk.texi \
1053 $(MANDIR)\lispref\variables.texi \
1054 $(MANDIR)\lispref\windows.texi \
1055 $(MANDIR)\lispref\x-windows.texi \
1056 $(MANDIR)\lispref\index.unperm \
1057 $(MANDIR)\lispref\index.perm \
1058
1059
1060 $(INFODIR)\new-users-guide.info: $(MANDIR)\new-users-guide\new-users-guide.texi
1061 $(MAKEINFO) $**
1062
1063 $(MANDIR)\new-users-guide\new-users-guide.texi: \
1064 $(MANDIR)\new-users-guide\custom1.texi \
1065 $(MANDIR)\new-users-guide\files.texi \
1066 $(MANDIR)\new-users-guide\region.texi \
1067 $(MANDIR)\new-users-guide\custom2.texi \
1068 $(MANDIR)\new-users-guide\help.texi \
1069 $(MANDIR)\new-users-guide\search.texi \
1070 $(MANDIR)\new-users-guide\edit.texi \
1071 $(MANDIR)\new-users-guide\modes.texi \
1072 $(MANDIR)\new-users-guide\xmenu.texi \
1073 $(MANDIR)\new-users-guide\enter.texi \
1074
1075
1076 $(INFODIR)\internals.info: $(MANDIR)\internals\internals.texi
1077 copy $(MANDIR)\internals\index.perm $(MANDIR)\internals\index.texi
1078 $(MAKEINFO) $**
1079
1080 $(MANDIR)\internals\internals.texi: \
1081 $(MANDIR)\internals\index.unperm \
1082 $(MANDIR)\internals\index.perm \
1083
1084
1085 info: $(INFO_FILES)
1086
1087 # Section handling info ends here
916 1088
917 #------------------------------------------------------------------------------ 1089 #------------------------------------------------------------------------------
918 1090
919 # LISP bits 'n bobs 1091 # LISP bits 'n bobs
920 1092
950 1122
951 #------------------------------------------------------------------------------ 1123 #------------------------------------------------------------------------------
952 1124
953 # use this rule to build the complete system 1125 # use this rule to build the complete system
954 all: $(XEMACS)\Installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) $(LIB_SRC_TOOLS) $(RUNEMACS) \ 1126 all: $(XEMACS)\Installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) $(LIB_SRC_TOOLS) $(RUNEMACS) \
955 $(TEMACS) update-elc $(DOC) dump-xemacs 1127 $(TEMACS) update-elc $(DOC) dump-xemacs info
956 1128
957 temacs: $(TEMACS) 1129 temacs: $(TEMACS)
958 1130
959 # use this rule to install the system 1131 # use this rule to install the system
960 install: all 1132 install: all
1013 del *.pdb 1185 del *.pdb
1014 del *.res 1186 del *.res
1015 del $(CONFIG_VALUES) 1187 del $(CONFIG_VALUES)
1016 cd $(LISP) 1188 cd $(LISP)
1017 -del /s /q *.bak *.elc *.orig *.rej 1189 -del /s /q *.bak *.elc *.orig *.rej
1190 cd $(INFODIR)
1191 del *.info* $(MANDIR)\internals\index.texi $(MANDIR)\lispref\index.texi
1018 1192
1019 depend: 1193 depend:
1020 mkdepend -f xemacs.mak -p$(OUTDIR)\ -o.obj -w9999 -- $(TEMACS_CPP_FLAGS) -- $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(LASTFILE_SRC)\lastfile.c $(LIB_SRC)\make-docfile.c $(LIB_SRC)\run.c 1194 mkdepend -f xemacs.mak -p$(OUTDIR)\ -o.obj -w9999 -- $(TEMACS_CPP_FLAGS) -- $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(LASTFILE_SRC)\lastfile.c $(LIB_SRC)\make-docfile.c $(LIB_SRC)\run.c
1021 1195
1022 $(XEMACS)\Installation: 1196 $(XEMACS)\Installation: