diff options
| author | Geoff Voelker | 1995-05-26 05:19:55 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1995-05-26 05:19:55 +0000 |
| commit | 85212e674014e01923e68e40c65e28c7a19e31d9 (patch) | |
| tree | e781eac4754f31488049072efa1e5abcf83d7208 /lib-src/makefile.nt | |
| parent | 9097b6b2fd4dd373602cd2b00bba2dcf3a0b71b9 (diff) | |
| download | emacs-85212e674014e01923e68e40c65e28c7a19e31d9.tar.gz emacs-85212e674014e01923e68e40c65e28c7a19e31d9.zip | |
Use BASE_LIBS.
(make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend upon LIBS.
(DOC): Use del instead of rm.
(DOC) [WINDOWS95]: Use DOC.
(clean): Handle MSVC aux files.
(config.h,paths.h): Use $(CP) instead of cp.
(config.h): Use $(CONFIG_H)
(make-docfile.obj): Depend upon config.h.
Clean up comments.
Diffstat (limited to 'lib-src/makefile.nt')
| -rw-r--r-- | lib-src/makefile.nt | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt index b8e9a9c6d4f..dbae992ba78 100644 --- a/lib-src/makefile.nt +++ b/lib-src/makefile.nt | |||
| @@ -52,16 +52,13 @@ ALL = $(BLD)\make-docfile.exe \ | |||
| 52 | # $(BLD)\test-distrib.exe \ | 52 | # $(BLD)\test-distrib.exe \ |
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | LIBS = $(SYS_LIB_DIR)\setargv.obj \ | 55 | LIBS = $(BASE_LIBS) |
| 56 | $(SYS_LIB_DIR)\kernel32.lib \ | ||
| 57 | $(SYS_LIB_DIR)\libc.lib \ | ||
| 58 | $(COMPAT_LIB) | ||
| 59 | 56 | ||
| 60 | $(BLD)\make-docfile.exe: $(LIBS) $(BLD)\make-docfile.obj | 57 | $(BLD)\make-docfile.exe: $(BLD)\make-docfile.obj |
| 61 | $(BLD)\hexl.exe: $(LIBS) $(BLD)\hexl.obj | 58 | $(BLD)\hexl.exe: $(BLD)\hexl.obj |
| 62 | $(BLD)\ctags.exe: $(BLD)\etags.exe | 59 | $(BLD)\ctags.exe: $(BLD)\etags.exe |
| 63 | copy $(BLD)\etags.exe $(BLD)\ctags.exe | 60 | copy $(BLD)\etags.exe $(BLD)\ctags.exe |
| 64 | $(BLD)\wakeup.exe: $(LIBS) $(BLD)\wakeup.obj $(BLD)\ntlib.obj | 61 | $(BLD)\wakeup.exe: $(BLD)\wakeup.obj $(BLD)\ntlib.obj |
| 65 | $(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\wakeup.obj $(BLD)\ntlib.obj $(LIBS) | 62 | $(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\wakeup.obj $(BLD)\ntlib.obj $(LIBS) |
| 66 | 63 | ||
| 67 | make-docfile: $(BLD)\make-docfile.exe | 64 | make-docfile: $(BLD)\make-docfile.exe |
| @@ -74,7 +71,7 @@ ETAGSOBJ = $(BLD)\etags.obj \ | |||
| 74 | $(BLD)\getopt1.obj \ | 71 | $(BLD)\getopt1.obj \ |
| 75 | $(BLD)\ntlib.obj | 72 | $(BLD)\ntlib.obj |
| 76 | 73 | ||
| 77 | $(BLD)\etags.exe: $(LIBS) $(ETAGSOBJ) | 74 | $(BLD)\etags.exe: $(ETAGSOBJ) |
| 78 | $(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS) | 75 | $(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS) |
| 79 | 76 | ||
| 80 | # | 77 | # |
| @@ -96,7 +93,7 @@ $(BLD)\etags.exe: $(LIBS) $(ETAGSOBJ) | |||
| 96 | # $(BLD)\test-distrib.exe: $(LIBS) $(BLD)\test-distrib.obj | 93 | # $(BLD)\test-distrib.exe: $(LIBS) $(BLD)\test-distrib.obj |
| 97 | 94 | ||
| 98 | # | 95 | # |
| 99 | # From ..\makefile.nt, with .obj changed to .o | 96 | # From ..\src\makefile.nt. |
| 100 | # | 97 | # |
| 101 | obj = abbrev.c alloc.c alloca.c buffer.c bytecode.c callint.c callproc.c casefiddle.c cm.c cmds.c data.c dired.c dispnew.c doc.c doprnt.c editfns.c eval.c fileio.c filelock.c filemode.c fns.c indent.c insdel.c keyboard.c keymap.c lastfile.c lread.c macros.c marker.c minibuf.c xfaces.c mocklisp.c nt.c ntheap.c ntinevt.c ntproc.c ntterm.c print.c process.c regex.c scroll.c search.c syntax.c sysdep.c term.c termcap.c tparam.c undo.c unexnt.c window.c xdisp.c casetab.c floatfns.c frame.c gmalloc.c intervals.c ralloc.c textprop.c vm-limit.c region-cache.c strftime.c | 98 | obj = abbrev.c alloc.c alloca.c buffer.c bytecode.c callint.c callproc.c casefiddle.c cm.c cmds.c data.c dired.c dispnew.c doc.c doprnt.c editfns.c eval.c fileio.c filelock.c filemode.c fns.c indent.c insdel.c keyboard.c keymap.c lastfile.c lread.c macros.c marker.c minibuf.c xfaces.c mocklisp.c nt.c ntheap.c ntinevt.c ntproc.c ntterm.c print.c process.c regex.c scroll.c search.c syntax.c sysdep.c term.c termcap.c tparam.c undo.c unexnt.c window.c xdisp.c casetab.c floatfns.c frame.c gmalloc.c intervals.c ralloc.c textprop.c vm-limit.c region-cache.c strftime.c |
| 102 | 99 | ||
| @@ -143,10 +140,14 @@ lisp= \ | |||
| 143 | 140 | ||
| 144 | DOC = DOC | 141 | DOC = DOC |
| 145 | $(DOC): $(BLD)\make-docfile.exe | 142 | $(DOC): $(BLD)\make-docfile.exe |
| 146 | - rm -f $(DOC) | 143 | - del /q $(DOC) |
| 147 | $(BLD)\make-docfile -d ..\src $(obj) > $(DOC) | 144 | $(BLD)\make-docfile -d ..\src $(obj) > $(DOC) |
| 148 | $(BLD)\make-docfile -d ..\src $(lisp) >> $(DOC) | 145 | $(BLD)\make-docfile -d ..\src $(lisp) >> $(DOC) |
| 146 | !if "$(OS_TYPE)" == "win95" | ||
| 147 | $(CP) $(DOC) ..\etc\DOC | ||
| 148 | !else | ||
| 149 | $(CP) $(DOC) ..\etc\DOC-X | 149 | $(CP) $(DOC) ..\etc\DOC-X |
| 150 | !endif | ||
| 150 | - mkdir ..\src\$(OBJDIR) | 151 | - mkdir ..\src\$(OBJDIR) |
| 151 | - mkdir ..\src\$(OBJDIR)\etc | 152 | - mkdir ..\src\$(OBJDIR)\etc |
| 152 | $(CP) $(DOC) ..\src\$(OBJDIR)\etc\DOC-X | 153 | $(CP) $(DOC) ..\src\$(OBJDIR)\etc\DOC-X |
| @@ -178,18 +179,18 @@ install: $(INSTALL_FILES) | |||
| 178 | # | 179 | # |
| 179 | # Maintenance | 180 | # Maintenance |
| 180 | # | 181 | # |
| 181 | clean:; - del /q *~ | 182 | clean:; - del /q *~ *.pdb |
| 182 | - $(DEL_TREE) deleted | 183 | - $(DEL_TREE) deleted |
| 183 | - $(DEL_TREE) obj | 184 | - $(DEL_TREE) obj |
| 184 | - del /q DOC | 185 | - del /q DOC* |
| 185 | 186 | ||
| 186 | # | 187 | # |
| 187 | # Headers we would preprocess if we could. | 188 | # Headers we would preprocess if we could. |
| 188 | # | 189 | # |
| 189 | ..\src\config.h: ..\nt\config.h | 190 | ..\src\config.h: ..\nt\$(CONFIG_H) |
| 190 | cp ..\nt\config.h ..\src\config.h | 191 | $(CP) $** $@ |
| 191 | ..\src\paths.h: ..\nt\paths.h | 192 | ..\src\paths.h: ..\nt\paths.h |
| 192 | cp ..\nt\paths.h ..\src\paths.h | 193 | $(CP) $** $@ |
| 193 | 194 | ||
| 194 | ### DEPENDENCIES ### | 195 | ### DEPENDENCIES ### |
| 195 | 196 | ||
| @@ -275,7 +276,8 @@ $(BLD)\leditcfns.obj : \ | |||
| 275 | $(SRC)\leditcfns.c | 276 | $(SRC)\leditcfns.c |
| 276 | 277 | ||
| 277 | $(BLD)\make-docfile.obj : \ | 278 | $(BLD)\make-docfile.obj : \ |
| 278 | $(SRC)\make-docfile.c | 279 | $(SRC)\make-docfile.c \ |
| 280 | $(EMACS_ROOT)\src\config.h | ||
| 279 | 281 | ||
| 280 | $(BLD)\make-path.obj : \ | 282 | $(BLD)\make-path.obj : \ |
| 281 | $(SRC)\make-path.c | 283 | $(SRC)\make-path.c |