annotate lib-src/Makefile.in @ 6788:4c912c5779f5

(internal_self_insert): Test Vafter_change_functions, Vbefore_change_functions.
author Richard M. Stallman <rms@gnu.org>
date Sun, 10 Apr 1994 02:34:21 +0000
parents 14a632f13a68
children ffd959526822
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 # DIST: This is the distribution Makefile for Emacs. configure can
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 # DIST: make most of the changes to this file you might want, so try
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 # DIST: that first.
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 # add -DUSG for SysV movemail and timer
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 # For Xenix, add the following for movemail:
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 # LOADLIBES= -lx
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 # For Mips, the following is needed for who knows what.
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 # LOADLIBES = -lmld /usr/bsd43/usr/lib/libc.a
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 # Avoid trouble on systems where the `SHELL' variable might be
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 # inherited from the environment.
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 SHELL = /bin/sh
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
15 # ==================== Things `configure' will edit ====================
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
16
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
17 CC=@CC@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
18 CFLAGS=@CFLAGS@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
19 ALLOCA=@ALLOCA@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
20 C_SWITCH_SYSTEM=@c_switch_system@
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
21 C_SWITCH_MACHINE=@c_switch_machine@
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
22 LOADLIBES=@libsrc_libs@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
23 YACC=@YACC@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
24 version=@version@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
25 configname=@configuration@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
26
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
27 # ==================== Where To Install Things ====================
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
28
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
29 # The default location for installation. Everything is placed in
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
30 # subdirectories of this directory. The default values for many of
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
31 # the variables below are expressed in terms of this one, so you may
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
32 # not need to change them. This is set with the --prefix option to
4808
87a507860be7 Fixed typos or brainos of whoever though `@' was the comment char.
Roland McGrath <roland@gnu.org>
parents: 4802
diff changeset
33 # `../configure'.
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
34 prefix=@prefix@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
35
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
36 # Like `prefix', but used for architecture-specific files. This is
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
37 # set with the --exec-prefix option to `../configure'.
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
38 exec_prefix=@exec_prefix@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
39
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
40 # Where to install Emacs and other binaries that people will want to
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
41 # run directly (like etags). This is set with the --bindir option
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
42 # to `../configure'.
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
43 bindir=@bindir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
44
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
45 # Where to install and expect executable files to be run by Emacs
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
46 # rather than directly by users, and other architecture-dependent
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
47 # data. ${archlibdir} is usually below this. This is set with the
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
48 # --libdir option to `../configure'.
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
49 libdir=@libdir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
50
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
51 # Where to find the source code. This is set by the configure
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
52 # script's `--srcdir' option. However, the value of ${srcdir} in
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
53 # this makefile is not identical to what was specified with --srcdir,
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
54 # since the variable here has `/lib-src' added at the end.
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
55 srcdir=@srcdir@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
56 VPATH=@srcdir@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
57
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
58 # ==================== Emacs-specific directories ====================
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
59
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
60 # These variables hold the values Emacs will actually use. They are
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
61 # based on the values of the standard Make variables above.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
62
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
63 # Where to put executables to be run by Emacs rather than the user.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
64 # This path usually includes the Emacs version and configuration name,
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
65 # so that multiple configurations for multiple versions of Emacs may
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
66 # be installed at once. This can be set with the --archlibdir option
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
67 # to `../configure'.
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
68 archlibdir=@archlibdir@
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
69
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
70 # ==================== Utility Programs for the Build ====================
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
71
4808
87a507860be7 Fixed typos or brainos of whoever though `@' was the comment char.
Roland McGrath <roland@gnu.org>
parents: 4802
diff changeset
72 # ../configure figures out the correct values for these.
4800
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
73 INSTALL = @INSTALL@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
74 INSTALL_PROGRAM = @INSTALL_PROGRAM@
d41c009d6ac6 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
Brian Fox <bfox@gnu.org>
parents: 4694
diff changeset
75 INSTALL_DATA = @INSTALL_DATA@
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
76
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
77 # ============================= Targets ==============================
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
78
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
79 # Things that a user might actually run, which should be installed in bindir.
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
80 INSTALLABLES = etags ctags emacsclient b2m
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
81 INSTALLABLE_SCRIPTS = rcs-checkin
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
82
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
83 # Things that Emacs runs internally, or during the build process,
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
84 # which should not be installed in bindir.
5789
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
85 UTILITIES= test-distrib make-path wakeup profile make-docfile digest-doc \
6431
7b1ae3d4534c (UTILITIES): `env' deleted.
Richard M. Stallman <rms@gnu.org>
parents: 6351
diff changeset
86 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
87
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
88 # Like UTILITIES, but they're not system-dependent, and should not be
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
89 # deleted by the distclean target.
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
90 SCRIPTS= rcs2log vcdiff
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
91
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
92 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
93
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
94 SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
95 makedoc.com *.[chy] rcs2log vcdiff
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
96
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
97 ### We need to #define emacs to get the right versions of some files.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
98 ### Some other files - those shared with other GNU utilities - need
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
99 ### HAVE_CONFIG_H #defined before they know they can take advantage of
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
100 ### the information in ../src/config.h.
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
101 ALL_CFLAGS = ${C_SWITCH_SYSTEM} ${C_SWITCH_MACHINE} -Demacs -DHAVE_CONFIG_H \
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
102 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
103 LINK_CFLAGS = ${C_SWITCH_SYSTEM} ${C_SWITCH_MACHINE} -Demacs -DHAVE_CONFIG_H \
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
104 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
5864
3e0d51feb34f (C_SWITCH_MACHINE): Get this from autoconf.
Richard M. Stallman <rms@gnu.org>
parents: 5789
diff changeset
105 CPP_CFLAGS = ${C_SWITCH_SYSTEM} ${C_SWITCH_MACHINE} -Demacs -DHAVE_CONFIG_H \
4688
7df128f592e3 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
Roland McGrath <roland@gnu.org>
parents: 4593
diff changeset
106 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
3715
b33ee3d1d18d (CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 3582
diff changeset
107 # This is the default compilation command.
b33ee3d1d18d (CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 3582
diff changeset
108 # But we should never rely on it, because some make version
b33ee3d1d18d (CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 3582
diff changeset
109 # failed to find it for getopt.o. Using an explicit command made it work.
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
110 .c.o:
3715
b33ee3d1d18d (CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 3582
diff changeset
111 ${CC} -c ${CPP_CFLAGS} $<
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
112
3428
4a9182ac9d17 (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
Richard M. Stallman <rms@gnu.org>
parents: 3311
diff changeset
113 all: ${UTILITIES} ${INSTALLABLES}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
114
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
115 ### Install the internal utilities. Until they are installed, we can
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
116 ### just run them directly from lib-src.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
117 ${archlibdir}: all
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
118 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
119 @echo "Installing utilities run internally by Emacs."
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
120 ./make-path ${archlibdir}
3311
5d06123fc1df * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
Jim Blandy <jimb@redhat.com>
parents: 3237
diff changeset
121 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
4802
5a3769d017ca (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents: 4800
diff changeset
122 for file in ${UTILITIES}; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
123 (cd ..; $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \
4802
5a3769d017ca (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents: 4800
diff changeset
124 done ; \
5a3769d017ca (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents: 4800
diff changeset
125 for file in ${SCRIPTS}; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
126 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
127 done ; \
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
128 fi
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
129
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
130 # We don't need to install `wakeup' explicitly, because it will be copied when
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
131 # this whole directory is copied.
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
132 install: ${archlibdir}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
133 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
134 @echo "Installing utilities for users to run."
3188
b901b5e04fbb (install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents: 3160
diff changeset
135 for file in ${INSTALLABLES} ; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
136 (cd ..; $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
137 done
3188
b901b5e04fbb (install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents: 3160
diff changeset
138 for file in ${INSTALLABLE_SCRIPTS} ; do \
6351
377e82e70f7e (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
Richard M. Stallman <rms@gnu.org>
parents: 5864
diff changeset
139 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
140 done
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
141
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
142 uninstall:
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
143 (cd ${bindir}; \
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
144 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
145 (cd ${archlibdir}; \
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
146 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
147
5190
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
148 mostlyclean:
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
149 -rm -f core *.o
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
150
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
151 clean: mostlyclean
ffe0be5b64fa (mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents: 5160
diff changeset
152 -rm -f ${INSTALLABLES} ${UTILITIES}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
153
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
154 distclean: clean
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
155 -rm -f ../etc/DOC* *.tab.c *.tab.h aixcc.c TAGS
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
156
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
157 realclean: distclean
3781
6c05414356bc Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents: 3715
diff changeset
158 true
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
159
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
160 extraclean: realclean
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
161 -rm -f *~ \#*
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
162
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
163 unlock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
164 chmod u+w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
165
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
166 relock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
167 chmod u-w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
168
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
169 # Test the contents of the directory.
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
170 check:
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
171 @echo "We don't have any tests for GNU Emacs yet."
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
172
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
173 TAGS: etags
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
174 etags *.[ch]
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
175
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
176 # This verifies that the non-ASCII characters in the file `testfile'
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
177 # have not been clobbered by whatever means were used to copy and
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
178 # distribute Emacs. If they were clobbered, all the .elc files were
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
179 # clobbered too.
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
180 test-distrib: ${srcdir}/test-distrib.c
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
181 $(CC) -o test-distrib ${srcdir}/test-distrib.c
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
182 ./test-distrib ${srcdir}/testfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
183
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
184 GETOPTOBJS = getopt.o getopt1.o $(ALLOCA)
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
185 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
3160
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
186 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
187 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c
3160
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
188 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
3792
d0b5038d2959 * Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents: 3781
diff changeset
189 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
190
4198
4b43be9f5671 (etags): Depend on ../src/config.h.
Richard M. Stallman <rms@gnu.org>
parents: 4162
diff changeset
191 etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h
6532
14a632f13a68 (etags, ctags): Pass -D for VERSION.
Richard M. Stallman <rms@gnu.org>
parents: 6431
diff changeset
192 $(CC) ${ALL_CFLAGS} -DVERSION=${version} ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
193
3876
3bd157da2222 * Makefile.in (ctags): Depend on etags, so that parallel makes
Jim Blandy <jimb@redhat.com>
parents: 3792
diff changeset
194 # We depend on etags to assure that parallel makes don't write two
3bd157da2222 * Makefile.in (ctags): Depend on etags, so that parallel makes
Jim Blandy <jimb@redhat.com>
parents: 3792
diff changeset
195 # etags.o files on top of each other.
3bd157da2222 * Makefile.in (ctags): Depend on etags, so that parallel makes
Jim Blandy <jimb@redhat.com>
parents: 3792
diff changeset
196 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
6532
14a632f13a68 (etags, ctags): Pass -D for VERSION.
Richard M. Stallman <rms@gnu.org>
parents: 6431
diff changeset
197 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION=${version} ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
198
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
199 wakeup: ${srcdir}/wakeup.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
200 $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
201
5789
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
202 profile: ${srcdir}/profile.c
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
203 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
9ea3cf9013cc (profile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5412
diff changeset
204
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
205 make-docfile: ${srcdir}/make-docfile.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
206 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
207
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
208 digest-doc: ${srcdir}/digest-doc.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
209 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
210
3020
c0f75cf9ae35 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
Jim Blandy <jimb@redhat.com>
parents: 3018
diff changeset
211 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
212 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
213
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
214 b2m: ${srcdir}/b2m.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
215 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
216
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
217 movemail: ${srcdir}/movemail.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
218 $(CC) ${ALL_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
219
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
220 cvtmail: ${srcdir}/cvtmail.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
221 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
222
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
223 fakemail: ${srcdir}/fakemail.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
224 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
225
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
226 yow: ${srcdir}/yow.c ../src/paths.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
227 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
228
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
229 emacsserver: ${srcdir}/emacsserver.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
230 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
231
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
232 emacsclient: ${srcdir}/emacsclient.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
233 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
234
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
235 hexl: ${srcdir}/hexl.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
236 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
237
3018
f1d4c6a5976a * timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents: 3009
diff changeset
238 TIMEROBJS=getdate.o timer.o $(ALLOCA)
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
239 getdate.o: ${srcdir}/getdate.y ../src/config.h
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
240 ${YACC} ${YFLAGS} ${srcdir}/getdate.y
4694
3b32fb537ba5 (b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
Roland McGrath <roland@gnu.org>
parents: 4688
diff changeset
241 $(CC) $(CPP_CFLAGS) -c y.tab.c
1573
884891e455cf * Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents: 1282
diff changeset
242 mv y.tab.o getdate.o
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
243 timer.o: ${srcdir}/timer.c ../src/config.h
4694
3b32fb537ba5 (b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
Roland McGrath <roland@gnu.org>
parents: 4688
diff changeset
244 $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c
3018
f1d4c6a5976a * timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents: 3009
diff changeset
245 timer: ${TIMEROBJS}
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
246 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
247
4593
efead3ca0cd4 (make-path): Dep on config.h.
Richard M. Stallman <rms@gnu.org>
parents: 4198
diff changeset
248 make-path: ${srcdir}/make-path.c ../src/config.h
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
249 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path
1659
59aca09e60f8 * Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents: 1573
diff changeset
250
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
251 # These are NOT included in INSTALLABLES or UTILITIES.
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
252 # See ../src/ymakefile.
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
253 emacstool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
254 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
255 -lsuntool -lsunwindow -lpixrect $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
256
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
257 # For SUN Japanese Language Environment
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
258 nemacstool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
259 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
260 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
261
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
262 xvetool: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
263 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
264 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
265 $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
266
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
267 xveterm: ${srcdir}/emacstool.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
268 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
269 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
270 $(LOADLIBES)
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
271
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
272 aixcc: ${srcdir}/aixcc.c
5412
cec4d9434b62 (ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5319
diff changeset
273 $(CC) $(ALL_CFLAGS) -o aixcc ${srcdir}/aixcc.c
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
274
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
275 aixcc.c: ${srcdir}/aixcc.lex
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
276 lex ${srcdir}/aixcc.lex
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
277 mv lex.yy.c aixcc.c