Mercurial > hg > xemacs-beta
comparison lib-src/Makefile.in.in @ 388:aabb7f5b1c81 r21-2-9
Import from CVS: tag r21-2-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:09:42 +0200 |
parents | 064ab7fed2e0 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
387:f892a9d0bb8d | 388:aabb7f5b1c81 |
---|---|
53 bindir=@bindir@ | 53 bindir=@bindir@ |
54 libdir=@libdir@ | 54 libdir=@libdir@ |
55 srcdir=@srcdir@ | 55 srcdir=@srcdir@ |
56 archlibdir=@archlibdir@ | 56 archlibdir=@archlibdir@ |
57 configuration=@configuration@ | 57 configuration=@configuration@ |
58 moduledir=@moduledir@ | |
59 sitemoduledir=@sitemoduledir@ | |
60 | |
58 ## ==================== Utility Programs for the Build ================= | 61 ## ==================== Utility Programs for the Build ================= |
59 | 62 |
60 INSTALL = @install_pp@ @INSTALL@ | 63 INSTALL = @install_pp@ @INSTALL@ |
61 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | 64 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
62 INSTALL_DATA = @INSTALL_DATA@ | 65 INSTALL_DATA = @INSTALL_DATA@ |
69 | 72 |
70 ## Things that a user might actually run, | 73 ## Things that a user might actually run, |
71 ## which should be installed in bindir. | 74 ## which should be installed in bindir. |
72 INSTALLABLES_BASE = etags ctags b2m gnuclient ootags | 75 INSTALLABLES_BASE = etags ctags b2m gnuclient ootags |
73 INSTALLABLE_SCRIPTS = rcs-checkin pstogif gnudoit gnuattach | 76 INSTALLABLE_SCRIPTS = rcs-checkin pstogif gnudoit gnuattach |
77 #ifdef HAVE_SHLIB | |
74 #ifdef HAVE_MS_WINDOWS | 78 #ifdef HAVE_MS_WINDOWS |
75 INSTALLABLES = $(INSTALLABLES_BASE) runemacs | 79 INSTALLABLES = $(INSTALLABLES_BASE) runxemacs rungnuclient ellcc |
80 #else | |
81 INSTALLABLES = $(INSTALLABLES_BASE) ellcc | |
82 #endif | |
83 #else | |
84 #ifdef HAVE_MS_WINDOWS | |
85 INSTALLABLES = $(INSTALLABLES_BASE) runxemacs rungnuclient | |
76 #else | 86 #else |
77 INSTALLABLES = $(INSTALLABLES_BASE) | 87 INSTALLABLES = $(INSTALLABLES_BASE) |
88 #endif | |
78 #endif | 89 #endif |
79 | 90 |
80 | 91 |
81 ## Things that Emacs runs internally, or during the build process, | 92 ## Things that Emacs runs internally, or during the build process, |
82 ## which should not be installed in bindir. | 93 ## which should not be installed in bindir. |
227 mostlyclean: | 238 mostlyclean: |
228 $(RM) *.o *.i core | 239 $(RM) *.o *.i core |
229 clean: mostlyclean | 240 clean: mostlyclean |
230 $(RM) ${INSTALLABLES} ${UTILITIES} *.exe | 241 $(RM) ${INSTALLABLES} ${UTILITIES} *.exe |
231 distclean: clean | 242 distclean: clean |
232 $(RM) DOC *.tab.c *.tab.h aixcc.c TAGS | 243 $(RM) DOC *.tab.c *.tab.h aixcc.c TAGS ellcc.h |
233 $(RM) GNUmakefile Makefile Makefile.in blessmail config.values | 244 $(RM) GNUmakefile Makefile Makefile.in blessmail config.values |
234 realclean: distclean | 245 realclean: distclean |
235 extraclean: distclean | 246 extraclean: distclean |
236 $(RM) *~ \#* | 247 $(RM) *~ \#* |
237 | 248 |
267 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h | 278 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h |
268 | 279 |
269 etags: ${etags_deps} | 280 etags: ${etags_deps} |
270 $(CC) ${etags_args} -o $@ | 281 $(CC) ${etags_args} -o $@ |
271 | 282 |
272 runemacs_args = -I. $(cflags) -I${srcdir} -I${srcdir}/../src \ | 283 ellcc_args = -I. $(cflags) -I${srcdir} -I${srcdir}/../src \ |
273 -DVERSION='"${version}"' ${srcdir}/../nt/runemacs.c \ | 284 ${srcdir}/ellcc.c $(ldflags) |
274 $(ldflags) -Wl,--subsystem,windows | 285 ellcc_deps = ${srcdir}/ellcc.c ellcc.h ../src/config.h |
275 runemacs_deps = ${srcdir}/../nt/runemacs.c ${srcdir}/../nt/xemacs.ico ../src/config.h | 286 |
276 | 287 ellcc: ${ellcc_deps} |
277 runemacs: ${runemacs_deps} | 288 $(CC) ${ellcc_args} -o $@ |
278 echo "runemacs ICON DISCARDABLE \"../nt/xemacs.ico\"" \ | 289 |
279 | windres -o runemacs_res.o | 290 run_args = -I. $(cflags) -I${srcdir} -I${srcdir}/../src \ |
280 $(CC) runemacs_res.o ${runemacs_args} -o $@ | 291 -DVERSION='"${version}"' ${srcdir}/run.c \ |
292 $(ldflags) -Wl,--subsystem,windows -e _mainCRTStartup | |
293 run_deps = ${srcdir}/run.c ${srcdir}/run.h ${srcdir}/run.rc \ | |
294 ${srcdir}/../nt/xemacs.ico ${srcdir}/../nt/file.ico \ | |
295 ${srcdir}/../nt/lisp.ico | |
296 | |
297 run: ${run_deps} | |
298 windres --include-dir ${srcdir}/../nt -i run.rc -o run_res.o | |
299 $(CC) run_res.o ${run_args} -o $@ | |
300 strip $@.exe | |
301 | |
302 runxemacs: run | |
303 cp run.exe $@.exe | |
304 | |
305 rungnuclient: run | |
306 cp run.exe $@.exe | |
281 | 307 |
282 ootags_args = -I. $(cflags) -I${srcdir} -I${srcdir}/../src \ | 308 ootags_args = -I. $(cflags) -I${srcdir} -I${srcdir}/../src \ |
283 -DVERSION='"${version}"' ${srcdir}/ootags.c \ | 309 -DVERSION='"${version}"' ${srcdir}/ootags.c \ |
284 $(GETOPTOBJS) regex.o $(ldflags) | 310 $(GETOPTOBJS) regex.o $(ldflags) |
285 ootags_deps = ${srcdir}/ootags.c $(GETOPTDEPS) regex.o ../src/config.h | 311 ootags_deps = ${srcdir}/ootags.c $(GETOPTDEPS) regex.o ../src/config.h |