annotate lib-src/Makefile.in.in @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 2f8bb876ab1d
children 697ef44129c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
1 ## Makefile for lib-src subdirectory in XEmacs.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
3 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
5 ## This file is part of XEmacs.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
7 ## XEmacs is free software; you can redistribute it and/or modify it
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
8 ## under the terms of the GNU General Public License as published by the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
9 ## Free Software Foundation; either version 2, or (at your option) any
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
10 ## later version.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
12 ## XEmacs is distributed in the hope that it will be useful, but WITHOUT
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
13 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
14 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
15 ## for more details.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
17 ## You should have received a copy of the GNU General Public License
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
18 ## along with XEmacs; see the file COPYING. If not, write to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
19 ## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
20 ## Boston, MA 02111-1307, USA.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
22 ## Note: FSF Makefile.in.in does something weird so that the comments
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
23 ## above a certain point in this file are in shell format instead of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
24 ## in C format. How the hell is this supposed to work? */
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
25
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
26 ## For performance and consistency, no built-in rules
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
27 .SUFFIXES:
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
28 .SUFFIXES: .c .h .o
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
29 ## ==================== Things "configure" will edit ====================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
31 @SET_MAKE@
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
32 SHELL = /bin/sh
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
33 RM = rm -f
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
34 pwd = /bin/pwd
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
35
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 CC=@CC@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
37 CPP=@CPP@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 CFLAGS=@CFLAGS@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
39 CPPFLAGS=@CPPFLAGS@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
40 LDFLAGS=@LDFLAGS@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 ALLOCA=@ALLOCA@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 LN_S=@LN_S@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 version=@version@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
45 ## This will be the name of the generated binary and is set automatically
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
46 ## by configure.
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
47 PROGNAME=@PROGNAME@
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
48
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
49 ## ==================== Where To Install Things ====================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
51 prefix=@prefix@
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
52 exec_prefix=@exec_prefix@
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
53 bindir=@bindir@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 libdir=@libdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 srcdir=@srcdir@
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
56 datadir=@datadir@
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
57 instvardir=@instvardir@
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
58 top_srcdir=@top_srcdir@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 archlibdir=@archlibdir@
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
60 configuration=@configuration@
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
61 moduledir=@moduledir@
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
62 sitemoduledir=@sitemoduledir@
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
63
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
64 ## ==================== Utility Programs for the Build =================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 272
diff changeset
66 INSTALL = @install_pp@ @INSTALL@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 INSTALL_PROGRAM = @INSTALL_PROGRAM@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 INSTALL_DATA = @INSTALL_DATA@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
70 ## ========================== Lists of Files ===========================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
72 #define NO_SHORTNAMES
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
73 #define NOT_C_CODE
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
74 #include "../src/config.h"
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
75
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
76 ## Things that a user might actually run,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
77 ## which should be installed in bindir.
410
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
78 #ifdef WIN32_NATIVE
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
79 INSTALLABLES_BASE = etags ctags b2m ootags
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
80 #else
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
81 INSTALLABLES_BASE = etags ctags b2m gnuclient ootags
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
82 #endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
83 INSTALLABLE_SCRIPTS = rcs-checkin gnudoit gnuattach
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
84 #ifdef HAVE_SHLIB
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
85 INSTALLABLES = $(INSTALLABLES_BASE) ellcc
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
86 #else
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
87 INSTALLABLES = $(INSTALLABLES_BASE)
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
88 #endif
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
89
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
91 ## Things that Emacs runs internally, or during the build process,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
92 ## which should not be installed in bindir.
410
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
93 #ifdef WIN32_NATIVE
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
94 UTILITIES= make-path wakeup profile make-docfile digest-doc \
410
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
95 sorted-doc movemail cvtmail yow i hexl \
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
96 mmencode minitar
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
97 #else
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 UTILITIES= make-path wakeup profile make-docfile digest-doc \
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
99 sorted-doc movemail cvtmail fakemail yow hexl \
181
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 179
diff changeset
100 gnuserv mmencode
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
101 #endif
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
102 ## These need to be conditional on I18N3 make-msgfile make-po
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
104 ## Like UTILITIES, but they are not system-dependent, and should not be
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
105 ## deleted by the distclean target.
375
a300bb07d72d Import from CVS: tag r21-2b3
cvs
parents: 371
diff changeset
106 GEN_SCRIPTS = rcs2log vcdiff gzip-el.sh
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
107 PKG_SCRIPTS = add-big-package.sh
375
a300bb07d72d Import from CVS: tag r21-2b3
cvs
parents: 371
diff changeset
108 SCRIPTS = $(GEN_SCRIPTS) $(PKG_SCRIPTS)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 22
diff changeset
113 makedoc.com *.[chy] $(SCRIPTS)
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
114 ## Additional -D flags for movemail (add to MOVE_FLAGS if desired):
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
115 ## MAIL_USE_POP Support mail retrieval from a POP mailbox.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
116 ## MAIL_USE_MMDF Support MMDF mailboxes.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
117 ## MAIL_USE_FLOCK Use flock for file locking (see the comments
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
118 ## about locking in movemail.c)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
119 ## MAIL_UNLINK_SPOOL Unlink the user spool mailbox after reading
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
120 ## it (instead of just emptying it).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
121 ## KERBEROS Support Kerberized POP.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
122 ## KRB5 Support Kerberos Version 5 pop instead of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
123 ## Version 4 (define this in addition to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
124 ## KERBEROS).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
125 ## HESIOD Support Hesiod lookups of user mailboxes.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
126 ## MAILHOST A string, the host name of the default POP
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
127 ## mail host for the site.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
128
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
129 MOVE_FLAGS=
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
130 ##
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
131 ## Additional libraries for movemail:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
132 ## For KERBEROS
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
133 ## MOVE_LIBS= -lkrb -ldes -lcom_err
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
134 ## For KERBEROS + KRB5
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
135 ## MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
136 ## Add "-lhesiod" if HESIOD is defined.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
137
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
138 MOVE_LIBS=
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 114
diff changeset
139
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
140 ## ========================== start of cpp stuff =======================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 #ifdef USE_GNU_MAKE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 vpath %.c @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 vpath %.h @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 VPATH=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
149 c_switch_general=@c_switch_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
150 c_switch_all=@c_switch_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
151 ld_switch_general=@ld_switch_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
152 ld_switch_all=@ld_switch_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
153 ld_libs_general=@ld_libs_general@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
155 ## We need to #define emacs to get the right versions of some files.
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
156
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
157 ## To understand the order of -I flags, consider what happens if you run
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
158 ## ./configure in the source tree, and then run
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
159 ## $(srcdir).2.26/configure in some other build tree.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
160 ## Where will the generated files like config.h be included from?
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
161 ## This is also why you _must_ use <...> instead of "..."
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
162 ## when #include'ing generated files.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
163 cppflags = -Demacs -I. -I../src -I$(srcdir) -I$(top_srcdir)/src $(CPPFLAGS)
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
164 cflags = $(CFLAGS) $(cppflags) $(c_switch_general)
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
165 ldflags = $(LDFLAGS) $(ld_switch_general) $(ld_libs_general)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
167 ## This is the default compilation command.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
168 ## But we should never rely on it, because some make version
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
169 ## failed to find it for getopt.o.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
170 ## Using an explicit command made it work.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 .c.o:
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
172 ${CC} -c $(cflags) $<
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
174 .PHONY : all maybe-blessmail install uninstall
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
175
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
176 all: ${UTILITIES} ${INSTALLABLES} srcdir-symlink.stamp
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
178 ## Make symlinks for shell scripts if using --srcdir
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
179 srcdir-symlink.stamp:
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
180 for f in ${SCRIPTS}; do \
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
181 if test ! -r $$f; then ${LN_S} ${srcdir}/$$f $$f; fi; \
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
182 done; \
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
183 touch $@;
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
184
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
185 #undef MOVEMAIL_NEEDS_BLESSING
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
186 #if !defined (MAIL_USE_FLOCK) && ! defined (MAIL_USE_LOCKF)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
187 #define MOVEMAIL_NEEDS_BLESSING
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
188 blessmail = blessmail
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 blessmail:
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 203
diff changeset
190 ../src/xemacs -batch -l ../lisp/blessmail.el
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
191 chmod +x $@
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
192 #endif /* movemail needs blessing */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
194 maybe-blessmail: $(blessmail)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 #ifdef MOVEMAIL_NEEDS_BLESSING
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
196 ## Do not charge ahead and do it! Let the installer decide.
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
197 ## ./blessmail ${archlibdir}/movemail
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
198 @if test `wc -l <blessmail` != 2; then \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
200 echo "*************************************************************";\
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
201 echo "Assuming $$dir is really the mail spool directory, you should";\
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
202 echo "run lib-src/blessmail ${archlibdir}/movemail"; \
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
203 echo "as root, to give movemail appropriate permissions."; \
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
204 echo "Do that after running make install."; \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
205 echo "You can also do make blessmail. "; \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
206 echo "*************************************************************";\
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
210 do-blessmail: $(blessmail)
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
211 #ifdef MOVEMAIL_NEEDS_BLESSING
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
212 ./blessmail ${archlibdir}/movemail
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
213 #endif
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 181
diff changeset
214
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
215 ## Install the internal utilities. Until they are installed, we can
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
216 ## just run them directly from lib-src.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 ${archlibdir}: all
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
218 @echo; echo "Installing utilities run internally by XEmacs."
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 ./make-path ${archlibdir}
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 282
diff changeset
220 if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
221 for f in ${UTILITIES}; do \
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
222 (cd .. && $(INSTALL_PROGRAM) lib-src/$$f ${archlibdir}/$$f) ; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 done ; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 fi
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 282
diff changeset
225 if test "`(cd ${archlibdir} && $(pwd))`" \
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 282
diff changeset
226 != "`(cd ${srcdir} && $(pwd))`"; then \
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
227 for f in ${SCRIPTS}; do \
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
228 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$f ${archlibdir}/$$f); \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 done ; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
232 ## We do not need to install "wakeup" explicitly, because it will be
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
233 ## copied when this whole directory is copied.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 install: ${archlibdir}
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
235 @echo; echo "Installing utilities for users to run."
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 for file in ${INSTALLABLES} ; do \
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
237 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 done
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 for file in ${INSTALLABLE_SCRIPTS} ; do \
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
240 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 done
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 uninstall:
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
244 (cd ${bindir} && \
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
245 $(RM) ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
246 (cd ${archlibdir} && \
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
247 $(RM) ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 167
diff changeset
249 .PHONY: mostlyclean clean distclean realclean extraclean
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 mostlyclean:
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 167
diff changeset
251 $(RM) *.o *.i core
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 clean: mostlyclean
259
11cf20601dec Import from CVS: tag r20-5b28
cvs
parents: 219
diff changeset
253 $(RM) ${INSTALLABLES} ${UTILITIES} *.exe
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 distclean: clean
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
255 $(RM) DOC *.tab.c *.tab.h aixcc.c TAGS ellcc.h
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
256 $(RM) GNUmakefile Makefile Makefile.in blessmail config.values
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 realclean: distclean
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 167
diff changeset
258 extraclean: distclean
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
259 $(RM) *~ \#*
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 167
diff changeset
261 .PHONY: unlock relock check
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 unlock:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 chmod u+w $(SOURCES)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 relock:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 chmod u-w $(SOURCES)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
267 ## Test the contents of the directory.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 check:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 @echo "We don't have any tests for XEmacs yet."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 TAGS: etags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 etags *.[ch]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
277 ${CC} -c $(cflags) ${srcdir}/getopt.c
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
279 ${CC} -c $(cflags) ${srcdir}/getopt1.c
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
280 alloca.o: ${top_srcdir}/src/alloca.c
175
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 173
diff changeset
281 ${CC} -c $(cflags) ${srcdir}/../src/alloca.c
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
283 regex.o: ${srcdir}/../src/regex.c ${top_srcdir}/src/regex.h
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
284 $(CC) -c `echo $(cflags) | sed 's/-Demacs/ /'` \
410
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
285 -DINHIBIT_STRING_HEADER ${top_srcdir}/src/regex.c
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
287 etags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/etags.c \
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 183
diff changeset
288 $(GETOPTOBJS) regex.o $(ldflags)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
289 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
291 etags: ${etags_deps}
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
292 $(CC) ${etags_args} -o $@
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
293
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
294 ellcc_args = $(cflags) ${srcdir}/ellcc.c $(ldflags)
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
295 ellcc_deps = ${srcdir}/ellcc.c ellcc.h ../src/config.h
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
296
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
297 ellcc: ${ellcc_deps}
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 382
diff changeset
298 $(CC) ${ellcc_args} -o $@
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
299
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
300 ootags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/ootags.c \
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
301 $(GETOPTOBJS) regex.o $(ldflags)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
302 ootags_deps = ${srcdir}/ootags.c $(GETOPTDEPS) regex.o ../src/config.h
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
303
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
304 ootags: ${ootags_deps}
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
305 $(CC) ${ootags_args} -o $@
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 276
diff changeset
306
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
307 ## ctags depends on etags to assure that parallel makes do not write
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
308 ## two etags.o files on top of each other.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
309 ctags: ${etags_deps} etags
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
310 $(CC) -DCTAGS ${etags_args} -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 wakeup: ${srcdir}/wakeup.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
313 $(CC) $(cflags) ${srcdir}/wakeup.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 profile: ${srcdir}/profile.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
316 $(CC) $(cflags) ${srcdir}/profile.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 make-docfile: ${srcdir}/make-docfile.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
319 $(CC) $(cflags) ${srcdir}/make-docfile.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 digest-doc: ${srcdir}/digest-doc.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
322 $(CC) $(cflags) ${srcdir}/digest-doc.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323
175
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 173
diff changeset
324 sorted-doc: ${srcdir}/sorted-doc.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
325 $(CC) $(cflags) ${srcdir}/sorted-doc.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 b2m: ${srcdir}/b2m.c ../src/config.h
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
328 $(CC) $(cflags) ${srcdir}/b2m.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329
377
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 375
diff changeset
330 movemail: ${srcdir}/movemail.c ${srcdir}/pop.c ${srcdir}/pop.h $(GETOPTDEPS) regex.o \
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 375
diff changeset
331 ../src/config.h
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 375
diff changeset
332 $(CC) $(cflags) ${MOVE_FLAGS} ${srcdir}/movemail.c ${srcdir}/pop.c \
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 375
diff changeset
333 $(GETOPTOBJS) regex.o $(ldflags) ${MOVE_LIBS} -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 cvtmail: ${srcdir}/cvtmail.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
336 $(CC) $(cflags) ${srcdir}/cvtmail.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 fakemail: ${srcdir}/fakemail.c ../src/config.h
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
339 $(CC) $(cflags) ${srcdir}/fakemail.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 yow: ${srcdir}/yow.c ../src/paths.h
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
342 $(CC) $(cflags) ${srcdir}/yow.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343
410
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
344 i: ${srcdir}/i.c
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
345 $(CC) $(cflags) ${srcdir}/i.c $(ldflags) -o $@
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
346
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
347 minitar: ${srcdir}/../nt/minitar.c
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
348 $(CC) $(cflags) ${srcdir}/../nt/minitar.c $(ldflags) -lz -o $@
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 404
diff changeset
349
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 hexl: ${srcdir}/hexl.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
351 $(CC) $(cflags) ${srcdir}/hexl.c $(ldflags) -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
353 make-msgfile: ${srcdir}/make-msgfile.c
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
354 $(CC) $(cflags) ${srcdir}/make-msgfile.c $(ldflags) -o $@
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
355
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
356 make-po: ${srcdir}/make-po.c
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
357 $(CC) $(cflags) ${srcdir}/make-po.c $(ldflags) -o $@
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
358
404
2f8bb876ab1d Import from CVS: tag r21-2-32
cvs
parents: 398
diff changeset
359 make-dump-id: ${srcdir}/make-dump-id.c
2f8bb876ab1d Import from CVS: tag r21-2-32
cvs
parents: 398
diff changeset
360 $(CC) $(cflags) ${srcdir}/make-dump-id.c $(ldflags) -o $@
2f8bb876ab1d Import from CVS: tag r21-2-32
cvs
parents: 398
diff changeset
361
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
362 cflags_gnuserv = $(CFLAGS) $(cppflags) $(c_switch_all)
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
363 ldflags_gnuserv = $(LDFLAGS) $(ld_switch_all) @libs_xauth@ $(ld_libs_general)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
365 $(CC) -c $(cflags_gnuserv) ${srcdir}/gnuslib.c
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
366 gnuclient: ${srcdir}/gnuclient.c gnuslib.o ${srcdir}/gnuserv.h
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
367 $(CC) $(cflags_gnuserv) ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv} -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 gnuserv: ${srcdir}/gnuserv.c gnuslib.o ${srcdir}/gnuserv.h
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
369 $(CC) $(cflags_gnuserv) ${srcdir}/$@.c gnuslib.o ${ldflags_gnuserv} -o $@
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
370
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
371 ## mmencode binary is used by tm - but is really part of the metamail package
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
372 ## mmencode.c was merged copy of mmencode.c and codes.c of metamail
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 12
diff changeset
373 mmencode : ${srcdir}/mmencode.c
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 259
diff changeset
374 $(CC) $(cflags) ${srcdir}/mmencode.c -o $@
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 12
diff changeset
375
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
376
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
377 ## The timer utility (timer.c, getdate.y) is not used in XEmacs
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
378 ## because XEmacs provides built-in timer facilities.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 make-path: ${srcdir}/make-path.c ../src/config.h
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
381 $(CC) $(cflags) ${srcdir}/make-path.c -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
383 ## These are NOT included in INSTALLABLES or UTILITIES.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
384 ## See ../src/Makefile.in.in.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 aixcc: ${srcdir}/aixcc.c
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
386 $(CC) $(cflags) ${srcdir}/aixcc.c -o $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 aixcc.c: ${srcdir}/aixcc.lex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 lex ${srcdir}/aixcc.lex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 mv lex.yy.c aixcc.c