Mercurial > hg > xemacs-beta
comparison lib-src/Makefile.in.in @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 8e84bee8ddd0 |
children | a300bb07d72d |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
68 #include "../src/config.h" | 68 #include "../src/config.h" |
69 | 69 |
70 ## Things that a user might actually run, | 70 ## Things that a user might actually run, |
71 ## which should be installed in bindir. | 71 ## which should be installed in bindir. |
72 INSTALLABLES_BASE = etags ctags b2m gnuclient ootags | 72 INSTALLABLES_BASE = etags ctags b2m gnuclient ootags |
73 INSTALLABLE_SCRIPTS = rcs-checkin gnudoit gnuattach | 73 INSTALLABLE_SCRIPTS = rcs-checkin pstogif install-sid send-pr gnudoit gnuattach |
74 #ifdef HAVE_MS_WINDOWS | 74 #ifdef HAVE_MS_WINDOWS |
75 INSTALLABLES = $(INSTALLABLES_BASE) runemacs | 75 INSTALLABLES = $(INSTALLABLES_BASE) runemacs |
76 #else | 76 #else |
77 INSTALLABLES = $(INSTALLABLES_BASE) | 77 INSTALLABLES = $(INSTALLABLES_BASE) |
78 #endif | 78 #endif |
85 gnuserv mmencode | 85 gnuserv mmencode |
86 ## These need to be conditional on I18N3 make-msgfile make-po | 86 ## These need to be conditional on I18N3 make-msgfile make-po |
87 | 87 |
88 ## Like UTILITIES, but they are not system-dependent, and should not be | 88 ## Like UTILITIES, but they are not system-dependent, and should not be |
89 ## deleted by the distclean target. | 89 ## deleted by the distclean target. |
90 GEN_SCRIPTS = rcs2log vcdiff gzip-el.sh | 90 GEN_SCRIPTS = rcs2log vcdiff gzip-el.sh install-sid send-pr |
91 TM_SCRIPTS = tm-au tm-file tm-html tm-image tm-mpeg tm-plain tm-ps tmdecode | |
91 PKG_SCRIPTS = add-big-package.sh | 92 PKG_SCRIPTS = add-big-package.sh |
92 SCRIPTS = $(GEN_SCRIPTS) $(PKG_SCRIPTS) | 93 SCRIPTS = $(GEN_SCRIPTS) $(TM_SCRIPTS) $(PKG_SCRIPTS) |
93 | 94 |
94 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | 95 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} |
95 | 96 |
96 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \ | 97 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \ |
97 makedoc.com *.[chy] $(SCRIPTS) | 98 makedoc.com *.[chy] $(SCRIPTS) |
147 ## failed to find it for getopt.o. | 148 ## failed to find it for getopt.o. |
148 ## Using an explicit command made it work. | 149 ## Using an explicit command made it work. |
149 .c.o: | 150 .c.o: |
150 ${CC} -c $(cflags) $< | 151 ${CC} -c $(cflags) $< |
151 | 152 |
152 .PHONY : all maybe-blessmail install uninstall | |
153 | |
154 all: ${UTILITIES} ${INSTALLABLES} srcdir-symlink.stamp | 153 all: ${UTILITIES} ${INSTALLABLES} srcdir-symlink.stamp |
155 | 154 |
156 ## Make symlinks for shell scripts if using --srcdir | 155 ## Make symlinks for shell scripts if using --srcdir |
157 srcdir-symlink.stamp: | 156 srcdir-symlink.stamp: |
158 for f in ${SCRIPTS}; do \ | 157 for f in ${SCRIPTS}; do \ |
207 done ; \ | 206 done ; \ |
208 fi | 207 fi |
209 | 208 |
210 ## We do not need to install "wakeup" explicitly, because it will be | 209 ## We do not need to install "wakeup" explicitly, because it will be |
211 ## copied when this whole directory is copied. | 210 ## copied when this whole directory is copied. |
211 .PHONY : all maybe-blessmail install uninstall | |
212 install: ${archlibdir} | 212 install: ${archlibdir} |
213 @echo; echo "Installing utilities for users to run." | 213 @echo; echo "Installing utilities for users to run." |
214 for file in ${INSTALLABLES} ; do \ | 214 for file in ${INSTALLABLES} ; do \ |
215 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \ | 215 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \ |
216 done | 216 done |
309 $(CC) $(cflags) ${srcdir}/sorted-doc.c $(ldflags) -o $@ | 309 $(CC) $(cflags) ${srcdir}/sorted-doc.c $(ldflags) -o $@ |
310 | 310 |
311 b2m: ${srcdir}/b2m.c ../src/config.h | 311 b2m: ${srcdir}/b2m.c ../src/config.h |
312 $(CC) $(cflags) ${srcdir}/b2m.c $(ldflags) -o $@ | 312 $(CC) $(cflags) ${srcdir}/b2m.c $(ldflags) -o $@ |
313 | 313 |
314 movemail: ${srcdir}/movemail.c ${srcdir}/pop.c ${srcdir}/pop.h $(GETOPTDEPS) regex.o \ | 314 movemail: ${srcdir}/movemail.c ${srcdir}/pop.c ${srcdir}/pop.h ../src/config.h |
315 ../src/config.h | 315 $(CC) $(cflags) ${MOVE_FLAGS} ${srcdir}/movemail.c ${srcdir}/pop.c $(ldflags) ${MOVE_LIBS} -o $@ |
316 $(CC) $(cflags) ${MOVE_FLAGS} ${srcdir}/movemail.c ${srcdir}/pop.c \ | |
317 $(GETOPTOBJS) regex.o $(ldflags) ${MOVE_LIBS} -o $@ | |
318 | 316 |
319 cvtmail: ${srcdir}/cvtmail.c | 317 cvtmail: ${srcdir}/cvtmail.c |
320 $(CC) $(cflags) ${srcdir}/cvtmail.c $(ldflags) -o $@ | 318 $(CC) $(cflags) ${srcdir}/cvtmail.c $(ldflags) -o $@ |
321 | 319 |
322 fakemail: ${srcdir}/fakemail.c ../src/config.h | 320 fakemail: ${srcdir}/fakemail.c ../src/config.h |