annotate lib-src/Makefile.in @ 3165:6b47ab3b2a88

(display_text_line): Don't call compute_char_face for a non-X frame.
author Richard M. Stallman <rms@gnu.org>
date Thu, 27 May 1993 03:56:12 +0000
parents ce5dcfc00c34
children b901b5e04fbb
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
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
15 # ==================== Things `configure' might edit ====================
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
16
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
17 CC=cc
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
18 CFLAGS=-g
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
19 ALLOCA=
2362
a0505f85e69d * Makefile.in (C_SWITCH_SYSTEM): New variable.
Jim Blandy <jimb@redhat.com>
parents: 2274
diff changeset
20 C_SWITCH_SYSTEM=
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
21 LOADLIBES=
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
22 version=version-not-set
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
23 configname=configuration-name-not-set
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
24
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
25 # ==================== Where To Install Things ====================
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 # 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
28 # 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
29 # the variables below are expressed in terms of this one, so you may
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
30 # not need to change them.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
31 prefix=/usr/local
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
32
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
33 # Like `prefix', but used for architecture-specific files.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
34 exec_prefix=${prefix}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
35
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
36 # Where to install Emacs and other binaries that people will want to
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
37 # run directly (like etags).
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
38 bindir=${exec_prefix}/bin
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 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
41 # rather than directly by users, and other architecture-dependent
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
42 # data. ${archlibdir} is usually below this.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
43 libdir=${exec_prefix}/lib
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
44
3093
84fdb06c337d (install): Don't handle INSTALLABLE_SCRIPTS
Richard M. Stallman <rms@gnu.org>
parents: 3020
diff changeset
45 # Where to find the source code. This is
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
46 # set by the configure script's `--srcdir' option.
3093
84fdb06c337d (install): Don't handle INSTALLABLE_SCRIPTS
Richard M. Stallman <rms@gnu.org>
parents: 3020
diff changeset
47 # However, the value of ${srcdir} in this makefile
84fdb06c337d (install): Don't handle INSTALLABLE_SCRIPTS
Richard M. Stallman <rms@gnu.org>
parents: 3020
diff changeset
48 # is not identical to what was specified with --srcdir.
84fdb06c337d (install): Don't handle INSTALLABLE_SCRIPTS
Richard M. Stallman <rms@gnu.org>
parents: 3020
diff changeset
49 # The variable here has `/lib-src' added at the end.
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
50 srcdir=@srcdir@/lib-src
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
51 VPATH=@srcdir@/lib-src
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
52
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
53 # ==================== Emacs-specific directories ====================
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
54
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
55 # 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
56 # 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
57
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
58 # 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
59 # 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
60 # so that multiple configurations for multiple versions of Emacs may
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
61 # be installed at once.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
62 archlibdir=${libdir}/emacs/${version}/${configname}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
63
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
64 # ====================== Developer's configuration =======================
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
65
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
66 # The following assignments make sense if you're running Emacs on a single
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
67 # machine, one version at a time, and you want changes to the lisp and etc
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
68 # directories in the source tree to show up immediately in your working
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
69 # environment. It saves a great deal of disk space by not duplicating the
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
70 # lisp and etc directories.
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
71 #
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
72 # archlibdir=${srcdir}/bin
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
73
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
74 # ==================== Utility Programs for the Build ====================
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
75
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76 # Allow the user to specify the install program.
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
77 INSTALL = install
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
78 INSTALLFLAGS = -c
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
79 INSTALL_PROGRAM = ${INSTALL}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
80 INSTALL_DATA = ${INSTALL}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
81
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
82 # ============================= Targets ==============================
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
83
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
84 # 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
85 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
86 INSTALLABLE_SCRIPTS = rcs-checkin
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 # Things that Emacs runs internally, or during the build process,
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
89 # which should not be installed in bindir.
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
90 UTILITIES= test-distrib make-path wakeup make-docfile digest-doc sorted-doc \
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
91 movemail cvtmail fakemail yow env emacsserver hexl timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
92
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
93 # 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
94 # deleted by the distclean target.
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
95 SCRIPTS= rcs2log vcdiff
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
96
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
97 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
98
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
99 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
100 makedoc.com *.[chy] rcs2log vcdiff
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
101
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
102 ### 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
103 ### 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
104 ### 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
105 ### the information in ../src/config.h.
3160
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
106 ALL_CFLAGS = ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H -I${srcdir} -I${srcdir}/../src ${CFLAGS}
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
107 .c.o:
2861
6ecacffe7f92 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
Jim Blandy <jimb@redhat.com>
parents: 2811
diff changeset
108 ${CC} -c ${CPPFLAGS} ${ALL_CFLAGS} $<
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
109
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
110 all: ${EXECUTABLES}
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
111
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
112 ### 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
113 ### just run them directly from lib-src.
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
114 ${archlibdir}: all
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
115 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
116 @echo "Installing utilities run internally by Emacs."
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
117 ./make-path ${archlibdir}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
118 if [ `(cd ${archlibdir};/bin/pwd)` != `/bin/pwd` ]; then \
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
119 for file in ${UTILITIES} ${INSTALLABLES}; do \
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
120 cp $${file} ${archlibdir} ; \
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
121 chmod 755 ${archlibdir}/$${file} ; \
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
122 done ; \
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
123 cd ${srcdir}; for file in ${SCRIPTS} ${INSTALLABLE_SCRIPTS}; do \
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
124 cp $${file} ${archlibdir} ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
125 chmod 755 ${archlibdir}/$${file} ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
126 done ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
127 fi
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
128 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
129 @echo "Changing the owner and group of Emacs's utility programs to \`bin'."
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
130 @echo "(You may ignore errors here if you don't care about this.)"
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
131 -for file in ${EXECUTABLES} ; do \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
132 chgrp bin ${archlibdir}/$${file} ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
133 chown bin ${archlibdir}/$${file} ; \
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
134 done
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
135
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
136 # 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
137 # this whole directory is copied.
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
138 install: ${archlibdir}
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
139 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
140 @echo "Installing utilities for users to run."
3159
f877f11c8f20 * Makefile.in (install): Do install the programs listed in
Jim Blandy <jimb@redhat.com>
parents: 3093
diff changeset
141 for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
142 cp $${file} ${bindir}/$${file}.new ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
143 chmod 755 ${bindir}/$${file}.new ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
144 done
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
145 @echo
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
146 @echo "Changing the owner and group of utility programs to \`bin'."
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
147 @echo "(You may ignore errors here if you don't care about this.)"
3159
f877f11c8f20 * Makefile.in (install): Do install the programs listed in
Jim Blandy <jimb@redhat.com>
parents: 3093
diff changeset
148 -for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS} ; do \
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
149 chgrp bin ${bindir}/$${file}.new ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
150 chown bin ${bindir}/$${file}.new ; \
3093
84fdb06c337d (install): Don't handle INSTALLABLE_SCRIPTS
Richard M. Stallman <rms@gnu.org>
parents: 3020
diff changeset
151 rm -f ${bindir}/$${file} ; \
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
152 mv ${bindir}/$${file}.new ${bindir}/$${file} ; \
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
153 done
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
154
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
155 clean mostlyclean:
1112
1dba066c1e0a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 999
diff changeset
156 -rm -f ${INSTALLABLES} ${UTILITIES} core *.o
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
157
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
158 distclean:
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
159 -rm -f ${INSTALLABLES} ${UTILITIES} ../etc/DOC* core *.o
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
160
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
161 realclean: distclean
1675
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
162 -rm TAGS aixcc.c
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
163
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
164 extraclean: realclean
2d6fee9f818d * Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents: 1659
diff changeset
165 -rm -f *~ \#*
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
166
2262
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
167 unlock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
168 chmod u+w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
169
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
170 relock:
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
171 chmod u-w $(SOURCES)
29579cd51981 Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 1675
diff changeset
172
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
173 # Test the contents of the directory.
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
174 check:
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
175 @echo "We don't have any tests for GNU Emacs yet."
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
176
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
177 TAGS: etags
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
178 etags *.[ch]
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
179
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
180 # This verifies that the non-ASCII characters in the file `testfile'
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
181 # have not been clobbered by whatever means were used to copy and
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
182 # distribute Emacs. If they were clobbered, all the .elc files were
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
183 # clobbered too.
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
184 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
185 $(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
186 ./test-distrib ${srcdir}/testfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
187
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
188 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
189 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h
3160
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
190 getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h
ce5dcfc00c34 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents: 3159
diff changeset
191 getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
192
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
193 etags: ${srcdir}/etags.c $(GETOPTDEPS)
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
194 $(CC) ${ALL_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
195
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
196 ctags: ${srcdir}/etags.c $(GETOPTDEPS)
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
197 $(CC) ${ALL_CFLAGS} -DCTAGS ${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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
202 make-docfile: ${srcdir}/make-docfile.c
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
203 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
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 digest-doc: ${srcdir}/digest-doc.c
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
206 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
207
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
208 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
c0f75cf9ae35 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
Jim Blandy <jimb@redhat.com>
parents: 3018
diff changeset
209 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
210
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
211 b2m: ${srcdir}/b2m.c ../src/config.h
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
212 $(CC) -I${srcdir}/../src ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m
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 movemail: ${srcdir}/movemail.c ../src/config.h
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
215 $(CC) -I${srcdir}/../src ${ALL_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail
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 cvtmail: ${srcdir}/cvtmail.c
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
218 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
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 fakemail: ${srcdir}/fakemail.c ../src/config.h
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
221 $(CC) -I${srcdir}/../src ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
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 yow: ${srcdir}/yow.c ../src/paths.h
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
224 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
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 env: ${srcdir}/env.c ../src/config.h
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
227 $(CC) -DEMACS -I${srcdir}/../src ${ALL_CFLAGS} ${srcdir}/env.c $(LOADLIBES) -o env
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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
230 $(CC) -I${srcdir}/../src ${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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
233 $(CC) -I${srcdir}/../src ${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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
241 $(CC) -I${srcdir}/../src $(ALL_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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
diff changeset
244 $(CC) -c -I${srcdir}/../src $(ALL_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}
f1d4c6a5976a * timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents: 3009
diff changeset
246 $(CC) -I${srcdir}/../src $(ALL_CFLAGS) ${TIMEROBJS} -o timer
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
247
2810
c73cb6a77a61 Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents: 2501
diff changeset
248 make-path: ${srcdir}/make-path.c
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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
2811
6cc1bf599a56 The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2810
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