Mercurial > hg > xemacs-beta
comparison lib-src/Makefile.in.in @ 14:9ee227acff29 r19-15b90
Import from CVS: tag r19-15b90
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:48:42 +0200 |
parents | bcdc7deadc19 |
children | 8fc7fe29b841 |
comparison
equal
deleted
inserted
replaced
13:13c6d0aaafe5 | 14:9ee227acff29 |
---|---|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
20 Boston, MA 02111-1307, USA. */ | 20 Boston, MA 02111-1307, USA. */ |
21 | 21 |
22 /* Note: FSF Makefile.in.in does something weird so that the comments | 22 /* Note: FSF Makefile.in.in does something weird so that the comments |
23 above a certain point in this file are in shell format instead of | 23 above a certain point in this file are in shell format instead of |
24 in C format. I don't know how the hell this is supposed to work. */ | 24 in C format. I do not know how the hell this is supposed to work. */ |
25 | 25 |
26 /* Avoid trouble on systems where the `SHELL' variable might be | 26 /* Avoid trouble on systems where the $SHELL variable might be |
27 inherited from the environment. */ | 27 inherited from the environment. */ |
28 SHELL = /bin/sh | 28 SHELL = /bin/sh |
29 | 29 |
30 /* Some people use these in paths they define. We don't want their paths | 30 /* Some people use these in paths they define. We do not want their paths |
31 getting changed on them. */ | 31 getting changed on them. */ |
32 #undef sparc | 32 #undef sparc |
33 #undef sun | 33 #undef sun |
34 #undef unix | 34 #undef unix |
35 #undef sgi | 35 #undef sgi |
36 #undef NeXT | 36 #undef NeXT |
37 #undef mips | 37 #undef mips |
38 | 38 |
39 /* ==================== Things `configure' will edit ==================== */ | 39 /* ==================== Things "configure" will edit ==================== */ |
40 | 40 |
41 CC=@CC@ | 41 CC=@CC@ |
42 CFLAGS=@CFLAGS@ | 42 CFLAGS=@CFLAGS@ |
43 ALLOCA=@ALLOCA@ | 43 ALLOCA=@ALLOCA@ |
44 YACC=@YACC@ | 44 YACC=@YACC@ |
50 | 50 |
51 /* The default location for installation. Everything is placed in | 51 /* The default location for installation. Everything is placed in |
52 subdirectories of this directory. The default values for many of | 52 subdirectories of this directory. The default values for many of |
53 the variables below are expressed in terms of this one, so you may | 53 the variables below are expressed in terms of this one, so you may |
54 not need to change them. This is set with the --prefix option to | 54 not need to change them. This is set with the --prefix option to |
55 `../configure'. */ | 55 "../configure". */ |
56 prefix=@prefix@ | 56 prefix=@prefix@ |
57 | 57 |
58 /* Like `prefix', but used for architecture-specific files. This is | 58 /* Like "prefix", but used for architecture-specific files. This is |
59 set with the --exec-prefix option to `../configure'. */ | 59 set with the --exec-prefix option to "../configure". */ |
60 exec_prefix=@exec_prefix@ | 60 exec_prefix=@exec_prefix@ |
61 | 61 |
62 /* Where to install Emacs and other binaries that people will want to | 62 /* Where to install Emacs and other binaries that people will want to |
63 run directly (like etags). This is set with the --bindir option | 63 run directly (like etags). This is set with the --bindir option |
64 to `../configure'. */ | 64 to "../configure". */ |
65 bindir=@bindir@ | 65 bindir=@bindir@ |
66 | 66 |
67 /* Where to install and expect executable files to be run by Emacs | 67 /* Where to install and expect executable files to be run by Emacs |
68 rather than directly by users, and other architecture-dependent | 68 rather than directly by users, and other architecture-dependent |
69 data. ${archlibdir} is usually below this. This is set with the | 69 data. ${archlibdir} is usually below this. This is set with the |
70 --libdir option to `../configure'. */ | 70 --libdir option to "../configure". */ |
71 libdir=@libdir@ | 71 libdir=@libdir@ |
72 | 72 |
73 /* Where to find the source code. This is set by the configure | 73 /* Where to find the source code. This is set by the configure |
74 script's `--srcdir' option. However, the value of ${srcdir} in | 74 "--srcdir" option. However, the value of ${srcdir} in |
75 this makefile is not identical to what was specified with --srcdir, | 75 this makefile is not identical to what was specified with --srcdir, |
76 since the variable here has `/lib-src' added at the end. */ | 76 since the variable here has "/lib-src" added at the end. */ |
77 srcdir=@srcdir@ | 77 srcdir=@srcdir@ |
78 | 78 |
79 /* ==================== Emacs-specific directories ==================== */ | 79 /* ==================== Emacs-specific directories ==================== */ |
80 | 80 |
81 /* These variables hold the values Emacs will actually use. They are | 81 /* These variables hold the values Emacs will actually use. They are |
83 | 83 |
84 Where to put executables to be run by Emacs rather than the user. | 84 Where to put executables to be run by Emacs rather than the user. |
85 This path usually includes the Emacs version and configuration name, | 85 This path usually includes the Emacs version and configuration name, |
86 so that multiple configurations for multiple versions of Emacs may | 86 so that multiple configurations for multiple versions of Emacs may |
87 be installed at once. This can be set with the --archlibdir option | 87 be installed at once. This can be set with the --archlibdir option |
88 to `../configure'. */ | 88 to "../configure". */ |
89 archlibdir=@archlibdir@ | 89 archlibdir=@archlibdir@ |
90 | 90 |
91 /* ==================== Utility Programs for the Build ================= */ | 91 /* ==================== Utility Programs for the Build ================= */ |
92 | 92 |
93 /* ../configure figures out the correct values for these. */ | 93 /* ../configure figures out the correct values for these. */ |
104 | 104 |
105 /* Things that Emacs runs internally, or during the build process, | 105 /* Things that Emacs runs internally, or during the build process, |
106 which should not be installed in bindir. */ | 106 which should not be installed in bindir. */ |
107 UTILITIES= make-path wakeup profile make-docfile digest-doc \ | 107 UTILITIES= make-path wakeup profile make-docfile digest-doc \ |
108 sorted-doc movemail cvtmail fakemail yow emacsserver hexl \ | 108 sorted-doc movemail cvtmail fakemail yow emacsserver hexl \ |
109 gnuserv | 109 gnuserv mmencode |
110 | 110 |
111 /* Like UTILITIES, but they're not system-dependent, and should not be | 111 /* Like UTILITIES, but they are not system-dependent, and should not be |
112 deleted by the distclean target. */ | 112 deleted by the distclean target. */ |
113 SCRIPTS= rcs2log vcdiff | 113 TM_SCRIPTS=tm-au tm-file tm-html tm-image tm-mpeg tm-plain tm-ps tmdecode |
114 SCRIPTS= rcs2log vcdiff $(TM_SCRIPTS) | |
114 | 115 |
115 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | 116 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} |
116 | 117 |
117 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \ | 118 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \ |
118 makedoc.com *.[chy] rcs2log vcdiff | 119 makedoc.com *.[chy] rcs2log vcdiff |
133 the VPATH directory, rather than just the dependencies that are not | 134 the VPATH directory, rather than just the dependencies that are not |
134 themselves targets. Thus, if there is an up-to-date .o file in the | 135 themselves targets. Thus, if there is an up-to-date .o file in the |
135 in-place location, it will not get recompiled in the not-in-place | 136 in-place location, it will not get recompiled in the not-in-place |
136 location. | 137 location. |
137 | 138 |
138 The GNU Make `vpath' directive continues this tradition, but at | 139 The GNU Make "vpath" directive continues this tradition, but at |
139 least lets you restrict the classes of files that it applies to. | 140 least lets you restrict the classes of files that it applies to. |
140 This allows us to kludge around the problem. */ | 141 This allows us to kludge around the problem. */ |
141 #ifdef USE_GNU_MAKE | 142 #ifdef USE_GNU_MAKE |
142 vpath %.c @srcdir@ | 143 vpath %.c @srcdir@ |
143 vpath %.h @srcdir@ | 144 vpath %.h @srcdir@ |
144 /* now list files that should NOT be searched in the srcdir. | 145 /* now list files that should NOT be searched in the srcdir. |
145 This includes any .c or .h that's built from something else | 146 This includes any .c or .h that is built from something else |
146 (e.g. a .in file). */ | 147 (e.g. a .in file). */ |
147 /* none here */ | 148 /* none here */ |
148 #else | 149 #else |
149 VPATH=@srcdir@ | 150 VPATH=@srcdir@ |
150 #endif | 151 #endif |
151 | 152 |
152 /* We won't really call alloca; | 153 /* We will not really call alloca; |
153 don't let the file name alloca.c get messed up. */ | 154 do not let the file name alloca.c get messed up. */ |
154 #ifdef alloca | 155 #ifdef alloca |
155 #undef alloca | 156 #undef alloca |
156 #endif | 157 #endif |
157 | 158 |
158 /* Some s/*.h files define this to request special libraries. */ | 159 /* Some s/*.h files define this to request special libraries. */ |
231 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} | 232 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} |
232 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ | 233 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ |
233 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} | 234 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} |
234 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ | 235 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ |
235 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} | 236 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} |
236 /* Formerly -Demacs was missing, but it's needed to suppress the | 237 /* Formerly -Demacs was missing, but it is needed to suppress the |
237 defining of malloc to xmalloc. [Yes it's fucked up. Blame FSF | 238 defining of malloc to xmalloc. [Yes it is fucked up. Blame FSF |
238 for this.] */ | 239 for this.] */ |
239 ALLOCA_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ | 240 ALLOCA_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ |
240 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} | 241 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} |
241 | 242 |
242 /* This is the default compilation command. | 243 /* This is the default compilation command. |
273 chmod +x blessmail | 274 chmod +x blessmail |
274 #endif | 275 #endif |
275 | 276 |
276 maybe-blessmail: BLESSMAIL | 277 maybe-blessmail: BLESSMAIL |
277 #ifdef MOVEMAIL_NEEDS_BLESSING | 278 #ifdef MOVEMAIL_NEEDS_BLESSING |
278 /* Don't charge ahead and do it! Let the installer decide. | 279 /* Do not charge ahead and do it! Let the installer decide. |
279 ./blessmail ${archlibdir}/movemail */ | 280 ./blessmail ${archlibdir}/movemail */ |
280 @if [ `wc -l <blessmail` != 2 ] ; then \ | 281 @if [ `wc -l <blessmail` != 2 ] ; then \ |
281 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ | 282 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ |
282 echo Assuming $$dir is really the mail spool directory, you should; \ | 283 echo Assuming $$dir is really the mail spool directory, you should; \ |
283 echo run lib-src/blessmail ${archlibdir}/movemail; \ | 284 echo run lib-src/blessmail ${archlibdir}/movemail; \ |
372 $(CC) -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c | 373 $(CC) -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c |
373 | 374 |
374 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h | 375 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h |
375 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(LOADLIBES) -o etags | 376 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(LOADLIBES) -o etags |
376 | 377 |
377 /* We depend on etags to assure that parallel makes don't write two | 378 /* We depend on etags to assure that parallel makes do not write two |
378 etags.o files on top of each other. */ | 379 etags.o files on top of each other. */ |
379 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags | 380 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags |
380 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags | 381 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags |
381 | 382 |
382 wakeup: ${srcdir}/wakeup.c | 383 wakeup: ${srcdir}/wakeup.c |
416 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient | 417 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient |
417 | 418 |
418 hexl: ${srcdir}/hexl.c | 419 hexl: ${srcdir}/hexl.c |
419 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl | 420 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
420 | 421 |
421 /* Why oh why doesn't HP include half of the standard X distribution? */ | 422 /* Why oh why does HP not include half of the standard X distribution? */ |
422 | 423 |
423 #if defined (HAVE_XAUTH) | 424 #if defined (HAVE_XAUTH) |
424 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h | 425 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h |
425 $(CC) -c ${CPP_CFLAGS} ${C_SWITCH_X} ${srcdir}/gnuslib.c | 426 $(CC) -c ${CPP_CFLAGS} ${C_SWITCH_X} ${srcdir}/gnuslib.c |
426 | 427 |
443 $(CC) ${ALL_CFLAGS} -o gnudoit ${srcdir}/gnudoit.c gnuslib.o $(LOADLIBES) | 444 $(CC) ${ALL_CFLAGS} -o gnudoit ${srcdir}/gnudoit.c gnuslib.o $(LOADLIBES) |
444 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h | 445 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h |
445 $(CC) ${ALL_CFLAGS} -o gnuserv ${srcdir}/gnuserv.c gnuslib.o $(LOADLIBES) | 446 $(CC) ${ALL_CFLAGS} -o gnuserv ${srcdir}/gnuserv.c gnuslib.o $(LOADLIBES) |
446 #endif /* !HAVE_XAUTH */ | 447 #endif /* !HAVE_XAUTH */ |
447 | 448 |
449 /* mmencode binary is used by tm - but is really part of the metamail package */ | |
450 /* mmencode.c was merged copy of mmencode.c and codes.c of metamail */ | |
451 mmencode : ${srcdir}/mmencode.c | |
452 $(CC) ${ALL_CFLAGS} ${srcdir}/mmencode.c -o mmencode | |
453 | |
448 /* The timer utility (timer.c, getdate.y) is not used in XEmacs | 454 /* The timer utility (timer.c, getdate.y) is not used in XEmacs |
449 because XEmacs provides built-in timer facilities. */ | 455 because XEmacs provides built-in timer facilities. */ |
450 | 456 |
451 make-path: ${srcdir}/make-path.c ../src/config.h | 457 make-path: ${srcdir}/make-path.c ../src/config.h |
452 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path | 458 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path |