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