aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Voelker1996-01-04 03:05:24 +0000
committerGeoff Voelker1996-01-04 03:05:24 +0000
commit48717ed41d3da59cf80600ba942191ee75d9992d (patch)
treef60b14ea5c6a4ccb00413d8611e12a4b4c2cc294
parent02b5d79c8054be4206cbacf257172ff35dc7a1d9 (diff)
downloademacs-48717ed41d3da59cf80600ba942191ee75d9992d.tar.gz
emacs-48717ed41d3da59cf80600ba942191ee75d9992d.zip
(etags, ctags): Compile with regexp support.
(make-docfile, wakeup, etags, ctags, hexl): Ensure build subdirectory exists before compiling.
-rw-r--r--lib-src/makefile.nt44
1 files changed, 34 insertions, 10 deletions
diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt
index 2f6cb4817f6..5e926d6401d 100644
--- a/lib-src/makefile.nt
+++ b/lib-src/makefile.nt
@@ -28,7 +28,7 @@ LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 -DNO_ARCHIVES=1
28OBJDIR = obj 28OBJDIR = obj
29BLD = $(OBJDIR)\$(ARCH) 29BLD = $(OBJDIR)\$(ARCH)
30 30
31LINK_FLAGS = $(ARCH_LDFLAGS) -debug:PARTIAL -machine:$(ARCH) -subsystem:console -entry:mainCRTStartup 31LINK_FLAGS = $(ARCH_LDFLAGS) -debug:PARTIAL -machine:$(ARCH) -subsystem:console -entry:mainCRTStartup setargv.obj
32 32
33ALL = $(BLD)\make-docfile.exe \ 33ALL = $(BLD)\make-docfile.exe \
34 $(BLD)\hexl.exe \ 34 $(BLD)\hexl.exe \
@@ -56,24 +56,48 @@ LIBS = $(BASE_LIBS)
56 56
57$(BLD)\make-docfile.exe: $(BLD)\make-docfile.obj 57$(BLD)\make-docfile.exe: $(BLD)\make-docfile.obj
58$(BLD)\hexl.exe: $(BLD)\hexl.obj 58$(BLD)\hexl.exe: $(BLD)\hexl.obj
59$(BLD)\ctags.exe: $(BLD)\etags.exe
60 copy $(BLD)\etags.exe $(BLD)\ctags.exe
61$(BLD)\wakeup.exe: $(BLD)\wakeup.obj $(BLD)\ntlib.obj 59$(BLD)\wakeup.exe: $(BLD)\wakeup.obj $(BLD)\ntlib.obj
62 $(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\wakeup.obj $(BLD)\ntlib.obj $(LIBS) 60 $(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\wakeup.obj \
61 $(BLD)\ntlib.obj $(LIBS)
63 62
64make-docfile: $(BLD)\make-docfile.exe 63make-docfile: $(BLD) $(BLD)\make-docfile.exe
65wakeup: $(BLD)\wakeup.exe 64wakeup: $(BLD) $(BLD)\wakeup.exe
66etags: $(BLD)\etags.exe 65etags: $(BLD) $(BLD)\etags.exe
67hexl: $(BLD)\hexl.exe 66hexl: $(BLD) $(BLD)\hexl.exe
68 67
69ETAGSOBJ = $(BLD)\etags.obj \ 68ETAGSOBJ = $(BLD)\etags.obj \
70 $(BLD)\getopt.obj \ 69 $(BLD)\getopt.obj \
71 $(BLD)\getopt1.obj \ 70 $(BLD)\getopt1.obj \
72 $(BLD)\ntlib.obj 71 $(BLD)\ntlib.obj \
72 $(BLD)\regex.obj \
73 $(BLD)\alloca.obj
73 74
74$(BLD)\etags.exe: $(ETAGSOBJ) 75$(BLD)\etags.exe: $(ETAGSOBJ)
75 $(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS) 76 $(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
76 77
78
79$(BLD)\regex.obj: ../src/regex.c ../src/regex.h ../src/config.h
80 $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
81 ../src/regex.c -Fo$@
82
83$(BLD)\etags.obj: etags.c
84 $(CC) $(CFLAGS) -DETAGS_REGEXPS -Fo$@ etags.c
85
86CTAGSOBJ = $(BLD)\ctags.obj \
87 $(BLD)\getopt.obj \
88 $(BLD)\getopt1.obj \
89 $(BLD)\ntlib.obj
90
91$(BLD)\ctags.exe: ctags.c $(CTAGSOBJ)
92 $(LINK) -out:$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
93
94ctags.c: etags.c
95 - del ctags.c
96 copy etags.c ctags.c
97
98$(BLD)\ctags.obj: ctags.c
99 $(CC) $(CFLAGS) -DCTAGS -Fo$@ ctags.c
100
77# 101#
78# don't know what to do with these yet... 102# don't know what to do with these yet...
79# 103#