comparison lib-src/Makefile.in.in @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children c7528f8e288d
comparison
equal deleted inserted replaced
73:e2d7a37b7c8d 74:54cc21c15cbb
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. How the hell is this 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.
31 getting changed on them. */ 31 This is a horrible kludge - should we really use CPP
32 to pre-process Makefiles? */
32 #undef sparc 33 #undef sparc
33 #undef sun 34 #undef sun
34 #undef unix 35 #undef unix
35 #undef sgi 36 #undef sgi
36 #undef NeXT 37 #undef NeXT
37 #undef mips 38 #undef mips
38 39 #undef i386
39 /* ==================== Things `configure' will edit ==================== */ 40
41 /* ==================== Things "configure" will edit ==================== */
40 42
41 CC=@CC@ 43 CC=@CC@
42 CFLAGS=@CFLAGS@ 44 CFLAGS=@CFLAGS@
43 ALLOCA=@ALLOCA@ 45 ALLOCA=@ALLOCA@
44 YACC=@YACC@ 46 YACC=@YACC@
50 52
51 /* The default location for installation. Everything is placed in 53 /* The default location for installation. Everything is placed in
52 subdirectories of this directory. The default values for many of 54 subdirectories of this directory. The default values for many of
53 the variables below are expressed in terms of this one, so you may 55 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 56 not need to change them. This is set with the --prefix option to
55 `../configure'. */ 57 "../configure". */
56 prefix=@prefix@ 58 prefix=@prefix@
57 59
58 /* Like `prefix', but used for architecture-specific files. This is 60 /* Like "prefix", but used for architecture-specific files. This is
59 set with the --exec-prefix option to `../configure'. */ 61 set with the "--exec-prefix" option to "../configure". */
60 exec_prefix=@exec_prefix@ 62 exec_prefix=@exec_prefix@
61 63
62 /* Where to install Emacs and other binaries that people will want to 64 /* Where to install Emacs and other binaries that people will want to
63 run directly (like etags). This is set with the --bindir option 65 run directly (like etags). This is set with the "--bindir" option
64 to `../configure'. */ 66 to "../configure". */
65 bindir=@bindir@ 67 bindir=@bindir@
66 68
67 /* Where to install and expect executable files to be run by Emacs 69 /* Where to install and expect executable files to be run by Emacs
68 rather than directly by users, and other architecture-dependent 70 rather than directly by users, and other architecture-dependent
69 data. ${archlibdir} is usually below this. This is set with the 71 data. ${archlibdir} is usually below this. This is set with the
70 --libdir option to `../configure'. */ 72 --libdir option to "../configure". */
71 libdir=@libdir@ 73 libdir=@libdir@
72 74
73 /* Where to find the source code. This is set by the configure 75 /* Where to find the source code. This is set by the configure
74 script's `--srcdir' option. However, the value of ${srcdir} in 76 "--srcdir" option. However, the value of ${srcdir} in
75 this makefile is not identical to what was specified with --srcdir, 77 this makefile is not identical to what was specified with --srcdir,
76 since the variable here has `/lib-src' added at the end. */ 78 since the variable here has "/lib-src" appended to the end. */
77 srcdir=@srcdir@ 79 srcdir=@srcdir@
78 80
79 /* ==================== Emacs-specific directories ==================== */ 81 /* ==================== Emacs-specific directories ==================== */
80 82
81 /* These variables hold the values Emacs will actually use. They are 83 /* These variables hold the values Emacs will actually use. They are
83 85
84 Where to put executables to be run by Emacs rather than the user. 86 Where to put executables to be run by Emacs rather than the user.
85 This path usually includes the Emacs version and configuration name, 87 This path usually includes the Emacs version and configuration name,
86 so that multiple configurations for multiple versions of Emacs may 88 so that multiple configurations for multiple versions of Emacs may
87 be installed at once. This can be set with the --archlibdir option 89 be installed at once. This can be set with the --archlibdir option
88 to `../configure'. */ 90 to "../configure". */
89 archlibdir=@archlibdir@ 91 archlibdir=@archlibdir@
90 92
91 /* ==================== Utility Programs for the Build ================= */ 93 /* ==================== Utility Programs for the Build ================= */
92 94
93 /* ../configure figures out the correct values for these. */ 95 /* ../configure figures out the correct values for these. */
108 sorted-doc movemail cvtmail fakemail yow emacsserver hexl \ 110 sorted-doc movemail cvtmail fakemail yow emacsserver hexl \
109 gnuserv mmencode 111 gnuserv mmencode
110 /* These need to be conditional on I18N3 112 /* These need to be conditional on I18N3
111 make-msgfile make-po */ 113 make-msgfile make-po */
112 114
113 /* Like UTILITIES, but they're not system-dependent, and should not be 115 /* Like UTILITIES, but they are not system-dependent, and should not be
114 deleted by the distclean target. */ 116 deleted by the distclean target. */
115 TM_SCRIPTS=tm-au tm-file tm-html tm-image tm-mpeg tm-plain tm-ps tmdecode 117 TM_SCRIPTS=tm-au tm-file tm-html tm-image tm-mpeg tm-plain tm-ps tmdecode
116 SCRIPTS= rcs2log vcdiff $(TM_SCRIPTS) 118 SCRIPTS= rcs2log vcdiff $(TM_SCRIPTS)
117 119
118 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 120 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
136 the VPATH directory, rather than just the dependencies that are not 138 the VPATH directory, rather than just the dependencies that are not
137 themselves targets. Thus, if there is an up-to-date .o file in the 139 themselves targets. Thus, if there is an up-to-date .o file in the
138 in-place location, it will not get recompiled in the not-in-place 140 in-place location, it will not get recompiled in the not-in-place
139 location. 141 location.
140 142
141 The GNU Make `vpath' directive continues this tradition, but at 143 The GNU Make "vpath" directive continues this tradition, but at
142 least lets you restrict the classes of files that it applies to. 144 least lets you restrict the classes of files that it applies to.
143 This allows us to kludge around the problem. */ 145 This allows us to kludge around the problem. */
144 #ifdef USE_GNU_MAKE 146 #ifdef USE_GNU_MAKE
145 vpath %.c @srcdir@ 147 vpath %.c @srcdir@
146 vpath %.h @srcdir@ 148 vpath %.h @srcdir@
147 /* now list files that should NOT be searched in the srcdir. 149 /* now list files that should NOT be searched in the srcdir.
148 This includes any .c or .h that's built from something else 150 This includes any .c or .h built from something else
149 (e.g. a .in file). */ 151 (e.g. a .in file). */
150 /* none here */ 152 /* none here */
151 #else 153 #else
152 VPATH=@srcdir@ 154 VPATH=@srcdir@
153 #endif 155 #endif
154 156
155 /* We won't really call alloca; 157 /* We will not really call alloca;
156 don't let the file name alloca.c get messed up. */ 158 do not let the file name alloca.c get messed up. */
157 #ifdef alloca 159 #ifdef alloca
158 #undef alloca 160 #undef alloca
159 #endif 161 #endif
160 162
161 /* Some s/*.h files define this to request special libraries. */ 163 /* Some s/*.h files define this to request special libraries. */
234 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 236 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
235 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ 237 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \
236 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} 238 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
237 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ 239 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \
238 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 240 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
239 /* Formerly -Demacs was missing, but it's needed to suppress the 241 /* Formerly -Demacs was missing, but it is needed to suppress the
240 defining of malloc to xmalloc. [Yes it's fucked up. Blame FSF 242 defining of malloc to xmalloc. [Yes it is fucked up. Blame FSF
241 for this.] */ 243 for this.] */
242 ALLOCA_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \ 244 ALLOCA_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \
243 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 245 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
244 246
245 /* This is the default compilation command. 247 /* This is the default compilation command.
280 chmod +x blessmail 282 chmod +x blessmail
281 #endif 283 #endif
282 284
283 maybe-blessmail: BLESSMAIL 285 maybe-blessmail: BLESSMAIL
284 #ifdef MOVEMAIL_NEEDS_BLESSING 286 #ifdef MOVEMAIL_NEEDS_BLESSING
285 /* Don't charge ahead and do it! Let the installer decide. 287 /* Do not charge ahead and do it! Let the installer decide.
286 ./blessmail ${archlibdir}/movemail */ 288 ./blessmail ${archlibdir}/movemail */
287 @if [ `wc -l <blessmail` != 2 ] ; then \ 289 @if [ `wc -l <blessmail` != 2 ] ; then \
288 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ 290 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
289 echo Assuming $$dir is really the mail spool directory, you should; \ 291 echo Assuming $$dir is really the mail spool directory, you should; \
290 echo run lib-src/blessmail ${archlibdir}/movemail; \ 292 echo run lib-src/blessmail ${archlibdir}/movemail; \
309 for file in ${SCRIPTS}; do \ 311 for file in ${SCRIPTS}; do \
310 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \ 312 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
311 done ; \ 313 done ; \
312 fi 314 fi
313 315
314 /* We don't need to install `wakeup' explicitly, because it will be 316 /* We do not need to install "wakeup" explicitly, because it will be
315 copied when this whole directory is copied. */ 317 copied when this whole directory is copied. */
316 install: ${archlibdir} 318 install: ${archlibdir}
317 @echo 319 @echo
318 @echo "Installing utilities for users to run." 320 @echo "Installing utilities for users to run."
319 for file in ${INSTALLABLES} ; do \ 321 for file in ${INSTALLABLES} ; do \