comparison lib-src/Makefile.in.in @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 3bb7ccffb0c0
children 85ec50267440
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
1 /* Makefile for lib-src subdirectory in XEmacs. 1 ## Makefile for lib-src subdirectory in XEmacs.
2 2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
3 Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. 3 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
4 4
5 This file is part of XEmacs. 5 ## This file is part of XEmacs.
6 6
7 XEmacs is free software; you can redistribute it and/or modify it 7 ## XEmacs is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the 8 ## under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2, or (at your option) any 9 ## Free Software Foundation; either version 2, or (at your option) any
10 later version. 10 ## later version.
11 11
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT 12 ## XEmacs is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details. 15 ## for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 ## You should have received a copy of the GNU General Public License
18 along with XEmacs; see the file COPYING. If not, write to the Free 18 ## along with XEmacs; see the file COPYING. If not, write to
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. How the hell is this 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
27 inherited from the environment. */
28 SHELL = /bin/sh 26 SHELL = /bin/sh
29 27 RM = rm -f
30 /* Some people use these in paths they define. 28
31 This is a horrible kludge - should we really use CPP 29 ## For performance and consistency, no built-in rules
32 to pre-process Makefiles? */
33 #undef sparc
34 #undef sun
35 #undef unix
36 #undef sgi
37 #undef NeXT
38 #undef mips
39 #undef i386
40 #undef linux
41
42 /* For performance and consistency, no built-in rules */
43 .SUFFIXES: 30 .SUFFIXES:
44 .SUFFIXES: .c .o .i .h 31 .SUFFIXES: .c .o .i .h
45 /* ==================== Things "configure" will edit ==================== */ 32 ## ==================== Things "configure" will edit ====================
46 33
47 CC=@CC@ 34 CC=@CC@
48 CPP=@CPP@ 35 CPP=@CPP@
49 CFLAGS=@CFLAGS@ 36 CFLAGS=@CFLAGS@
50 CPPFLAGS=@CPPFLAGS@ 37 CPPFLAGS=@CPPFLAGS@
52 ALLOCA=@ALLOCA@ 39 ALLOCA=@ALLOCA@
53 YACC=@YACC@ 40 YACC=@YACC@
54 LN_S=@LN_S@ 41 LN_S=@LN_S@
55 version=@version@ 42 version=@version@
56 43
57 /* ==================== Where To Install Things ==================== */ 44 ## ==================== Where To Install Things ====================
58 45
59 /* The default location for installation. Everything is placed in
60 subdirectories of this directory. The default values for many of
61 the variables below are expressed in terms of this one, so you may
62 not need to change them. This is set with the --prefix option to
63 "../configure". */
64 prefix=@prefix@ 46 prefix=@prefix@
65
66 /* Like "prefix", but used for architecture-specific files. This is
67 set with the "--exec-prefix" option to "../configure". */
68 exec_prefix=@exec_prefix@ 47 exec_prefix=@exec_prefix@
69
70 /* Where to install Emacs and other binaries that people will want to
71 run directly (like etags). This is set with the "--bindir" option
72 to "../configure". */
73 bindir=@bindir@ 48 bindir=@bindir@
74
75 /* Where to install and expect executable files to be run by Emacs
76 rather than directly by users, and other architecture-dependent
77 data. ${archlibdir} is usually below this. This is set with the
78 --libdir option to "../configure". */
79 libdir=@libdir@ 49 libdir=@libdir@
80
81 /* Where to find the source code. This is set by the configure
82 "--srcdir" option. However, the value of ${srcdir} in
83 this makefile is not identical to what was specified with --srcdir,
84 since the variable here has "/lib-src" appended to the end. */
85 srcdir=@srcdir@ 50 srcdir=@srcdir@
86
87 /* ==================== Emacs-specific directories ==================== */
88
89 /* These variables hold the values Emacs will actually use. They are
90 based on the values of the standard Make variables above.
91
92 Where to put executables to be run by Emacs rather than the user.
93 This path usually includes the Emacs version and configuration name,
94 so that multiple configurations for multiple versions of Emacs may
95 be installed at once. This can be set with the --archlibdir option
96 to "../configure". */
97 archlibdir=@archlibdir@ 51 archlibdir=@archlibdir@
98 52
99 /* ==================== Utility Programs for the Build ================= */ 53 ## ==================== Utility Programs for the Build =================
100 54
101 /* ../configure figures out the correct values for these. */
102 INSTALL = @INSTALL@ 55 INSTALL = @INSTALL@
103 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 56 INSTALL_PROGRAM = @INSTALL_PROGRAM@
104 INSTALL_DATA = @INSTALL_DATA@ 57 INSTALL_DATA = @INSTALL_DATA@
105 58
106 /* ========================== Lists of Files =========================== */ 59 ## ========================== Lists of Files ===========================
107 60
108 /* Things that a user might actually run, 61 ## Things that a user might actually run,
109 which should be installed in bindir. */ 62 ## which should be installed in bindir.
110 INSTALLABLES = etags ctags b2m gnuclient 63 INSTALLABLES = etags ctags b2m gnuclient
111 INSTALLABLE_SCRIPTS = rcs-checkin pstogif install-sid send-pr gnudoit 64 INSTALLABLE_SCRIPTS = rcs-checkin pstogif install-sid send-pr gnudoit gnuattach
112 65
113 /* Things that Emacs runs internally, or during the build process, 66 ## Things that Emacs runs internally, or during the build process,
114 which should not be installed in bindir. */ 67 ## which should not be installed in bindir.
115 UTILITIES= make-path wakeup profile make-docfile digest-doc \ 68 UTILITIES= make-path wakeup profile make-docfile digest-doc \
116 sorted-doc movemail cvtmail fakemail yow hexl \ 69 sorted-doc movemail cvtmail fakemail yow hexl \
117 gnuserv mmencode 70 gnuserv mmencode
118 /* These need to be conditional on I18N3 71 ## These need to be conditional on I18N3 make-msgfile make-po
119 make-msgfile make-po */ 72
120 73 ## Like UTILITIES, but they are not system-dependent, and should not be
121 /* Like UTILITIES, but they are not system-dependent, and should not be 74 ## deleted by the distclean target.
122 deleted by the distclean target. */
123 TM_SCRIPTS=tm-au tm-file tm-html tm-image tm-mpeg tm-plain tm-ps tmdecode 75 TM_SCRIPTS=tm-au tm-file tm-html tm-image tm-mpeg tm-plain tm-ps tmdecode
124 SCRIPTS= rcs2log vcdiff gzip-el.sh install-sid send-pr $(TM_SCRIPTS) 76 SCRIPTS= rcs2log vcdiff gzip-el.sh install-sid send-pr $(TM_SCRIPTS)
125 77
126 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 78 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
127 79
128 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \ 80 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \
129 makedoc.com *.[chy] $(SCRIPTS) 81 makedoc.com *.[chy] $(SCRIPTS)
130 /* 82 ## Additional -D flags for movemail (add to MOVE_FLAGS if desired):
131 # Additional -D flags for movemail (add to MOVE_FLAGS if desired): 83 ## MAIL_USE_POP Support mail retrieval from a POP mailbox.
132 # MAIL_USE_POP Support mail retrieval from a POP mailbox. 84 ## MAIL_USE_MMDF Support MMDF mailboxes.
133 # MAIL_USE_MMDF Support MMDF mailboxes. 85 ## MAIL_USE_FLOCK Use flock for file locking (see the comments
134 # MAIL_USE_FLOCK Use flock for file locking (see the comments 86 ## about locking in movemail.c)
135 # about locking in movemail.c) 87 ## MAIL_UNLINK_SPOOL Unlink the user spool mailbox after reading
136 # MAIL_UNLINK_SPOOL Unlink the user spool mailbox after reading 88 ## it (instead of just emptying it).
137 # it (instead of just emptying it). 89 ## KERBEROS Support Kerberized POP.
138 # KERBEROS Support Kerberized POP. 90 ## KRB5 Support Kerberos Version 5 pop instead of
139 # KRB5 Support Kerberos Version 5 pop instead of 91 ## Version 4 (define this in addition to
140 # Version 4 (define this in addition to 92 ## KERBEROS).
141 # KERBEROS). 93 ## HESIOD Support Hesiod lookups of user mailboxes.
142 # HESIOD Support Hesiod lookups of user mailboxes. 94 ## MAILHOST A string, the host name of the default POP
143 # MAILHOST A string, the host name of the default POP 95 ## mail host for the site.
144 # mail host for the site. 96
145 */
146 MOVE_FLAGS= 97 MOVE_FLAGS=
147 /* 98 ##
148 # Additional libraries for movemail: 99 ## Additional libraries for movemail:
149 # For KERBEROS 100 ## For KERBEROS
150 # MOVE_LIBS= -lkrb -ldes -lcom_err 101 ## MOVE_LIBS= -lkrb -ldes -lcom_err
151 # For KERBEROS + KRB5 102 ## For KERBEROS + KRB5
152 # MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err 103 ## MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err
153 # Add "-lhesiod" if HESIOD is defined. 104 ## Add "-lhesiod" if HESIOD is defined.
154 */ 105
155 MOVE_LIBS= 106 MOVE_LIBS=
156 107
157 /* ========================== start of cpp stuff ======================= */ 108 ## ========================== start of cpp stuff =======================
158
159 /* From here on, comments must be done in C syntax. (see comment above
160 about this.) */
161 109
162 #define NO_SHORTNAMES 110 #define NO_SHORTNAMES
163 #define THIS_IS_YMAKEFILE
164 #define NOT_C_CODE 111 #define NOT_C_CODE
165 #include "../src/config.h" 112 #include "../src/config.h"
166 113
167 /* With the traditional VPATH setting, it is not possible to
168 simultaneously compile in-place and in another directory. The
169 mistaken definition is that *all* dependencies are searched for in
170 the VPATH directory, rather than just the dependencies that are not
171 themselves targets. Thus, if there is an up-to-date .o file in the
172 in-place location, it will not get recompiled in the not-in-place
173 location.
174
175 The GNU Make "vpath" directive continues this tradition, but at
176 least lets you restrict the classes of files that it applies to.
177 This allows us to kludge around the problem. */
178 #ifdef USE_GNU_MAKE 114 #ifdef USE_GNU_MAKE
179 vpath %.c @srcdir@ 115 vpath %.c @srcdir@
180 vpath %.h @srcdir@ 116 vpath %.h @srcdir@
181 /* now list files that should NOT be searched in the srcdir.
182 This includes any .c or .h built from something else
183 (e.g. a .in file). */
184 /* none here */
185 #else 117 #else
186 VPATH=@srcdir@ 118 VPATH=@srcdir@
187 #endif
188
189 /* We will not really call alloca;
190 do not let the file name alloca.c get messed up. */
191 #undef alloca
192
193 #undef MOVEMAIL_NEEDS_BLESSING
194 #ifndef MAIL_USE_FLOCK
195 #ifndef MAIL_USE_LOCKF
196 #define MOVEMAIL_NEEDS_BLESSING
197 #endif
198 #endif
199
200 #ifdef MOVEMAIL_NEEDS_BLESSING
201 #define BLESSMAIL blessmail
202 #else
203 #define BLESSMAIL
204 #endif 119 #endif
205 120
206 c_switch_general=@c_switch_general@ 121 c_switch_general=@c_switch_general@
207 c_switch_window_system=@c_switch_window_system@ 122 c_switch_window_system=@c_switch_window_system@
208 c_switch_all=@c_switch_all@ 123 c_switch_all=@c_switch_all@
215 130
216 LOADLIBES=$(ld_switch_general) $(ld_libs_general) 131 LOADLIBES=$(ld_switch_general) $(ld_libs_general)
217 LOAD_X_LIBES=$(ld_switch_window_system) 132 LOAD_X_LIBES=$(ld_switch_window_system)
218 C_SWITCH_X=$(c_switch_window_system) 133 C_SWITCH_X=$(c_switch_window_system)
219 134
220 /* We need to #define emacs to get the right versions of some files. */ 135 ## We need to #define emacs to get the right versions of some files.
221 136
222 lib_src_cppflags = -Demacs -I../src -I${srcdir} -I${srcdir}/../src $(CPPFLAGS) 137 lib_src_cppflags = -Demacs -I../src -I${srcdir} -I${srcdir}/../src $(CPPFLAGS)
223 lib_src_cppflags = -Demacs -I../src $(CPPFLAGS) 138 lib_src_cppflags = -Demacs -I../src $(CPPFLAGS)
224 cflags = $(CFLAGS) $(lib_src_cppflags) $(c_switch_all) 139 cflags = $(CFLAGS) $(lib_src_cppflags) $(c_switch_all)
225 ldflags = $(LDFLAGS) $(ld_switch_all) $(ld_libs_general) 140 ldflags = $(LDFLAGS) $(ld_switch_all) $(ld_libs_general)
226 141
227 /* This is the default compilation command. 142 ## This is the default compilation command.
228 But we should never rely on it, because some make version 143 ## But we should never rely on it, because some make version
229 failed to find it for getopt.o. 144 ## failed to find it for getopt.o.
230 Using an explicit command made it work. */ 145 ## Using an explicit command made it work.
231 .c.o: 146 .c.o:
232 ${CC} -c $(cflags) $< 147 ${CC} -c $(cflags) $<
233 148
234 all: ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} 149 all: ${UTILITIES} ${INSTALLABLES} ${SCRIPTS}
235 150
236 /* Make symlinks for shell scripts if using --srcdir */ 151 ## Make symlinks for shell scripts if using --srcdir */
237 rcs2log: 152 rcs2log:
238 ${LN_S} ${srcdir}/$@ $@ 153 ${LN_S} ${srcdir}/$@ $@
239 vcdiff: 154 vcdiff:
240 ${LN_S} ${srcdir}/$@ $@ 155 ${LN_S} ${srcdir}/$@ $@
241 tm-au : 156 tm-au :
259 install-sid: 174 install-sid:
260 ${LN_S} ${srcdir}/$@ $@ 175 ${LN_S} ${srcdir}/$@ $@
261 send-pr: 176 send-pr:
262 ${LN_S} ${srcdir}/$@ $@ 177 ${LN_S} ${srcdir}/$@ $@
263 178
264 #ifdef MOVEMAIL_NEEDS_BLESSING 179
180 #undef MOVEMAIL_NEEDS_BLESSING
181 #if !defined (MAIL_USE_FLOCK) && ! defined (MAIL_USE_LOCKF)
182 #define MOVEMAIL_NEEDS_BLESSING
183 blessmail = blessmail
265 blessmail: 184 blessmail:
266 ../src/emacs -batch -l ../lisp/blessmail.el 185 ../src/emacs -batch -l ../lisp/blessmail.el
267 chmod +x blessmail 186 chmod +x $@
268 #endif 187 #endif /* movemail needs blessing */
269 188
270 maybe-blessmail: BLESSMAIL 189 maybe-blessmail: $(blessmail)
271 #ifdef MOVEMAIL_NEEDS_BLESSING 190 #ifdef MOVEMAIL_NEEDS_BLESSING
272 /* Do not charge ahead and do it! Let the installer decide. 191 ## Do not charge ahead and do it! Let the installer decide.
273 ./blessmail ${archlibdir}/movemail */ 192 ./blessmail ${archlibdir}/movemail */
274 @if [ `wc -l <blessmail` != 2 ] ; then \ 193 @if test `wc -l <blessmail` != 2; then \
275 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ 194 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
276 echo Assuming $$dir is really the mail spool directory, you should; \ 195 echo "Assuming $$dir is really the mail spool directory, you should"; \
277 echo run lib-src/blessmail ${archlibdir}/movemail; \ 196 echo "run lib-src/blessmail ${archlibdir}/movemail"; \
278 echo as root, to give movemail appropriate permissions.; \ 197 echo "as root, to give movemail appropriate permissions."; \
279 echo Do that after running make install.; \ 198 echo "Do that after running make install."; \
280 fi 199 fi
281 #endif 200 #endif
282 201
283 /* Install the internal utilities. Until they are installed, we can 202 ## Install the internal utilities. Until they are installed, we can
284 just run them directly from lib-src. */ 203 ## just run them directly from lib-src.
285 ${archlibdir}: all 204 ${archlibdir}: all
286 @echo 205 @echo; echo "Installing utilities run internally by XEmacs."
287 @echo "Installing utilities run internally by XEmacs."
288 ./make-path ${archlibdir} 206 ./make-path ${archlibdir}
289 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ 207 if test `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd`; then \
290 for file in ${UTILITIES}; do \ 208 for file in ${UTILITIES}; do \
291 (cd .. && $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \ 209 (cd .. && $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \
292 done ; \ 210 done ; \
293 fi 211 fi
294 if [ `(cd ${archlibdir} && /bin/pwd)` \ 212 if test `(cd ${archlibdir} && /bin/pwd)` \
295 != `(cd ${srcdir} && /bin/pwd)` ]; then \ 213 != `(cd ${srcdir} && /bin/pwd)`; then \
296 for file in ${SCRIPTS}; do \ 214 for file in ${SCRIPTS}; do \
297 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \ 215 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
298 done ; \ 216 done ; \
299 fi 217 fi
300 218
301 /* We do not need to install "wakeup" explicitly, because it will be 219 ## We do not need to install "wakeup" explicitly, because it will be
302 copied when this whole directory is copied. */ 220 ## copied when this whole directory is copied.
221 .PHONY : all maybe-blessmail install uninstall
303 install: ${archlibdir} 222 install: ${archlibdir}
304 @echo 223 @echo; echo "Installing utilities for users to run."
305 @echo "Installing utilities for users to run."
306 for file in ${INSTALLABLES} ; do \ 224 for file in ${INSTALLABLES} ; do \
307 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \ 225 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
308 done 226 done
309 for file in ${INSTALLABLE_SCRIPTS} ; do \ 227 for file in ${INSTALLABLE_SCRIPTS} ; do \
310 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \ 228 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
311 done 229 done
312 230
313 uninstall: 231 uninstall:
314 (cd ${bindir} && \ 232 (cd ${bindir} && \
315 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) 233 $(RM) ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
316 (cd ${archlibdir} && \ 234 (cd ${archlibdir} && \
317 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) 235 $(RM) ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
318 236
237 .PHONY : mostlyclean clean distclean realclean extraclean unlock relock check
319 mostlyclean: 238 mostlyclean:
320 -rm -f core *.o 239 $(RM) core *.o *.i
321 240
322 clean: mostlyclean 241 clean: mostlyclean
323 -rm -f ${INSTALLABLES} ${UTILITIES} 242 $(RM) ${INSTALLABLES} ${UTILITIES}
324 243
325 distclean: clean 244 distclean: clean
326 -rm -f DOC *.tab.c *.tab.h aixcc.c TAGS 245 $(RM) DOC *.tab.c *.tab.h aixcc.c TAGS
327 -rm -f Makefile Makefile.in blessmail 246 $(RM) Makefile Makefile.in blessmail
328 247
329 realclean: distclean 248 realclean: distclean
330 true 249 @true
331 250
332 extraclean: realclean 251 extraclean: realclean
333 -rm -f *~ \#* 252 $(RM) *~ \#*
334 253
335 unlock: 254 unlock:
336 chmod u+w $(SOURCES) 255 chmod u+w $(SOURCES)
337 256
338 relock: 257 relock:
339 chmod u-w $(SOURCES) 258 chmod u-w $(SOURCES)
340 259
341 /* Test the contents of the directory. */ 260 ## Test the contents of the directory.
342 check: 261 check:
343 @echo "We don't have any tests for XEmacs yet." 262 @echo "We don't have any tests for XEmacs yet."
344 263
345 TAGS: etags 264 TAGS: etags
346 etags *.[ch] 265 etags *.[ch]
367 -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c 286 -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
368 287
369 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h 288 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h
370 $(CC) ${cflags} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(ldflags) -o etags 289 $(CC) ${cflags} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(ldflags) -o etags
371 290
372 /* We depend on etags to assure that parallel makes do not write two 291 ## We depend on etags to assure that parallel makes do not write two
373 etags.o files on top of each other. */ 292 ## etags.o files on top of each other.
374 ctags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) etags 293 ctags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) etags
375 $(CC) ${cflags} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(ldflags) -o ctags 294 $(CC) ${cflags} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(ldflags) -o ctags
376 295
377 wakeup: ${srcdir}/wakeup.c 296 wakeup: ${srcdir}/wakeup.c
378 $(CC) ${cflags} ${srcdir}/wakeup.c $(ldflags) -o wakeup 297 $(CC) ${cflags} ${srcdir}/wakeup.c $(ldflags) -o wakeup
411 $(CC) $(cflags) ${srcdir}/make-msgfile.c $(ldflags) -o make-msgfile 330 $(CC) $(cflags) ${srcdir}/make-msgfile.c $(ldflags) -o make-msgfile
412 331
413 make-po: ${srcdir}/make-po.c 332 make-po: ${srcdir}/make-po.c
414 $(CC) $(cflags) ${srcdir}/make-po.c $(ldflags) -o make-po 333 $(CC) $(cflags) ${srcdir}/make-po.c $(ldflags) -o make-po
415 334
416 /* Why oh why does HP not include half of the standard X distribution? */ 335 ## Why oh why does HP not include half of the standard X distribution?
417 336
418 ldflags_gnuserv = $(LDFLAGS) $(ld_switch_all) @libs_xauth@ $(ld_libs_general) 337 ldflags_gnuserv = $(LDFLAGS) $(ld_switch_all) @libs_xauth@ $(ld_libs_general)
419 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h 338 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h
420 $(CC) -c ${cflags} ${srcdir}/gnuslib.c 339 $(CC) -c ${cflags} ${srcdir}/gnuslib.c
421 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h 340 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h
422 $(CC) ${cflags} -o $@ ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv} 341 $(CC) ${cflags} -o $@ ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv}
423 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h 342 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h
424 $(CC) ${cflags} -o $@ ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv} 343 $(CC) ${cflags} -o $@ ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv}
425 344
426 /* mmencode binary is used by tm - but is really part of the metamail package */ 345 ## mmencode binary is used by tm - but is really part of the metamail package
427 /* mmencode.c was merged copy of mmencode.c and codes.c of metamail */ 346 ## mmencode.c was merged copy of mmencode.c and codes.c of metamail
428 mmencode : ${srcdir}/mmencode.c 347 mmencode : ${srcdir}/mmencode.c
429 $(CC) ${cflags} ${srcdir}/mmencode.c -o mmencode 348 $(CC) ${cflags} ${srcdir}/mmencode.c -o mmencode
430 349
431 350
432 /* The timer utility (timer.c, getdate.y) is not used in XEmacs 351 ## The timer utility (timer.c, getdate.y) is not used in XEmacs
433 because XEmacs provides built-in timer facilities. */ 352 ## because XEmacs provides built-in timer facilities.
434 353
435 make-path: ${srcdir}/make-path.c ../src/config.h 354 make-path: ${srcdir}/make-path.c ../src/config.h
436 $(CC) $(cflags) ${srcdir}/make-path.c -o make-path 355 $(CC) $(cflags) ${srcdir}/make-path.c -o make-path
437 356
438 /* These are NOT included in INSTALLABLES or UTILITIES. 357 ## These are NOT included in INSTALLABLES or UTILITIES.
439 See ../src/Makefile.in.in. */ 358 ## See ../src/Makefile.in.in.
440 aixcc: ${srcdir}/aixcc.c 359 aixcc: ${srcdir}/aixcc.c
441 $(CC) $(cflags) -o aixcc ${srcdir}/aixcc.c 360 $(CC) $(cflags) -o aixcc ${srcdir}/aixcc.c
442 361
443 aixcc.c: ${srcdir}/aixcc.lex 362 aixcc.c: ${srcdir}/aixcc.lex
444 lex ${srcdir}/aixcc.lex 363 lex ${srcdir}/aixcc.lex