Commit | Line | Data |
---|---|---|
eb4252f7 RS |
1 | # Makefile for lib-src subdirectory in GNU Emacs. |
2 | # Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. | |
29ed0542 | 3 | |
eb4252f7 | 4 | # This file is part of GNU Emacs. |
29ed0542 | 5 | |
eb4252f7 RS |
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 | |
8 | # the Free Software Foundation; either version 2, or (at your option) | |
9 | # any later version. | |
29ed0542 | 10 | |
eb4252f7 RS |
11 | # GNU Emacs is distributed in the hope that it will be useful, |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU General Public License for more details. | |
29ed0542 | 15 | |
eb4252f7 RS |
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 | |
18 | # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
29ed0542 | 19 | |
eb4252f7 RS |
20 | # Avoid trouble on systems where the `SHELL' variable might be |
21 | # inherited from the environment. | |
f7dbcf3c JB |
22 | SHELL = /bin/sh |
23 | ||
eb4252f7 | 24 | # ==================== Things `configure' will edit ==================== |
c71beb75 | 25 | |
b93f2493 BF |
26 | CC=@CC@ |
27 | CFLAGS=@CFLAGS@ | |
28 | ALLOCA=@ALLOCA@ | |
b93f2493 BF |
29 | YACC=@YACC@ |
30 | version=@version@ | |
cf770692 | 31 | configuration=@configuration@ |
c71beb75 | 32 | |
eb4252f7 | 33 | # ==================== Where To Install Things ==================== |
c71beb75 | 34 | |
eb4252f7 RS |
35 | # The default location for installation. Everything is placed in |
36 | # subdirectories of this directory. The default values for many of | |
37 | # the variables below are expressed in terms of this one, so you may | |
38 | # not need to change them. This is set with the --prefix option to | |
39 | # `../configure'. | |
b93f2493 | 40 | prefix=@prefix@ |
c71beb75 | 41 | |
eb4252f7 RS |
42 | # Like `prefix', but used for architecture-specific files. This is |
43 | # set with the --exec-prefix option to `../configure'. | |
b93f2493 | 44 | exec_prefix=@exec_prefix@ |
c71beb75 | 45 | |
eb4252f7 RS |
46 | # Where to install Emacs and other binaries that people will want to |
47 | # run directly (like etags). This is set with the --bindir option | |
48 | # to `../configure'. | |
b93f2493 | 49 | bindir=@bindir@ |
c71beb75 | 50 | |
eb4252f7 RS |
51 | # Where to install and expect executable files to be run by Emacs |
52 | # rather than directly by users, and other architecture-dependent | |
53 | # data. ${archlibdir} is usually below this. This is set with the | |
424b6d2b RS |
54 | # --libexecdir option to `../configure'. |
55 | libexecdir=@libexecdir@ | |
c71beb75 | 56 | |
eb4252f7 RS |
57 | # Where to find the source code. This is set by the configure |
58 | # script's `--srcdir' option. However, the value of ${srcdir} in | |
59 | # this makefile is not identical to what was specified with --srcdir, | |
60 | # since the variable here has `/lib-src' added at the end. | |
b93f2493 BF |
61 | srcdir=@srcdir@ |
62 | VPATH=@srcdir@ | |
c71beb75 | 63 | |
2d521ee6 DM |
64 | # The top-level source directory, also set by configure. |
65 | top_srcdir=@top_srcdir@ | |
66 | ||
eb4252f7 | 67 | # ==================== Emacs-specific directories ==================== |
c71beb75 | 68 | |
eb4252f7 RS |
69 | # These variables hold the values Emacs will actually use. They are |
70 | # based on the values of the standard Make variables above. | |
c71beb75 | 71 | |
eb4252f7 RS |
72 | # Where to put executables to be run by Emacs rather than the user. |
73 | # This path usually includes the Emacs version and configuration name, | |
74 | # so that multiple configurations for multiple versions of Emacs may | |
75 | # be installed at once. This can be set with the --archlibdir option | |
76 | # to `../configure'. | |
b93f2493 | 77 | archlibdir=@archlibdir@ |
41f86d5a | 78 | |
eb4252f7 | 79 | # ==================== Utility Programs for the Build ================= |
c71beb75 | 80 | |
eb4252f7 | 81 | # ../configure figures out the correct values for these. |
b93f2493 | 82 | INSTALL = @INSTALL@ |
b93f2493 BF |
83 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
84 | INSTALL_DATA = @INSTALL_DATA@ | |
c71beb75 | 85 | |
eb4252f7 | 86 | # ========================== Lists of Files =========================== |
f7dbcf3c | 87 | |
eb4252f7 RS |
88 | # Things that a user might actually run, |
89 | # which should be installed in bindir. | |
0d73e8e3 JB |
90 | INSTALLABLES = etags ctags emacsclient b2m |
91 | INSTALLABLE_SCRIPTS = rcs-checkin | |
f7dbcf3c | 92 | |
eb4252f7 RS |
93 | # Things that Emacs runs internally, or during the build process, |
94 | # which should not be installed in bindir. | |
5aae6601 | 95 | UTILITIES= wakeup profile digest-doc \ |
62039e5a | 96 | sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer |
f7dbcf3c | 97 | |
2d521ee6 | 98 | DONT_INSTALL= test-distrib make-docfile |
5aae6601 | 99 | |
eb4252f7 RS |
100 | # Like UTILITIES, but they're not system-dependent, and should not be |
101 | # deleted by the distclean target. | |
b7cceaf1 JB |
102 | SCRIPTS= rcs2log vcdiff |
103 | ||
0d73e8e3 | 104 | EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} |
f7dbcf3c | 105 | |
5c579a75 | 106 | SOURCES = COPYING ChangeLog Makefile.in README emacs.csh \ |
41f86d5a ER |
107 | makedoc.com *.[chy] rcs2log vcdiff |
108 | ||
81f94052 RS |
109 | # Additional -D flags for movemail (add to MOVE_FLAGS if desired): |
110 | # MAIL_USE_POP Support mail retrieval from a POP mailbox. | |
111 | # MAIL_USE_MMDF Support MMDF mailboxes. | |
112 | # MAIL_USE_FLOCK Use flock for file locking (see the comments | |
113 | # about locking in movemail.c) | |
114 | # MAIL_UNLINK_SPOOL Unlink the user's spool mailbox after reading | |
115 | # it (instead of just emptying it). | |
116 | # KERBEROS Support Kerberized POP. | |
117 | # KRB5 Support Kerberos Version 5 pop instead of | |
118 | # Version 4 (define this in addition to | |
119 | # KERBEROS). | |
120 | # HESIOD Support Hesiod lookups of user mailboxes. | |
121 | # MAILHOST A string, the host name of the default POP | |
122 | # mail host for the site. | |
123 | MOVE_FLAGS= | |
124 | ||
125 | # Additional libraries for movemail: | |
126 | # For KERBEROS | |
127 | # MOVE_LIBS= -lkrb -ldes -lcom_err | |
128 | # For KERBEROS + KRB5 | |
129 | # MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err | |
130 | # Add "-lhesiod" if HESIOD is defined. | |
131 | MOVE_LIBS= | |
132 | ||
eb4252f7 RS |
133 | # ========================== start of cpp stuff ======================= |
134 | /* From here on, comments must be done in C syntax. */ | |
135 | ||
136 | #define NO_SHORTNAMES | |
137 | #define THIS_IS_YMAKEFILE | |
138 | #define NOT_C_CODE | |
139 | #include "../src/config.h" | |
140 | ||
89b3f894 RS |
141 | /* We won't really call alloca; |
142 | don't let the file name alloca.c get messed up. */ | |
143 | #ifdef alloca | |
144 | #undef alloca | |
145 | #endif | |
146 | ||
eb4252f7 RS |
147 | /* Some s/*.h files define this to request special libraries. */ |
148 | #ifndef LIBS_SYSTEM | |
149 | #define LIBS_SYSTEM | |
150 | #endif | |
151 | ||
152 | /* Some m/*.h files define this to request special libraries. */ | |
153 | #ifndef LIBS_MACHINE | |
154 | #define LIBS_MACHINE | |
155 | #endif | |
156 | ||
157 | #ifndef C_SWITCH_SYSTEM | |
158 | #define C_SWITCH_SYSTEM | |
159 | #endif | |
160 | ||
161 | #ifndef C_SWITCH_MACHINE | |
162 | #define C_SWITCH_MACHINE | |
163 | #endif | |
164 | ||
165 | #undef MOVEMAIL_NEEDS_BLESSING | |
166 | #ifndef MAIL_USE_FLOCK | |
167 | #ifndef MAIL_USE_LOCKF | |
168 | #define MOVEMAIL_NEEDS_BLESSING | |
169 | #endif | |
170 | #endif | |
171 | ||
172 | #ifdef MOVEMAIL_NEEDS_BLESSING | |
173 | #define BLESSMAIL blessmail | |
174 | #else | |
175 | #define BLESSMAIL | |
176 | #endif | |
177 | ||
178 | LOADLIBES=LIBS_SYSTEM LIBS_MACHINE | |
179 | ||
29ed0542 RS |
180 | /* We need to #define emacs to get the right versions of some files. |
181 | Some other files - those shared with other GNU utilities - need | |
182 | HAVE_CONFIG_H #defined before they know they can take advantage of | |
183 | the information in ../src/config.h. */ | |
82a635f3 | 184 | ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ |
3e883207 | 185 | -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} |
82a635f3 | 186 | LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ |
3e883207 | 187 | -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} |
82a635f3 | 188 | CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ |
b2d7a9c7 | 189 | -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} |
1d0b600d RS |
190 | /* This is all of CPP_CFLAGS except -Demacs. */ |
191 | BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ | |
20cda85b | 192 | -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} |
29ed0542 RS |
193 | \f |
194 | /* This is the default compilation command. | |
195 | But we should never rely on it, because some make version | |
196 | failed to find it for getopt.o. | |
197 | Using an explicit command made it work. */ | |
c38a040d | 198 | .c.o: |
5293b432 | 199 | ${CC} -c ${CPP_CFLAGS} $< |
c71beb75 | 200 | |
0731825e | 201 | all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} |
c71beb75 | 202 | |
c6207d0d | 203 | #ifdef MOVEMAIL_NEEDS_BLESSING |
f675ecb5 | 204 | blessmail: |
2b243866 | 205 | ../src/emacs -batch -l ../lisp/blessmail.el |
c6207d0d KH |
206 | chmod +x blessmail |
207 | #endif | |
208 | ||
d19f95fe RS |
209 | maybe-blessmail: BLESSMAIL |
210 | #ifdef MOVEMAIL_NEEDS_BLESSING | |
211 | /* Don't charge ahead and do it! Let the installer decide. | |
212 | ./blessmail ${archlibdir}/movemail */ | |
213 | @if [ `wc -l <blessmail` != 2 ] ; then \ | |
214 | dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ | |
215 | echo Assuming $$dir is really the mail spool directory, you should; \ | |
fed76e78 | 216 | echo run lib-src/blessmail ${archlibdir}/movemail; \ |
d19f95fe | 217 | echo as root, to give movemail appropriate permissions.; \ |
eb4252f7 | 218 | echo Do that after running make install.; \ |
d19f95fe RS |
219 | fi |
220 | #endif | |
221 | ||
29ed0542 RS |
222 | /* Install the internal utilities. Until they are installed, we can |
223 | just run them directly from lib-src. */ | |
d19f95fe | 224 | ${archlibdir}: all |
c71beb75 JB |
225 | @echo |
226 | @echo "Installing utilities run internally by Emacs." | |
2d521ee6 | 227 | $(top_srcdir)/mkinstalldirs ${archlibdir} |
f7d3e7d0 | 228 | if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ |
544d556f | 229 | for file in ${UTILITIES}; do \ |
c61a529e | 230 | $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \ |
544d556f | 231 | done ; \ |
ad600343 RS |
232 | fi |
233 | if [ `(cd ${archlibdir} && /bin/pwd)` \ | |
234 | != `(cd ${srcdir} && /bin/pwd)` ]; then \ | |
544d556f | 235 | for file in ${SCRIPTS}; do \ |
c61a529e | 236 | $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \ |
c71beb75 | 237 | done ; \ |
0268f19b | 238 | fi |
f7dbcf3c | 239 | |
29ed0542 RS |
240 | /* We don't need to install `wakeup' explicitly, because it will be |
241 | copied when this whole directory is copied. */ | |
c71beb75 JB |
242 | install: ${archlibdir} |
243 | @echo | |
244 | @echo "Installing utilities for users to run." | |
b70cff71 | 245 | for file in ${INSTALLABLES} ; do \ |
c61a529e | 246 | $(INSTALL_PROGRAM) $${file} ${bindir}/$${file} ; \ |
0268f19b | 247 | done |
b70cff71 | 248 | for file in ${INSTALLABLE_SCRIPTS} ; do \ |
c61a529e | 249 | $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \ |
0268f19b | 250 | done |
f7dbcf3c | 251 | |
39b649dd JB |
252 | uninstall: |
253 | (cd ${bindir}; \ | |
254 | rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) | |
255 | (cd ${archlibdir}; \ | |
256 | rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) | |
257 | ||
a17d2c25 RS |
258 | mostlyclean: |
259 | -rm -f core *.o | |
260 | ||
261 | clean: mostlyclean | |
5aae6601 | 262 | -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} |
1e8259bb | 263 | -rm -f ../etc/DOC* *.tab.c *.tab.h |
f7dbcf3c | 264 | |
39b649dd | 265 | distclean: clean |
5c579a75 | 266 | -rm -f TAGS |
348c8c1b | 267 | -rm -f Makefile Makefile.in blessmail |
f7dbcf3c | 268 | |
26873b72 | 269 | maintainer-clean: distclean |
39b649dd | 270 | true |
c71beb75 | 271 | |
a01c76d7 | 272 | extraclean: maintainer-clean |
c71beb75 | 273 | -rm -f *~ \#* |
f7dbcf3c | 274 | |
41f86d5a ER |
275 | unlock: |
276 | chmod u+w $(SOURCES) | |
277 | ||
278 | relock: | |
279 | chmod u-w $(SOURCES) | |
280 | ||
29ed0542 | 281 | /* Test the contents of the directory. */ |
f7dbcf3c JB |
282 | check: |
283 | @echo "We don't have any tests for GNU Emacs yet." | |
284 | ||
285 | TAGS: etags | |
286 | etags *.[ch] | |
287 | ||
29ed0542 RS |
288 | /* This verifies that the non-ASCII characters in the file `testfile' |
289 | have not been clobbered by whatever means were used to copy and | |
290 | distribute Emacs. If they were clobbered, all the .elc files were | |
291 | clobbered too. */ | |
0d73e8e3 | 292 | test-distrib: ${srcdir}/test-distrib.c |
c88a7f88 | 293 | $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c |
0d73e8e3 | 294 | ./test-distrib ${srcdir}/testfile |
f7dbcf3c | 295 | |
c38a040d | 296 | GETOPTOBJS = getopt.o getopt1.o $(ALLOCA) |
0d73e8e3 | 297 | GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h |
b90589d8 | 298 | getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h |
0268f19b | 299 | ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c |
b90589d8 | 300 | getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h |
0268f19b | 301 | ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c |
20cda85b | 302 | alloca.o: ${srcdir}/alloca.c |
1d0b600d | 303 | ${CC} -c ${BASE_CFLAGS} ${srcdir}/alloca.c |
f7dbcf3c | 304 | |
e63ceebf RS |
305 | #ifdef REGEXP_IN_LIBC |
306 | REGEXPOBJ = | |
307 | REGEXPDEPS = | |
308 | #else | |
66ab94d9 KH |
309 | REGEXPOBJ = regex.o |
310 | REGEXPDEPS = $(REGEXPOBJ) ../src/regex.h | |
e63ceebf RS |
311 | #endif |
312 | ||
66ab94d9 | 313 | regex.o: ../src/regex.c ../src/regex.h |
1d0b600d | 314 | ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c |
66ab94d9 KH |
315 | |
316 | etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h | |
317 | $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags | |
f7dbcf3c | 318 | |
29ed0542 RS |
319 | /* We depend on etags to assure that parallel makes don't write two |
320 | etags.o files on top of each other. */ | |
4348b379 | 321 | ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags |
9076a6fc | 322 | $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags |
f7dbcf3c | 323 | |
0d73e8e3 | 324 | wakeup: ${srcdir}/wakeup.c |
3e883207 | 325 | $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup |
f7dbcf3c | 326 | |
379fb9c8 RS |
327 | profile: ${srcdir}/profile.c |
328 | $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile | |
329 | ||
0d73e8e3 | 330 | make-docfile: ${srcdir}/make-docfile.c |
3e883207 | 331 | $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile |
f7dbcf3c | 332 | |
0d73e8e3 | 333 | digest-doc: ${srcdir}/digest-doc.c |
3e883207 | 334 | $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc |
f7dbcf3c | 335 | |
1e3255d8 | 336 | sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} |
3e883207 | 337 | $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc |
f7dbcf3c | 338 | |
0d73e8e3 | 339 | b2m: ${srcdir}/b2m.c ../src/config.h |
3e883207 | 340 | $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m |
f7dbcf3c | 341 | |
81f94052 RS |
342 | movemail: movemail.o pop.o |
343 | $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(LOADLIBES) $(MOVE_LIBS) -o movemail | |
344 | ||
345 | movemail.o: ${srcdir}/movemail.c ../src/config.h | |
346 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c | |
347 | ||
348 | pop.o: ${srcdir}/pop.c | |
349 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c | |
f7dbcf3c | 350 | |
0d73e8e3 | 351 | cvtmail: ${srcdir}/cvtmail.c |
3e883207 | 352 | $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail |
f7dbcf3c | 353 | |
0d73e8e3 | 354 | fakemail: ${srcdir}/fakemail.c ../src/config.h |
3e883207 | 355 | $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
f7dbcf3c | 356 | |
0d73e8e3 | 357 | yow: ${srcdir}/yow.c ../src/paths.h |
3e883207 | 358 | $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow |
f7dbcf3c | 359 | |
0d73e8e3 | 360 | emacsserver: ${srcdir}/emacsserver.c ../src/config.h |
3e883207 | 361 | $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver |
f7dbcf3c | 362 | |
0d73e8e3 | 363 | emacsclient: ${srcdir}/emacsclient.c ../src/config.h |
3e883207 | 364 | $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient |
f7dbcf3c | 365 | |
0d73e8e3 | 366 | hexl: ${srcdir}/hexl.c |
3e883207 | 367 | $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
f7dbcf3c | 368 | |
9ff5de07 | 369 | TIMEROBJS=getdate.o timer.o $(ALLOCA) |
0d73e8e3 JB |
370 | getdate.o: ${srcdir}/getdate.y ../src/config.h |
371 | ${YACC} ${YFLAGS} ${srcdir}/getdate.y | |
eab5f4fd | 372 | $(CC) $(CPP_CFLAGS) -c y.tab.c |
43bf8b0e | 373 | mv y.tab.o getdate.o |
0d73e8e3 | 374 | timer.o: ${srcdir}/timer.c ../src/config.h |
eab5f4fd | 375 | $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c |
9ff5de07 | 376 | timer: ${TIMEROBJS} |
3e883207 | 377 | $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer |
f7dbcf3c | 378 | |
29ed0542 | 379 | /* These are NOT included in INSTALLABLES or UTILITIES. |
1858a206 | 380 | See ../src/Makefile.in.in. */ |
0d73e8e3 | 381 | emacstool: ${srcdir}/emacstool.c |
3e883207 | 382 | $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ |
f7dbcf3c JB |
383 | -lsuntool -lsunwindow -lpixrect $(LOADLIBES) |
384 | ||
29ed0542 | 385 | /* For SUN Japanese Language Environment. */ |
0d73e8e3 | 386 | nemacstool: ${srcdir}/emacstool.c |
3e883207 | 387 | $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
f7dbcf3c JB |
388 | -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) |
389 | ||
0d73e8e3 | 390 | xvetool: ${srcdir}/emacstool.c |
3e883207 | 391 | $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
f7dbcf3c JB |
392 | -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
393 | $(LOADLIBES) | |
394 | ||
0d73e8e3 | 395 | xveterm: ${srcdir}/emacstool.c |
3e883207 | 396 | $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
f7dbcf3c JB |
397 | -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
398 | $(LOADLIBES) |