Mercurial > hg > xemacs-beta
comparison lib-src/Makefile.in.in @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 2f8bb876ab1d |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
73 #define NOT_C_CODE | 73 #define NOT_C_CODE |
74 #include "../src/config.h" | 74 #include "../src/config.h" |
75 | 75 |
76 ## Things that a user might actually run, | 76 ## Things that a user might actually run, |
77 ## which should be installed in bindir. | 77 ## which should be installed in bindir. |
78 #ifdef WINDOWSNT | 78 #ifdef WIN32_NATIVE |
79 INSTALLABLES_BASE = etags ctags b2m ootags | 79 INSTALLABLES_BASE = etags ctags b2m ootags |
80 #else | 80 #else |
81 INSTALLABLES_BASE = etags ctags b2m gnuclient ootags | 81 INSTALLABLES_BASE = etags ctags b2m gnuclient ootags |
82 #endif | 82 #endif |
83 INSTALLABLE_SCRIPTS = rcs-checkin gnudoit gnuattach | 83 INSTALLABLE_SCRIPTS = rcs-checkin gnudoit gnuattach |
84 #ifdef HAVE_SHLIB | 84 #ifdef HAVE_SHLIB |
85 #ifdef HAVE_MS_WINDOWS | |
86 INSTALLABLES = $(INSTALLABLES_BASE) runxemacs rungnuclient ellcc | |
87 #else | |
88 INSTALLABLES = $(INSTALLABLES_BASE) ellcc | 85 INSTALLABLES = $(INSTALLABLES_BASE) ellcc |
89 #endif | |
90 #else | |
91 #ifdef HAVE_MS_WINDOWS | |
92 INSTALLABLES = $(INSTALLABLES_BASE) runxemacs rungnuclient | |
93 #else | 86 #else |
94 INSTALLABLES = $(INSTALLABLES_BASE) | 87 INSTALLABLES = $(INSTALLABLES_BASE) |
95 #endif | 88 #endif |
96 #endif | |
97 | 89 |
98 | 90 |
99 ## Things that Emacs runs internally, or during the build process, | 91 ## Things that Emacs runs internally, or during the build process, |
100 ## which should not be installed in bindir. | 92 ## which should not be installed in bindir. |
101 #ifdef WINDOWSNT | 93 #ifdef WIN32_NATIVE |
102 UTILITIES= make-path wakeup profile make-docfile digest-doc \ | 94 UTILITIES= make-path wakeup profile make-docfile digest-doc \ |
103 sorted-doc movemail cvtmail yow hexl \ | 95 sorted-doc movemail cvtmail yow i hexl \ |
104 mmencode | 96 mmencode minitar |
105 #else | 97 #else |
106 UTILITIES= make-path wakeup profile make-docfile digest-doc \ | 98 UTILITIES= make-path wakeup profile make-docfile digest-doc \ |
107 sorted-doc movemail cvtmail fakemail yow hexl \ | 99 sorted-doc movemail cvtmail fakemail yow hexl \ |
108 gnuserv mmencode | 100 gnuserv mmencode |
109 #endif | 101 #endif |
288 alloca.o: ${top_srcdir}/src/alloca.c | 280 alloca.o: ${top_srcdir}/src/alloca.c |
289 ${CC} -c $(cflags) ${srcdir}/../src/alloca.c | 281 ${CC} -c $(cflags) ${srcdir}/../src/alloca.c |
290 | 282 |
291 regex.o: ${srcdir}/../src/regex.c ${top_srcdir}/src/regex.h | 283 regex.o: ${srcdir}/../src/regex.c ${top_srcdir}/src/regex.h |
292 $(CC) -c `echo $(cflags) | sed 's/-Demacs/ /'` \ | 284 $(CC) -c `echo $(cflags) | sed 's/-Demacs/ /'` \ |
293 -DINHIBIT_STRING_HEADER ${top_srcdir}/src/regex.c | 285 -DINHIBIT_STRING_HEADER ${top_srcdir}/src/regex.c |
294 | 286 |
295 etags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/etags.c \ | 287 etags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/etags.c \ |
296 $(GETOPTOBJS) regex.o $(ldflags) | 288 $(GETOPTOBJS) regex.o $(ldflags) |
297 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h | 289 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h |
298 | 290 |
302 ellcc_args = $(cflags) ${srcdir}/ellcc.c $(ldflags) | 294 ellcc_args = $(cflags) ${srcdir}/ellcc.c $(ldflags) |
303 ellcc_deps = ${srcdir}/ellcc.c ellcc.h ../src/config.h | 295 ellcc_deps = ${srcdir}/ellcc.c ellcc.h ../src/config.h |
304 | 296 |
305 ellcc: ${ellcc_deps} | 297 ellcc: ${ellcc_deps} |
306 $(CC) ${ellcc_args} -o $@ | 298 $(CC) ${ellcc_args} -o $@ |
307 | |
308 run_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/run.c \ | |
309 $(ldflags) -Wl,--subsystem,windows -e _mainCRTStartup | |
310 run_deps = ${srcdir}/run.c ${srcdir}/run.h ${srcdir}/run.rc \ | |
311 ${srcdir}/../nt/xemacs.ico ${srcdir}/../nt/file.ico \ | |
312 ${srcdir}/../nt/lisp.ico | |
313 | |
314 run: ${run_deps} | |
315 windres --include-dir ${srcdir}/../nt -i run.rc -o run_res.o | |
316 $(CC) run_res.o ${run_args} -o $@ | |
317 strip $@.exe | |
318 | |
319 runxemacs: run | |
320 cp run.exe $@.exe | |
321 | |
322 rungnuclient: run | |
323 cp run.exe $@.exe | |
324 | 299 |
325 ootags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/ootags.c \ | 300 ootags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/ootags.c \ |
326 $(GETOPTOBJS) regex.o $(ldflags) | 301 $(GETOPTOBJS) regex.o $(ldflags) |
327 ootags_deps = ${srcdir}/ootags.c $(GETOPTDEPS) regex.o ../src/config.h | 302 ootags_deps = ${srcdir}/ootags.c $(GETOPTDEPS) regex.o ../src/config.h |
328 | 303 |
363 fakemail: ${srcdir}/fakemail.c ../src/config.h | 338 fakemail: ${srcdir}/fakemail.c ../src/config.h |
364 $(CC) $(cflags) ${srcdir}/fakemail.c $(ldflags) -o $@ | 339 $(CC) $(cflags) ${srcdir}/fakemail.c $(ldflags) -o $@ |
365 | 340 |
366 yow: ${srcdir}/yow.c ../src/paths.h | 341 yow: ${srcdir}/yow.c ../src/paths.h |
367 $(CC) $(cflags) ${srcdir}/yow.c $(ldflags) -o $@ | 342 $(CC) $(cflags) ${srcdir}/yow.c $(ldflags) -o $@ |
343 | |
344 i: ${srcdir}/i.c | |
345 $(CC) $(cflags) ${srcdir}/i.c $(ldflags) -o $@ | |
346 | |
347 minitar: ${srcdir}/../nt/minitar.c | |
348 $(CC) $(cflags) ${srcdir}/../nt/minitar.c $(ldflags) -lz -o $@ | |
368 | 349 |
369 hexl: ${srcdir}/hexl.c | 350 hexl: ${srcdir}/hexl.c |
370 $(CC) $(cflags) ${srcdir}/hexl.c $(ldflags) -o $@ | 351 $(CC) $(cflags) ${srcdir}/hexl.c $(ldflags) -o $@ |
371 | 352 |
372 make-msgfile: ${srcdir}/make-msgfile.c | 353 make-msgfile: ${srcdir}/make-msgfile.c |