comparison nt/xemacs.mak @ 304:c6de09ad3017 r21-0b50

Import from CVS: tag r21-0b50
author cvs
date Mon, 13 Aug 2007 10:41:12 +0200
parents 70ad99077275
children 33bdb3d4b97f
comparison
equal deleted inserted replaced
303:d02ffe1d75ed 304:c6de09ad3017
24 # Synched up with: Not in FSF. 24 # Synched up with: Not in FSF.
25 # 25 #
26 26
27 XEMACS=.. 27 XEMACS=..
28 LISP=$(XEMACS)\lisp 28 LISP=$(XEMACS)\lisp
29 NT=$(XEMACS)\nt
29 30
30 # Program name and version 31 # Program name and version
31 32
32 !include "..\version.sh" 33 !include "..\version.sh"
33 34
355 356
356 # Inferred rule 357 # Inferred rule
357 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe : 358 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
358 @cd $(LIB_SRC) 359 @cd $(LIB_SRC)
359 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) -O2 -W3 -Fe$@ $** 360 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) -O2 -W3 -Fe$@ $**
360 @cd $(XEMACS)\nt 361 @cd $(NT)
361 362
362 # Individual dependencies 363 # Individual dependencies
363 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(LIB_SRC)/../src/regex.c 364 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(LIB_SRC)/../src/regex.c
364 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS) 365 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
365 #### ootags??? 366 #### ootags???
375 376
376 #------------------------------------------------------------------------------ 377 #------------------------------------------------------------------------------
377 378
378 # runemacs proglet 379 # runemacs proglet
379 380
380 NT = $(XEMACS)\nt
381 RUNEMACS = $(XEMACS)\src\runemacs.exe 381 RUNEMACS = $(XEMACS)\src\runemacs.exe
382 382
383 $(RUNEMACS): $(NT)\runemacs.c $(NT)\xemacs.res 383 $(RUNEMACS): $(NT)\runemacs.c $(NT)\xemacs.res
384 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc -O2 -W3 -Fe$@ $** kernel32.lib user32.lib 384 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc -O2 -W3 -Fe$@ $** kernel32.lib user32.lib
385 385
781 $(OUTDIR)\undo.obj \ 781 $(OUTDIR)\undo.obj \
782 $(OUTDIR)\unexnt.obj \ 782 $(OUTDIR)\unexnt.obj \
783 $(OUTDIR)\vm-limit.obj \ 783 $(OUTDIR)\vm-limit.obj \
784 $(OUTDIR)\widget.obj \ 784 $(OUTDIR)\widget.obj \
785 $(OUTDIR)\window.obj \ 785 $(OUTDIR)\window.obj \
786 xemacs.res 786 $(NT)\xemacs.res
787 787
788 # Rules 788 # Rules
789 789
790 .SUFFIXES: 790 .SUFFIXES:
791 .SUFFIXES: .c 791 .SUFFIXES: .c
811 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS) 811 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS)
812 link.exe @<< 812 link.exe @<<
813 $(TEMACS_LFLAGS) $(TEMACS_OBJS) $(TEMACS_LIBS) 813 $(TEMACS_LFLAGS) $(TEMACS_OBJS) $(TEMACS_LIBS)
814 << 814 <<
815 815
816 xemacs.res: xemacs.rc 816 $(NT)\xemacs.res: xemacs.rc
817 rc xemacs.rc 817 rc xemacs.rc
818 818
819 # MSDEV Source Broswer file. "*.sbr" is too inclusive but this is harmless 819 # MSDEV Source Broswer file. "*.sbr" is too inclusive but this is harmless
820 $(TEMACS_BROWSE): $(TEMACS_OBJS) 820 $(TEMACS_BROWSE): $(TEMACS_OBJS)
821 @dir /b/s $(OUTDIR)\*.sbr > bscmake.tmp 821 @dir /b/s $(OUTDIR)\*.sbr > bscmake.tmp
853 dump-xemacs: $(TEMACS) 853 dump-xemacs: $(TEMACS)
854 @echo >$(TEMACS_DIR)\SATISFIED 854 @echo >$(TEMACS_DIR)\SATISFIED
855 cd $(TEMACS_DIR) 855 cd $(TEMACS_DIR)
856 set EMACSBOOTSTRAPLOADPATH=$(LISP) 856 set EMACSBOOTSTRAPLOADPATH=$(LISP)
857 -1 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\loadup.el dump 857 -1 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\loadup.el dump
858 cd $(XEMACS)\nt 858 @cd $(NT)
859 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@ 859 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
860 860
861 #------------------------------------------------------------------------------ 861 #------------------------------------------------------------------------------
862 862
863 # use this rule to build the complete system 863 # use this rule to build the complete system