diff options
| author | Geoff Voelker | 1996-01-04 03:05:24 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1996-01-04 03:05:24 +0000 |
| commit | 48717ed41d3da59cf80600ba942191ee75d9992d (patch) | |
| tree | f60b14ea5c6a4ccb00413d8611e12a4b4c2cc294 | |
| parent | 02b5d79c8054be4206cbacf257172ff35dc7a1d9 (diff) | |
| download | emacs-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.nt | 44 |
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 | |||
| 28 | OBJDIR = obj | 28 | OBJDIR = obj |
| 29 | BLD = $(OBJDIR)\$(ARCH) | 29 | BLD = $(OBJDIR)\$(ARCH) |
| 30 | 30 | ||
| 31 | LINK_FLAGS = $(ARCH_LDFLAGS) -debug:PARTIAL -machine:$(ARCH) -subsystem:console -entry:mainCRTStartup | 31 | LINK_FLAGS = $(ARCH_LDFLAGS) -debug:PARTIAL -machine:$(ARCH) -subsystem:console -entry:mainCRTStartup setargv.obj |
| 32 | 32 | ||
| 33 | ALL = $(BLD)\make-docfile.exe \ | 33 | ALL = $(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 | ||
| 64 | make-docfile: $(BLD)\make-docfile.exe | 63 | make-docfile: $(BLD) $(BLD)\make-docfile.exe |
| 65 | wakeup: $(BLD)\wakeup.exe | 64 | wakeup: $(BLD) $(BLD)\wakeup.exe |
| 66 | etags: $(BLD)\etags.exe | 65 | etags: $(BLD) $(BLD)\etags.exe |
| 67 | hexl: $(BLD)\hexl.exe | 66 | hexl: $(BLD) $(BLD)\hexl.exe |
| 68 | 67 | ||
| 69 | ETAGSOBJ = $(BLD)\etags.obj \ | 68 | ETAGSOBJ = $(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 | |||
| 86 | CTAGSOBJ = $(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 | |||
| 94 | ctags.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 | # |