aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorAndrew Innes2000-09-14 21:59:59 +0000
committerAndrew Innes2000-09-14 21:59:59 +0000
commit7bbaaeddf0b1e2a5edae055717b5a141d4e094fc (patch)
tree0f6d72038736fe96be57df1e56d79e6bbdb2ff81 /nt
parent3021e8160b268dd24d72872c526cec0f3d657306 (diff)
downloademacs-7bbaaeddf0b1e2a5edae055717b5a141d4e094fc.tar.gz
emacs-7bbaaeddf0b1e2a5edae055717b5a141d4e094fc.zip
Revert to Unix line endings.
Diffstat (limited to 'nt')
-rw-r--r--nt/makefile.w32-in412
1 files changed, 206 insertions, 206 deletions
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in
index ccf86719dcc..8afa10fa62b 100644
--- a/nt/makefile.w32-in
+++ b/nt/makefile.w32-in
@@ -1,206 +1,206 @@
1# 1#
2# Top level makefile for building GNU Emacs on Windows NT 2# Top level makefile for building GNU Emacs on Windows NT
3# 3#
4# This file is part of GNU Emacs. 4# This file is part of GNU Emacs.
5# 5#
6# GNU Emacs is free software; you can redistribute it and/or modify 6# GNU Emacs is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by 7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2, or (at your option) 8# the Free Software Foundation; either version 2, or (at your option)
9# any later version. 9# any later version.
10# 10#
11# GNU Emacs is distributed in the hope that it will be useful, 11# GNU Emacs is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details. 14# GNU General Public License for more details.
15# 15#
16# You should have received a copy of the GNU General Public License 16# You should have received a copy of the GNU General Public License
17# along with GNU Emacs; see the file COPYING. If not, write to 17# along with GNU Emacs; see the file COPYING. If not, write to
18# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19# Boston, MA 02111-1307, USA. 19# Boston, MA 02111-1307, USA.
20 20
21ALL = addpm ddeclient runemacs cmdproxy addsection preprep 21ALL = addpm ddeclient runemacs cmdproxy addsection preprep
22 22
23.PHONY: $(ALL) 23.PHONY: $(ALL)
24 24
25TRES = $(BLD)/emacs.res 25TRES = $(BLD)/emacs.res
26 26
27addpm: $(BLD) $(BLD)/addpm.exe 27addpm: $(BLD) $(BLD)/addpm.exe
28$(BLD)/addpm.exe: $(BLD)/addpm.$(O) 28$(BLD)/addpm.exe: $(BLD)/addpm.$(O)
29 $(LINK) $(LINK_OUT)$@ \ 29 $(LINK) $(LINK_OUT)$@ \
30 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32) 30 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
31 31
32ddeclient: $(BLD) $(BLD)/ddeclient.exe 32ddeclient: $(BLD) $(BLD)/ddeclient.exe
33$(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O) 33$(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O)
34 $(LINK) $(LINK_OUT)$@ \ 34 $(LINK) $(LINK_OUT)$@ \
35 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32) 35 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
36 36
37cmdproxy: $(BLD) $(BLD)/cmdproxy.exe 37cmdproxy: $(BLD) $(BLD)/cmdproxy.exe
38$(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O) 38$(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O)
39 $(LINK) $(LINK_OUT)$@ \ 39 $(LINK) $(LINK_OUT)$@ \
40 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32) 40 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
41 41
42addsection: $(BLD) $(BLD)/addsection.exe 42addsection: $(BLD) $(BLD)/addsection.exe
43$(BLD)/addsection.exe: $(BLD)/addsection.$(O) 43$(BLD)/addsection.exe: $(BLD)/addsection.$(O)
44 $(LINK) $(LINK_OUT)$@ \ 44 $(LINK) $(LINK_OUT)$@ \
45 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32) 45 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
46 46
47preprep: $(BLD) $(BLD)/preprep.exe 47preprep: $(BLD) $(BLD)/preprep.exe
48$(BLD)/preprep.exe: $(BLD)/preprep.$(O) 48$(BLD)/preprep.exe: $(BLD)/preprep.$(O)
49 $(LINK) $(LINK_OUT)$@ \ 49 $(LINK) $(LINK_OUT)$@ \
50 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) 50 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS)
51 51
52# 52#
53# The resource file. NT 3.10 requires the use of cvtres; even though 53# The resource file. NT 3.10 requires the use of cvtres; even though
54# it is not necessary on later versions, it is still ok to use it. 54# it is not necessary on later versions, it is still ok to use it.
55# 55#
56$(TRES): emacs.rc 56$(TRES): emacs.rc
57 $(RC) $(RC_OUT)$(BLD)/emacs.res $(ALL_DEPS) 57 $(RC) $(RC_OUT)$(BLD)/emacs.res $(ALL_DEPS)
58 58
59runemacs: $(BLD) $(BLD)/runemacs.exe 59runemacs: $(BLD) $(BLD)/runemacs.exe
60$(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES) 60$(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)
61 $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \ 61 $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \
62 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32) 62 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
63 63
64which-sh: 64which-sh:
65 @echo Using $(THE_SHELL) as shell. 65 @echo Using $(THE_SHELL) as shell.
66 66
67# 67#
68# Build emacs 68# Build emacs
69# 69#
70all: which-sh $(BLD) $(ALL) all-other-dirs-$(SHELLTYPE) 70all: which-sh $(BLD) $(ALL) all-other-dirs-$(SHELLTYPE)
71 71
72all-other-dirs-CMD: 72all-other-dirs-CMD:
73 cd ..\lib-src 73 cd ..\lib-src
74 $(MAKE) $(MFLAGS) all 74 $(MAKE) $(MFLAGS) all
75 cd ..\src 75 cd ..\src
76 $(MAKE) $(MFLAGS) all 76 $(MAKE) $(MFLAGS) all
77 cd ..\lisp 77 cd ..\lisp
78 $(MAKE) $(MFLAGS) all 78 $(MAKE) $(MFLAGS) all
79 cd ..\leim 79 cd ..\leim
80 $(MAKE) $(MFLAGS) all 80 $(MAKE) $(MFLAGS) all
81 cd ..\nt 81 cd ..\nt
82 82
83all-other-dirs-SH: 83all-other-dirs-SH:
84 $(MAKE) $(MFLAGS) -C ../lib-src all 84 $(MAKE) $(MFLAGS) -C ../lib-src all
85 $(MAKE) $(MFLAGS) -C ../src all 85 $(MAKE) $(MFLAGS) -C ../src all
86 $(MAKE) $(MFLAGS) -C ../lisp all 86 $(MAKE) $(MFLAGS) -C ../lisp all
87 $(MAKE) $(MFLAGS) -C ../leim all 87 $(MAKE) $(MFLAGS) -C ../leim all
88 88
89bootstrap: $(BLD) $(ALL) bootstrap-$(SHELLTYPE) 89bootstrap: $(BLD) $(ALL) bootstrap-$(SHELLTYPE)
90 90
91bootstrap-CMD: 91bootstrap-CMD:
92 cd ..\src 92 cd ..\src
93 $(MAKE) $(MFLAGS) bootstrap 93 $(MAKE) $(MFLAGS) bootstrap
94 $(MAKE) $(MFLAGS) bootstrap-clean 94 $(MAKE) $(MFLAGS) bootstrap-clean
95 cd ..\lisp 95 cd ..\lisp
96 $(MAKE) $(MFLAGS) bootstrap 96 $(MAKE) $(MFLAGS) bootstrap
97 cd ..\nt 97 cd ..\nt
98 98
99bootstrap-SH: 99bootstrap-SH:
100 $(MAKE) $(MFLAGS) -C ../src bootstrap 100 $(MAKE) $(MFLAGS) -C ../src bootstrap
101 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean 101 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean
102 $(MAKE) $(MFLAGS) -C ../lisp bootstrap 102 $(MAKE) $(MFLAGS) -C ../lisp bootstrap
103 103
104bootstrap-clean: bootstrap-clean-$(SHELLTYPE) 104bootstrap-clean: bootstrap-clean-$(SHELLTYPE)
105 105
106bootstrap-clean-CMD: 106bootstrap-clean-CMD:
107 cd ..\src 107 cd ..\src
108 $(MAKE) $(MFLAGS) bootstrap-clean 108 $(MAKE) $(MFLAGS) bootstrap-clean
109 cd ..\lisp 109 cd ..\lisp
110 $(MAKE) $(MFLAGS) bootstrap-clean 110 $(MAKE) $(MFLAGS) bootstrap-clean
111 111
112bootstrap-clean-SH: 112bootstrap-clean-SH:
113 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean 113 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean
114 $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean 114 $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean
115 115
116$(INSTALL_DIR): 116$(INSTALL_DIR):
117 - mkdir "$(INSTALL_DIR)" 117 - mkdir "$(INSTALL_DIR)"
118 118
119$(INSTALL_DIR)/bin: 119$(INSTALL_DIR)/bin:
120 - mkdir "$(INSTALL_DIR)/bin" 120 - mkdir "$(INSTALL_DIR)/bin"
121 121
122# 122#
123# Build and install emacs in INSTALL_DIR 123# Build and install emacs in INSTALL_DIR
124# 124#
125install: all $(INSTALL_DIR)/bin install-other-dirs-$(SHELLTYPE) 125install: all $(INSTALL_DIR)/bin install-other-dirs-$(SHELLTYPE)
126 - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin 126 - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin
127 - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin 127 - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
128 - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin 128 - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
129 - $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin 129 - $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin
130 - $(CP) ../lib-src/fns-*.el $(INSTALL_DIR)/bin 130 - $(CP) ../lib-src/fns-*.el $(INSTALL_DIR)/bin
131 - "$(INSTALL_DIR)/bin/addpm" /q 131 - "$(INSTALL_DIR)/bin/addpm" /q
132 - $(DEL) ../same-dir.tst 132 - $(DEL) ../same-dir.tst
133 - $(DEL) $(INSTALL_DIR)/same-dir.tst 133 - $(DEL) $(INSTALL_DIR)/same-dir.tst
134 - mkdir "$(INSTALL_DIR)/etc/icons" 134 - mkdir "$(INSTALL_DIR)/etc/icons"
135 - $(CP_DIR) icons $(INSTALL_DIR)/etc/icons 135 - $(CP_DIR) icons $(INSTALL_DIR)/etc/icons
136 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" 136 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
137 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) real_install $(ENDIF) 137 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) real_install $(ENDIF)
138 - $(DEL) ../same-dir.tst 138 - $(DEL) ../same-dir.tst
139 - $(DEL) $(INSTALL_DIR)/same-dir.tst 139 - $(DEL) $(INSTALL_DIR)/same-dir.tst
140 140
141install-other-dirs-CMD: 141install-other-dirs-CMD:
142 cd ..\lib-src 142 cd ..\lib-src
143 $(MAKE) $(MFLAGS) install 143 $(MAKE) $(MFLAGS) install
144 cd ..\src 144 cd ..\src
145 $(MAKE) $(MFLAGS) install 145 $(MAKE) $(MFLAGS) install
146 cd ..\lisp 146 cd ..\lisp
147 $(MAKE) $(MFLAGS) install 147 $(MAKE) $(MFLAGS) install
148 cd ..\leim 148 cd ..\leim
149 $(MAKE) $(MFLAGS) install 149 $(MAKE) $(MFLAGS) install
150 cd ..\nt 150 cd ..\nt
151 151
152install-other-dirs-SH: 152install-other-dirs-SH:
153 $(MAKE) $(MFLAGS) -C ../lib-src install 153 $(MAKE) $(MFLAGS) -C ../lib-src install
154 $(MAKE) $(MFLAGS) -C ../src install 154 $(MAKE) $(MFLAGS) -C ../src install
155 $(MAKE) $(MFLAGS) -C ../lisp install 155 $(MAKE) $(MFLAGS) -C ../lisp install
156 $(MAKE) $(MFLAGS) -C ../leim install 156 $(MAKE) $(MFLAGS) -C ../leim install
157 157
158real_install: 158real_install:
159 - $(DEL) ../same-dir.tst 159 - $(DEL) ../same-dir.tst
160 - $(DEL) $(INSTALL_DIR)/same-dir.tst 160 - $(DEL) $(INSTALL_DIR)/same-dir.tst
161 echo SameDirTest > $(INSTALL_DIR)/same-dir.tst 161 echo SameDirTest > $(INSTALL_DIR)/same-dir.tst
162 - mkdir "$(INSTALL_DIR)/etc" 162 - mkdir "$(INSTALL_DIR)/etc"
163 - mkdir "$(INSTALL_DIR)/info" 163 - mkdir "$(INSTALL_DIR)/info"
164 - mkdir "$(INSTALL_DIR)/lock" 164 - mkdir "$(INSTALL_DIR)/lock"
165 - mkdir "$(INSTALL_DIR)/data" 165 - mkdir "$(INSTALL_DIR)/data"
166 - mkdir "$(INSTALL_DIR)/site-lisp" 166 - mkdir "$(INSTALL_DIR)/site-lisp"
167 - mkdir "$(INSTALL_DIR)/etc/icons" 167 - mkdir "$(INSTALL_DIR)/etc/icons"
168 - $(CP_DIR) icons $(INSTALL_DIR)/etc/icons 168 - $(CP_DIR) icons $(INSTALL_DIR)/etc/icons
169 $(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR)/etc $(ENDIF) 169 $(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR)/etc $(ENDIF)
170 $(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR)/info $(ENDIF) 170 $(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR)/info $(ENDIF)
171 - $(DEL) ../same-dir.tst 171 - $(DEL) ../same-dir.tst
172 - $(DEL) $(INSTALL_DIR)/same-dir.tst 172 - $(DEL) $(INSTALL_DIR)/same-dir.tst
173 173
174# 174#
175# Maintenance 175# Maintenance
176# 176#
177clean: clean-other-dirs-$(SHELLTYPE) 177clean: clean-other-dirs-$(SHELLTYPE)
178 - $(DEL) *~ *.pdb 178 - $(DEL) *~ *.pdb
179 - $(DEL_TREE) $(OBJDIR) 179 - $(DEL_TREE) $(OBJDIR)
180 - $(DEL) ../etc/DOC ../etc/DOC-X 180 - $(DEL) ../etc/DOC ../etc/DOC-X
181 181
182clean-other-dirs-CMD: 182clean-other-dirs-CMD:
183 cd ..\lib-src 183 cd ..\lib-src
184 $(MAKE) $(MFLAGS) clean 184 $(MAKE) $(MFLAGS) clean
185 cd ..\src 185 cd ..\src
186 $(MAKE) $(MFLAGS) clean 186 $(MAKE) $(MFLAGS) clean
187 cd ..\lisp 187 cd ..\lisp
188 $(MAKE) $(MFLAGS) clean 188 $(MAKE) $(MFLAGS) clean
189 cd ..\leim 189 cd ..\leim
190 $(MAKE) $(MFLAGS) clean 190 $(MAKE) $(MFLAGS) clean
191 cd ..\nt 191 cd ..\nt
192 192
193clean-other-dirs-SH: 193clean-other-dirs-SH:
194 $(MAKE) $(MFLAGS) -C ../lib-src clean 194 $(MAKE) $(MFLAGS) -C ../lib-src clean
195 $(MAKE) $(MFLAGS) -C ../src clean 195 $(MAKE) $(MFLAGS) -C ../src clean
196 $(MAKE) $(MFLAGS) -C ../lisp clean 196 $(MAKE) $(MFLAGS) -C ../lisp clean
197 $(MAKE) $(MFLAGS) -C ../leim clean 197 $(MAKE) $(MFLAGS) -C ../leim clean
198 198
199cleanall: clean 199cleanall: clean
200 - $(DEL_TREE) obj 200 - $(DEL_TREE) obj
201 - $(DEL_TREE) obj-spd 201 - $(DEL_TREE) obj-spd
202 - $(DEL_TREE) oo 202 - $(DEL_TREE) oo
203 - $(DEL_TREE) oo-spd 203 - $(DEL_TREE) oo-spd
204 204
205realclean: cleanall 205realclean: cleanall
206 - $(DEL_TREE) ../bin 206 - $(DEL_TREE) ../bin