diff options
| author | Geoff Voelker | 1995-11-07 07:56:36 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1995-11-07 07:56:36 +0000 |
| commit | bcfb775c263aa63498cd41edadd34408b64a0677 (patch) | |
| tree | 7349213c87235d670a40676f4759b4ef7007881e | |
| parent | ee78dc3223f2552bcb0604d344e88221ff24daac (diff) | |
| download | emacs-bcfb775c263aa63498cd41edadd34408b64a0677.tar.gz emacs-bcfb775c263aa63498cd41edadd34408b64a0677.zip | |
(addpm.exe): Link with $(ADVAPI32).
(install, fast_install): Change same-dir test to create test file in
installation tree and thereby support read-only shares.
(clean): Remove .pdb files.
| -rw-r--r-- | nt/makefile.nt | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/nt/makefile.nt b/nt/makefile.nt index 47d31f00e63..ee5a6e00cad 100644 --- a/nt/makefile.nt +++ b/nt/makefile.nt | |||
| @@ -30,7 +30,7 @@ addpm: $(BLD) $(BLD)\addpm.exe | |||
| 30 | $(BLD)\addpm.obj: addpm.c | 30 | $(BLD)\addpm.obj: addpm.c |
| 31 | $(BLD)\addpm.exe: $(BLD)\addpm.obj | 31 | $(BLD)\addpm.exe: $(BLD)\addpm.obj |
| 32 | $(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \ | 32 | $(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \ |
| 33 | $(SYS_LDFLAGS) $** $(BASE_LIBS) user32.lib | 33 | $(SYS_LDFLAGS) $** $(BASE_LIBS) $(ADVAPI32) user32.lib |
| 34 | 34 | ||
| 35 | # Since Windows 95 does not support multiple commands on one command line | 35 | # Since Windows 95 does not support multiple commands on one command line |
| 36 | # (e.g., in for loops), we cannot use for loops any more. | 36 | # (e.g., in for loops), we cannot use for loops any more. |
| @@ -70,11 +70,11 @@ install: all emacs.bat | |||
| 70 | $(INSTALL_CMD) | 70 | $(INSTALL_CMD) |
| 71 | cd ..\nt | 71 | cd ..\nt |
| 72 | - $(CP) emacs.bat $(INSTALL_DIR)\bin | 72 | - $(CP) emacs.bat $(INSTALL_DIR)\bin |
| 73 | - $(ADDPM) $(INSTALL_DIR)\bin\emacs.bat $(EMACS_ICON_PATH) | 73 | - $(ADDPM) $(INSTALL_DIR) |
| 74 | - del /q ..\same-dir.tst | 74 | - del /q ..\same-dir.tst |
| 75 | - del /q $(INSTALL_DIR)\same-dir.tst | 75 | - del /q $(INSTALL_DIR)\same-dir.tst |
| 76 | echo SameDirTest > ..\same-dir.tst | 76 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst |
| 77 | if not exist $(INSTALL_DIR)\same-dir.tst $(MAKE) -f makefile.nt real_install | 77 | if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install |
| 78 | - del /q ..\same-dir.tst | 78 | - del /q ..\same-dir.tst |
| 79 | - del /q $(INSTALL_DIR)\same-dir.tst | 79 | - del /q $(INSTALL_DIR)\same-dir.tst |
| 80 | 80 | ||
| @@ -89,24 +89,24 @@ fast_install: | |||
| 89 | - $(CP) emacs.bat $(INSTALL_DIR)\bin | 89 | - $(CP) emacs.bat $(INSTALL_DIR)\bin |
| 90 | - del /q ..\same-dir.tst | 90 | - del /q ..\same-dir.tst |
| 91 | - del /q $(INSTALL_DIR)\same-dir.tst | 91 | - del /q $(INSTALL_DIR)\same-dir.tst |
| 92 | echo SameDirTest > ..\same-dir.tst | 92 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst |
| 93 | if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin | 93 | if not exist ..\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin |
| 94 | if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin | 94 | if not exist ..\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin |
| 95 | if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin | 95 | if not exist ..\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin |
| 96 | if not exist $(INSTALL_DIR)\same-dir.tst nmake -f $(MAKE) real_install | 96 | if not exist ..\same-dir.tst nmake -f $(MAKE) real_install |
| 97 | - del /q ..\same-dir.tst | 97 | - del /q ..\same-dir.tst |
| 98 | - del /q $(INSTALL_DIR)\same-dir.tst | 98 | - del /q $(INSTALL_DIR)\same-dir.tst |
| 99 | 99 | ||
| 100 | real_install: | 100 | real_install: |
| 101 | - del /q ..\same-dir.tst | 101 | - del /q ..\same-dir.tst |
| 102 | - del /q $(INSTALL_DIR)\same-dir.tst | 102 | - del /q $(INSTALL_DIR)\same-dir.tst |
| 103 | echo SameDirTest > ..\same-dir.tst | 103 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst |
| 104 | - mkdir $(INSTALL_DIR)\etc | 104 | - mkdir $(INSTALL_DIR)\etc |
| 105 | - mkdir $(INSTALL_DIR)\info | 105 | - mkdir $(INSTALL_DIR)\info |
| 106 | - mkdir $(INSTALL_DIR)\lock | 106 | - mkdir $(INSTALL_DIR)\lock |
| 107 | - mkdir $(INSTALL_DIR)\data | 107 | - mkdir $(INSTALL_DIR)\data |
| 108 | if not exist $(INSTALL_DIR)\nt\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc | 108 | if not exist ..\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc |
| 109 | if not exist $(INSTALL_DIR)\nt\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info | 109 | if not exist ..\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info |
| 110 | - del /q ..\same-dir.tst | 110 | - del /q ..\same-dir.tst |
| 111 | - del /q $(INSTALL_DIR)\same-dir.tst | 111 | - del /q $(INSTALL_DIR)\same-dir.tst |
| 112 | 112 | ||
| @@ -114,10 +114,13 @@ real_install: | |||
| 114 | # Maintenance | 114 | # Maintenance |
| 115 | # | 115 | # |
| 116 | CLEAN_CMD = $(MAKE) -f makefile.nt clean | 116 | CLEAN_CMD = $(MAKE) -f makefile.nt clean |
| 117 | clean:; - del /q /s *~ | 117 | clean:; - del /q /s *~ *.pdb |
| 118 | - $(DEL_TREE) deleted | 118 | - $(DEL_TREE) deleted |
| 119 | - $(DEL_TREE) obj | 119 | - $(DEL_TREE) obj |
| 120 | - $(DEL_TREE) ..\bin | 120 | - $(DEL_TREE) ..\bin |
| 121 | - del ..\etc\DOC | ||
| 122 | - del ..\etc\DOC-X | ||
| 123 | - del emacs.bat | ||
| 121 | cd ..\lib-src | 124 | cd ..\lib-src |
| 122 | $(CLEAN_CMD) | 125 | $(CLEAN_CMD) |
| 123 | cd ..\src | 126 | cd ..\src |