Mercurial > hg > xemacs-beta
annotate lib-src/Makefile.in.in @ 5713:8b5bdc8aebfd
Added tag r21-5-33 for changeset bee2e2568828
| author | Stephen J. Turnbull <stephen@xemacs.org> |
|---|---|
| date | Sat, 05 Jan 2013 02:11:23 +0900 |
| parents | 4aa8ee813265 |
| children | 0e2f2837c2bd |
| rev | line source |
|---|---|
| 428 | 1 ## Makefile for lib-src subdirectory in XEmacs. |
| 2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. | |
| 3 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. | |
| 3062 | 4 ## Copyright (C) 2005 Ben Wing. |
| 428 | 5 |
| 6 ## This file is part of XEmacs. | |
| 7 | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4894
diff
changeset
|
8 ## XEmacs is free software: you can redistribute it and/or modify it |
| 428 | 9 ## under the terms of the GNU General Public License as published by the |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4894
diff
changeset
|
10 ## Free Software Foundation, either version 3 of the License, or (at your |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4894
diff
changeset
|
11 ## option) any later version. |
| 428 | 12 |
| 13 ## XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
| 14 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 15 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 16 ## for more details. | |
| 17 | |
| 18 ## You should have received a copy of the GNU General Public License | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4894
diff
changeset
|
19 ## along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
| 428 | 20 |
| 21 ## Note: FSF Makefile.in.in does something weird so that the comments | |
| 22 ## above a certain point in this file are in shell format instead of | |
| 23 ## in C format. How the hell is this supposed to work? */ | |
| 24 | |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5402
diff
changeset
|
25 DESTDIR= |
|
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5402
diff
changeset
|
26 |
| 428 | 27 ## For performance and consistency, no built-in rules |
| 28 .SUFFIXES: | |
| 29 .SUFFIXES: .c .h .o | |
| 30 ## ==================== Things "configure" will edit ==================== | |
| 31 | |
| 32 @SET_MAKE@ | |
| 33 SHELL = /bin/sh | |
| 34 RM = rm -f | |
| 35 pwd = /bin/pwd | |
| 36 | |
| 37 CC=@CC@ | |
| 38 CPP=@CPP@ | |
| 39 CFLAGS=@CFLAGS@ | |
| 40 CPPFLAGS=@CPPFLAGS@ | |
| 41 LDFLAGS=@LDFLAGS@ | |
| 42 ALLOCA=@ALLOCA@ | |
| 43 LN_S=@LN_S@ | |
| 44 version=@version@ | |
| 3972 | 45 etags_xemacs_version=@verbose_version@ |
| 428 | 46 |
| 47 ## This will be the name of the generated binary and is set automatically | |
| 48 ## by configure. | |
| 49 PROGNAME=@PROGNAME@ | |
| 50 | |
| 51 ## ==================== Where To Install Things ==================== | |
| 52 | |
| 53 prefix=@prefix@ | |
| 54 exec_prefix=@exec_prefix@ | |
| 55 bindir=@bindir@ | |
| 56 libdir=@libdir@ | |
| 57 srcdir=@srcdir@ | |
| 58 datadir=@datadir@ | |
| 4118 | 59 datarootdir=@datarootdir@ |
| 428 | 60 instvardir=@instvardir@ |
| 61 top_srcdir=@top_srcdir@ | |
| 62 archlibdir=@archlibdir@ | |
| 63 configuration=@configuration@ | |
| 64 moduledir=@moduledir@ | |
| 65 sitemoduledir=@sitemoduledir@ | |
| 66 | |
| 67 ## ==================== Utility Programs for the Build ================= | |
| 68 | |
| 69 INSTALL = @install_pp@ @INSTALL@ | |
| 70 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
| 71 INSTALL_DATA = @INSTALL_DATA@ | |
| 72 | |
| 73 ## ========================== Lists of Files =========================== | |
| 74 | |
| 75 #define NO_SHORTNAMES | |
| 76 #define NOT_C_CODE | |
| 77 #include "../src/config.h" | |
| 78 | |
| 460 | 79 #ifndef WIN32_NATIVE |
| 80 #define INSTALL_GNUSERV | |
| 428 | 81 #endif |
| 82 | |
| 460 | 83 ## ---------------------------------------------------------------- |
| 84 ## Things that a user might actually run directly, | |
| 85 ## which should be installed in ${bindir}. | |
| 428 | 86 |
| 460 | 87 PUBLIC_INSTALLABLE_EXES=\ |
| 88 #ifdef INSTALL_GNUSERV | |
| 89 gnuclient\ | |
| 90 #endif | |
| 91 #ifdef HAVE_SHLIB | |
| 92 ellcc\ | |
| 93 #endif | |
| 819 | 94 #ifdef HAVE_MS_WINDOWS |
| 95 winclient\ | |
| 96 #endif | |
| 460 | 97 etags ctags b2m ootags |
| 98 | |
| 99 #ifdef INSTALL_GNUSERV | |
|
4782
1523f1d28be1
Remove more obsolete files. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
4773
diff
changeset
|
100 PUBLIC_INSTALLABLE_SCRIPTS=gnudoit gnuattach |
|
1523f1d28be1
Remove more obsolete files. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
4773
diff
changeset
|
101 #else |
|
1523f1d28be1
Remove more obsolete files. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
4773
diff
changeset
|
102 PUBLIC_INSTALLABLE_SCRIPTS= |
| 460 | 103 #endif |
| 104 | |
| 105 PUBLIC_INSTALLABLES = ${PUBLIC_INSTALLABLE_EXES} ${PUBLIC_INSTALLABLE_SCRIPTS} | |
| 106 | |
| 107 ## ---------------------------------------------------------------- | |
| 108 ## Things that XEmacs runs internally on the user's behalf, | |
| 109 ## which should be installed in ${archlibdir}. | |
| 110 | |
| 111 PRIVATE_INSTALLABLE_EXES=\ | |
| 112 #ifdef INSTALL_GNUSERV | |
| 113 gnuserv\ | |
| 114 #endif | |
| 442 | 115 #ifdef WIN32_NATIVE |
| 460 | 116 i minitar\ |
| 428 | 117 #else |
| 460 | 118 fakemail\ |
| 428 | 119 #endif |
|
4773
c858892e4f2b
Remove build rules that try to make wakeup out of the now nonexistent wakeup.c.
Jerry James <james@xemacs.org>
parents:
4118
diff
changeset
|
120 profile make-docfile digest-doc\ |
|
4785
d6cfba1cc388
Remove the lib-src/yow binary, which is currently unused anyway. See message
Jerry James <james@xemacs.org>
parents:
4782
diff
changeset
|
121 sorted-doc movemail cvtmail hexl mmencode |
| 428 | 122 |
| 123 GEN_SCRIPTS = rcs2log vcdiff gzip-el.sh | |
| 124 PKG_SCRIPTS = add-big-package.sh | |
| 460 | 125 PRIVATE_INSTALLABLE_SCRIPTS = $(GEN_SCRIPTS) $(PKG_SCRIPTS) |
| 126 | |
| 127 PRIVATE_INSTALLABLES = ${PRIVATE_INSTALLABLE_EXES} ${PRIVATE_INSTALLABLE_SCRIPTS} | |
| 128 | |
| 129 ## ---------------------------------------------------------------- | |
| 130 ## Things that XEmacs uses during the build process itself. | |
| 131 ## Not installed. | |
| 428 | 132 |
| 2720 | 133 #ifdef DUMP_IN_EXEC |
| 2015 | 134 BUILD_UTILITIES = make-path make-dump-id insert-data-in-exec |
| 2720 | 135 #else |
| 136 BUILD_UTILITIES = make-path make-dump-id | |
| 137 #endif | |
| 460 | 138 |
| 139 EXES = ${PUBLIC_INSTALLABLE_EXES} ${PRIVATE_INSTALLABLE_EXES} ${BUILD_UTILITIES} | |
| 140 SCRIPTS = ${PUBLIC_INSTALLABLE_SCRIPTS} ${PRIVATE_INSTALLABLE_SCRIPTS} | |
| 141 PROGS = ${EXES} ${SCRIPTS} | |
| 142 | |
| 428 | 143 ## Additional -D flags for movemail (add to MOVE_FLAGS if desired): |
| 144 ## MAIL_USE_POP Support mail retrieval from a POP mailbox. | |
| 145 ## MAIL_USE_MMDF Support MMDF mailboxes. | |
| 146 ## MAIL_USE_FLOCK Use flock for file locking (see the comments | |
| 147 ## about locking in movemail.c) | |
| 148 ## MAIL_UNLINK_SPOOL Unlink the user spool mailbox after reading | |
| 149 ## it (instead of just emptying it). | |
| 150 ## KERBEROS Support Kerberized POP. | |
| 151 ## KRB5 Support Kerberos Version 5 pop instead of | |
| 152 ## Version 4 (define this in addition to | |
| 153 ## KERBEROS). | |
| 154 ## HESIOD Support Hesiod lookups of user mailboxes. | |
| 155 ## MAILHOST A string, the host name of the default POP | |
| 156 ## mail host for the site. | |
| 157 | |
| 158 MOVE_FLAGS= | |
| 159 ## | |
| 160 ## Additional libraries for movemail: | |
| 161 ## For KERBEROS | |
| 162 ## MOVE_LIBS= -lkrb -ldes -lcom_err | |
| 163 ## For KERBEROS + KRB5 | |
| 164 ## MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err | |
| 165 ## Add "-lhesiod" if HESIOD is defined. | |
| 166 | |
| 167 MOVE_LIBS= | |
| 168 | |
| 169 ## ========================== start of cpp stuff ======================= | |
| 170 | |
| 171 #ifdef USE_GNU_MAKE | |
| 172 vpath %.c @srcdir@ | |
| 173 vpath %.h @srcdir@ | |
| 174 #else | |
| 175 VPATH=@srcdir@ | |
| 176 #endif | |
| 177 | |
| 178 c_switch_general=@c_switch_general@ | |
| 179 c_switch_all=@c_switch_all@ | |
| 180 ld_switch_general=@ld_switch_general@ | |
| 181 ld_switch_all=@ld_switch_all@ | |
| 182 ld_libs_general=@ld_libs_general@ | |
| 183 | |
| 184 ## We need to #define emacs to get the right versions of some files. | |
| 185 | |
| 438 | 186 ## To understand the order of -I flags, consider what happens if you run |
| 187 ## ./configure in the source tree, and then run | |
| 188 ## $(srcdir).2.26/configure in some other build tree. | |
| 189 ## Where will the generated files like config.h be included from? | |
| 190 ## This is also why you _must_ use <...> instead of "..." | |
| 191 ## when #include'ing generated files. | |
| 446 | 192 cppflags = -I. -I../src -I$(srcdir) -I$(top_srcdir)/src $(CPPFLAGS) |
| 428 | 193 cflags = $(CFLAGS) $(cppflags) $(c_switch_general) |
| 194 ldflags = $(LDFLAGS) $(ld_switch_general) $(ld_libs_general) | |
| 195 | |
| 196 ## This is the default compilation command. | |
| 197 ## But we should never rely on it, because some make version | |
| 198 ## failed to find it for getopt.o. | |
| 199 ## Using an explicit command made it work. | |
| 200 .c.o: | |
| 201 ${CC} -c $(cflags) $< | |
| 202 | |
| 460 | 203 .PHONY : all maybe-blessmail install uninstall check |
| 428 | 204 |
| 460 | 205 all: ${PROGS} |
| 428 | 206 |
| 207 ## Make symlinks for shell scripts if using --srcdir | |
| 460 | 208 ${SCRIPTS}: |
| 428 | 209 for f in ${SCRIPTS}; do \ |
| 210 if test ! -r $$f; then ${LN_S} ${srcdir}/$$f $$f; fi; \ | |
| 460 | 211 done |
| 428 | 212 |
| 213 #undef MOVEMAIL_NEEDS_BLESSING | |
| 214 #if !defined (MAIL_USE_FLOCK) && ! defined (MAIL_USE_LOCKF) | |
| 215 #define MOVEMAIL_NEEDS_BLESSING | |
| 216 blessmail = blessmail | |
| 217 blessmail: | |
| 776 | 218 ../src/xemacs -batch -no-packages -l ../lisp/blessmail.el |
| 428 | 219 chmod +x $@ |
| 220 #endif /* movemail needs blessing */ | |
| 221 | |
| 222 maybe-blessmail: $(blessmail) | |
| 223 #ifdef MOVEMAIL_NEEDS_BLESSING | |
| 224 ## Do not charge ahead and do it! Let the installer decide. | |
| 225 ## ./blessmail ${archlibdir}/movemail | |
| 226 @if test `wc -l <blessmail` != 2; then \ | |
| 227 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ | |
| 228 echo "*************************************************************";\ | |
| 229 echo "Assuming $$dir is really the mail spool directory, you should";\ | |
| 230 echo "run lib-src/blessmail ${archlibdir}/movemail"; \ | |
| 231 echo "as root, to give movemail appropriate permissions."; \ | |
| 232 echo "Do that after running make install."; \ | |
| 233 echo "You can also do make blessmail. "; \ | |
| 234 echo "*************************************************************";\ | |
| 235 fi | |
| 236 #endif | |
| 237 | |
| 238 do-blessmail: $(blessmail) | |
| 239 #ifdef MOVEMAIL_NEEDS_BLESSING | |
| 240 ./blessmail ${archlibdir}/movemail | |
| 241 #endif | |
| 242 | |
| 243 ## Install the internal utilities. Until they are installed, we can | |
| 244 ## just run them directly from lib-src. | |
| 245 ${archlibdir}: all | |
| 246 @echo; echo "Installing utilities run internally by XEmacs." | |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5402
diff
changeset
|
247 ./make-path $(DESTDIR)${archlibdir} |
| 428 | 248 if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \ |
| 460 | 249 for f in ${PRIVATE_INSTALLABLE_EXES}; do \ |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5402
diff
changeset
|
250 (cd .. && $(INSTALL_PROGRAM) lib-src/$$f $(DESTDIR)${archlibdir}/$$f) ; \ |
| 428 | 251 done ; \ |
| 252 fi | |
| 253 if test "`(cd ${archlibdir} && $(pwd))`" \ | |
| 254 != "`(cd ${srcdir} && $(pwd))`"; then \ | |
| 460 | 255 for f in ${PRIVATE_INSTALLABLE_SCRIPTS}; do \ |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5402
diff
changeset
|
256 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$f $(DESTDIR)${archlibdir}/$$f); \ |
| 428 | 257 done ; \ |
| 258 fi | |
| 259 | |
| 260 install: ${archlibdir} | |
| 261 @echo; echo "Installing utilities for users to run." | |
| 460 | 262 for file in ${PUBLIC_INSTALLABLE_EXES} ; do \ |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5402
diff
changeset
|
263 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} $(DESTDIR)${bindir}/$${file}) ; \ |
| 428 | 264 done |
| 460 | 265 for file in ${PUBLIC_INSTALLABLE_SCRIPTS} ; do \ |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5402
diff
changeset
|
266 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} $(DESTDIR)${bindir}/$${file}) ; \ |
| 428 | 267 done |
| 268 | |
| 269 uninstall: | |
| 460 | 270 cd ${bindir} && $(RM) ${PUBLIC_INSTALLABLES} |
| 271 cd ${archlibdir} && $(RM) ${PRIVATE_INSTALLABLES} | |
| 428 | 272 |
| 273 .PHONY: mostlyclean clean distclean realclean extraclean | |
| 3062 | 274 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig |
| 428 | 275 mostlyclean: |
| 3083 | 276 -$(RM) *.o *.i core |
| 428 | 277 clean: mostlyclean |
| 3083 | 278 -$(RM) ${EXES} *.exe |
| 3062 | 279 distclean-noconfig: clean |
| 3083 | 280 -$(RM) DOC *.tab.c *.tab.h TAGS ellcc.h blessmail config.values |
| 3062 | 281 ## This is used in making a distribution. |
| 282 ## Do not use it on development directories! | |
| 283 distclean: distclean-noconfig | |
| 3083 | 284 -$(RM) GNUmakefile Makefile Makefile.in |
| 3062 | 285 realclean-noconfig: distclean-noconfig |
| 428 | 286 realclean: distclean |
| 3062 | 287 extraclean-noconfig: realclean-noconfig |
| 3083 | 288 -$(RM) *~ \#* |
| 3062 | 289 extraclean: realclean |
| 3083 | 290 -$(RM) *~ \#* |
| 428 | 291 |
| 292 ## Test the contents of the directory. | |
| 293 check: | |
| 460 | 294 @echo "We don't have any tests for lib-src yet." |
| 428 | 295 |
| 296 TAGS: etags | |
| 297 etags *.[ch] | |
| 298 | |
| 299 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA) | |
| 300 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h | |
| 301 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h | |
| 302 ${CC} -c $(cflags) ${srcdir}/getopt.c | |
| 303 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h | |
| 304 ${CC} -c $(cflags) ${srcdir}/getopt1.c | |
| 438 | 305 alloca.o: ${top_srcdir}/src/alloca.c |
| 428 | 306 ${CC} -c $(cflags) ${srcdir}/../src/alloca.c |
| 307 | |
| 438 | 308 regex.o: ${srcdir}/../src/regex.c ${top_srcdir}/src/regex.h |
| 446 | 309 $(CC) -c $(cflags) \ |
| 442 | 310 -DINHIBIT_STRING_HEADER ${top_srcdir}/src/regex.c |
| 428 | 311 |
| 3972 | 312 etags_args = $(cflags) -DEMACS_NAME='"XEmacs"' -DVERSION='"${etags_xemacs_version}"' \ |
| 709 | 313 ${srcdir}/etags.c $(GETOPTOBJS) regex.o $(ldflags) |
| 438 | 314 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h |
| 428 | 315 |
| 316 etags: ${etags_deps} | |
| 317 $(CC) ${etags_args} -o $@ | |
| 318 | |
| 438 | 319 ellcc_args = $(cflags) ${srcdir}/ellcc.c $(ldflags) |
| 428 | 320 ellcc_deps = ${srcdir}/ellcc.c ellcc.h ../src/config.h |
| 321 | |
| 322 ellcc: ${ellcc_deps} | |
| 323 $(CC) ${ellcc_args} -o $@ | |
| 324 | |
| 3972 | 325 ## #### we should probably do the same as for pot's etags |
| 438 | 326 ootags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/ootags.c \ |
| 428 | 327 $(GETOPTOBJS) regex.o $(ldflags) |
| 438 | 328 ootags_deps = ${srcdir}/ootags.c $(GETOPTDEPS) regex.o ../src/config.h |
| 428 | 329 |
| 330 ootags: ${ootags_deps} | |
| 331 $(CC) ${ootags_args} -o $@ | |
| 332 | |
| 333 ## ctags depends on etags to assure that parallel makes do not write | |
| 334 ## two etags.o files on top of each other. | |
| 335 ctags: ${etags_deps} etags | |
| 336 $(CC) -DCTAGS ${etags_args} -o $@ | |
| 337 | |
| 338 profile: ${srcdir}/profile.c | |
| 339 $(CC) $(cflags) ${srcdir}/profile.c $(ldflags) -o $@ | |
| 340 | |
| 341 make-docfile: ${srcdir}/make-docfile.c | |
| 342 $(CC) $(cflags) ${srcdir}/make-docfile.c $(ldflags) -o $@ | |
| 343 | |
| 344 digest-doc: ${srcdir}/digest-doc.c | |
| 446 | 345 $(CC) -Demacs $(cflags) ${srcdir}/digest-doc.c $(ldflags) -o $@ |
| 428 | 346 |
| 347 sorted-doc: ${srcdir}/sorted-doc.c | |
| 348 $(CC) $(cflags) ${srcdir}/sorted-doc.c $(ldflags) -o $@ | |
| 349 | |
| 350 b2m: ${srcdir}/b2m.c ../src/config.h | |
| 351 $(CC) $(cflags) ${srcdir}/b2m.c $(ldflags) -o $@ | |
| 352 | |
| 353 movemail: ${srcdir}/movemail.c ${srcdir}/pop.c ${srcdir}/pop.h $(GETOPTDEPS) regex.o \ | |
| 354 ../src/config.h | |
| 355 $(CC) $(cflags) ${MOVE_FLAGS} ${srcdir}/movemail.c ${srcdir}/pop.c \ | |
| 356 $(GETOPTOBJS) regex.o $(ldflags) ${MOVE_LIBS} -o $@ | |
| 357 | |
| 358 cvtmail: ${srcdir}/cvtmail.c | |
| 359 $(CC) $(cflags) ${srcdir}/cvtmail.c $(ldflags) -o $@ | |
| 360 | |
| 361 fakemail: ${srcdir}/fakemail.c ../src/config.h | |
| 362 $(CC) $(cflags) ${srcdir}/fakemail.c $(ldflags) -o $@ | |
| 363 | |
| 442 | 364 i: ${srcdir}/i.c |
| 365 $(CC) $(cflags) ${srcdir}/i.c $(ldflags) -o $@ | |
| 366 | |
| 367 minitar: ${srcdir}/../nt/minitar.c | |
| 368 $(CC) $(cflags) ${srcdir}/../nt/minitar.c $(ldflags) -lz -o $@ | |
| 369 | |
| 819 | 370 winclient: ${srcdir}/winclient.c |
| 371 $(CC) $(cflags) ${srcdir}/winclient.c $(ldflags) -o $@ | |
| 372 | |
| 428 | 373 hexl: ${srcdir}/hexl.c |
| 374 $(CC) $(cflags) ${srcdir}/hexl.c $(ldflags) -o $@ | |
| 375 | |
| 442 | 376 make-dump-id: ${srcdir}/make-dump-id.c |
| 377 $(CC) $(cflags) ${srcdir}/make-dump-id.c $(ldflags) -o $@ | |
| 378 | |
| 2720 | 379 #ifndef DUMP_IN_EXEC |
| 2015 | 380 insert-data-in-exec: ${srcdir}/insert-data-in-exec.c |
| 381 $(CC) $(cflags) ${srcdir}/insert-data-in-exec.c $(ldflags) -o $@ | |
| 2720 | 382 #endif /* not DUMP_IN_EXEC */ |
| 2015 | 383 |
| 428 | 384 cflags_gnuserv = $(CFLAGS) $(cppflags) $(c_switch_all) |
| 385 ldflags_gnuserv = $(LDFLAGS) $(ld_switch_all) @libs_xauth@ $(ld_libs_general) | |
| 386 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h | |
| 387 $(CC) -c $(cflags_gnuserv) ${srcdir}/gnuslib.c | |
| 388 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h | |
| 389 $(CC) $(cflags_gnuserv) ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv} -o $@ | |
| 390 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h | |
| 391 $(CC) $(cflags_gnuserv) ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv} -o $@ | |
| 392 | |
| 393 ## mmencode binary is used by tm - but is really part of the metamail package | |
| 394 ## mmencode.c was merged copy of mmencode.c and codes.c of metamail | |
| 395 mmencode : ${srcdir}/mmencode.c | |
| 1886 | 396 $(CC) $(cflags) ${srcdir}/mmencode.c $(ldflags) -o $@ |
| 428 | 397 |
| 398 | |
| 399 ## The timer utility (timer.c, getdate.y) is not used in XEmacs | |
| 400 ## because XEmacs provides built-in timer facilities. | |
| 401 | |
| 402 make-path: ${srcdir}/make-path.c ../src/config.h | |
| 1886 | 403 $(CC) -Demacs $(cflags) ${srcdir}/make-path.c $(ldflags) -o $@ |
