Mercurial > emacs
annotate lib-src/Makefile.in @ 2809:8d00a436bfcc
original log message lost to overeager RCS user -JimB
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Sat, 15 May 1993 21:38:29 +0000 |
| parents | caa2cade8190 |
| children | c73cb6a77a61 |
| rev | line source |
|---|---|
| 616 | 1 # DIST: This is the distribution Makefile for Emacs. configure can |
| 2 # DIST: make most of the changes to this file you might want, so try | |
| 3 # DIST: that first. | |
| 4 | |
| 5 # add -DUSG for SysV movemail and timer | |
| 6 # For Xenix, add the following for movemail: | |
| 7 # LOADLIBES= -lx | |
| 8 # For Mips, the following is needed for who knows what. | |
| 9 # LOADLIBES = -lmld /usr/bsd43/usr/lib/libc.a | |
| 10 | |
| 11 # Avoid trouble on systems where the `SHELL' variable might be | |
| 12 # inherited from the environment. | |
| 13 SHELL = /bin/sh | |
| 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 |
|
2501
caa2cade8190
* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
Jim Blandy <jimb@redhat.com>
parents:
2362
diff
changeset
|
18 DEFS=-g |
|
2362
a0505f85e69d
* Makefile.in (C_SWITCH_SYSTEM): New variable.
Jim Blandy <jimb@redhat.com>
parents:
2274
diff
changeset
|
19 C_SWITCH_SYSTEM= |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
20 LOADLIBES= |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
21 version=version-not-set |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
22 configname=configuration-name-not-set |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
23 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
24 # ==================== Where To Install Things ==================== |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
25 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
26 # 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
|
27 # 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
|
28 # 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
|
29 # not need to change them. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
30 prefix=/usr/local |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
31 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
32 # Like `prefix', but used for architecture-specific files. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
33 exec_prefix=${prefix} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
34 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
35 # 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
|
36 # run directly (like etags). |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
37 bindir=${exec_prefix}/bin |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
38 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
39 # 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
|
40 # 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
|
41 # data. ${archlibdir} is usually below this. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
42 libdir=${exec_prefix}/lib |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
43 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
44 # Where to find the source code - setting this to anything but |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
45 # . doesn't work yet. The source code for Emacs's C kernel is |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
46 # expected to be in ${srcdir}/src, and the source code for Emacs's |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
47 # utility programs is expected to be in ${srcdir}/lib-src. This is |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
48 # set by the configure script's `--srcdir' option. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
49 srcdir=. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
50 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
51 # ==================== Emacs-specific directories ==================== |
|
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 # 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
|
54 # 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
|
55 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
56 # 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
|
57 # 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
|
58 # 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
|
59 # be installed at once. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
60 archlibdir=${libdir}/emacs/${version}/${configname} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
61 |
|
2262
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
62 # ====================== Developer's configuration ======================= |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
63 |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
64 # 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
|
65 # 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
|
66 # 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
|
67 # 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
|
68 # lisp and etc directories. |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
69 # |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
70 # archlibdir=${srcdir}/bin |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
71 |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
72 # ==================== Utility Programs for the Build ==================== |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
73 |
| 616 | 74 # Allow the user to specify the install program. |
| 75 INSTALL = install | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
76 INSTALLFLAGS = -c |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
77 INSTALL_PROGRAM = ${INSTALL} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
78 INSTALL_DATA = ${INSTALL} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
79 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
80 # ============================= Targets ============================== |
| 616 | 81 |
| 1112 | 82 # Things that a user might actually run, which should be installed in bindir. |
|
2274
7afd5e41ed30
Teach it about the new user-runnable command rcs-checkin.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
2262
diff
changeset
|
83 INSTALLABLES = etags ctags emacsclient b2m rcs-checkin |
| 616 | 84 |
| 1112 | 85 # Things that Emacs runs internally, or during the build process, |
| 86 # which should not be installed in bindir. | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
87 UTILITIES= test-distrib make-path wakeup make-docfile digest-doc sorted-doc \ |
| 1112 | 88 movemail cvtmail fakemail yow env emacsserver hexl timer |
| 616 | 89 |
| 1112 | 90 # Like UTILITIES, but they're not system-dependent, and should not be |
| 91 # deleted by the distclean target. | |
| 92 SCRIPTS= rcs2log vcdiff | |
| 93 | |
| 94 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} | |
| 616 | 95 |
|
2262
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
96 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
|
97 makedoc.com *.[chy] rcs2log vcdiff |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
98 |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
99 ### 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
|
100 ### 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
|
101 ### 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
|
102 ### the information in ../src/config.h. |
|
2501
caa2cade8190
* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
Jim Blandy <jimb@redhat.com>
parents:
2362
diff
changeset
|
103 CFLAGS=${DEFS} ${C_SWITCH_SYSTEM} -Demacs -DHAVE_CONFIG_H -I../src |
| 616 | 104 |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
105 all: ${EXECUTABLES} |
| 616 | 106 |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
107 ### 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
|
108 ### just run them directly from lib-src. |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
109 ${archlibdir}: all |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
110 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
111 @echo "Installing utilities run internally by Emacs." |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
112 ./make-path ${archlibdir} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
113 if [ `(cd ${archlibdir};/bin/pwd)` != `/bin/pwd` ]; then \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
114 for file in ${EXECUTABLES} ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
115 cp $${file} ${archlibdir} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
116 chmod 755 ${archlibdir}/$${file} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
117 done ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
118 fi |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
119 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
120 @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
|
121 @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
|
122 -for file in ${EXECUTABLES} ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
123 chgrp bin ${archlibdir}/$${file} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
124 chown bin ${archlibdir}/$${file} ; \ |
| 616 | 125 done |
| 126 | |
| 127 # We don't need to install `wakeup' explicitly, because it will be copied when | |
| 128 # this whole directory is copied. | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
129 install: ${archlibdir} |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
130 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
131 @echo "Installing utilities for users to run." |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
132 for file in emacsclient etags ctags b2m ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
133 cp $${file} ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
134 chmod 755 ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
135 done |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
136 @echo |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
137 @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
|
138 @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
|
139 -for file in emacsclient etags ctags b2m ; do \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
140 chgrp bin ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
141 chown bin ${bindir}/$${file}.new ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
142 mv ${bindir}/$${file}.new ${bindir}/$${file} ; \ |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
143 done |
| 616 | 144 |
| 145 clean mostlyclean: | |
| 1112 | 146 -rm -f ${INSTALLABLES} ${UTILITIES} core *.o |
| 616 | 147 |
| 148 distclean: | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
149 -rm -f ${INSTALLABLES} ${UTILITIES} ../etc/DOC* core *.o |
| 616 | 150 |
| 151 realclean: distclean | |
|
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
152 -rm TAGS aixcc.c |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
153 |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
154 extraclean: realclean |
|
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
155 -rm -f *~ \#* |
| 616 | 156 |
|
2262
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
157 unlock: |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
158 chmod u+w $(SOURCES) |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
159 |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
160 relock: |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
161 chmod u-w $(SOURCES) |
|
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
162 |
| 616 | 163 # Test the contents of the directory. |
| 164 check: | |
| 165 @echo "We don't have any tests for GNU Emacs yet." | |
| 166 | |
| 167 TAGS: etags | |
| 168 etags *.[ch] | |
| 169 | |
| 170 # This verifies that the non-ASCII characters in the file `testfile' | |
| 171 # have not been clobbered by whatever means were used to copy and | |
| 172 # distribute Emacs. If they were clobbered, all the .elc files were | |
| 173 # clobbered too. | |
| 174 test-distrib: test-distrib.c | |
| 175 $(CC) -o test-distrib test-distrib.c | |
| 176 ./test-distrib | |
| 177 | |
| 178 GETOPTOBJS = getopt.o getopt1.o | |
| 179 GETOPTDEPS = $(GETOPTOBJS) getopt.h | |
| 180 getopt.o: getopt.c getopt.h | |
| 181 getopt1.o: getopt1.c getopt.h | |
| 182 | |
| 183 etags: etags.c $(GETOPTDEPS) | |
| 638 | 184 $(CC) ${CFLAGS} -DETAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags |
| 616 | 185 |
| 186 ctags: etags.c $(GETOPTDEPS) | |
| 638 | 187 $(CC) ${CFLAGS} -DCTAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags |
| 616 | 188 |
| 189 wakeup: wakeup.c | |
| 638 | 190 $(CC) ${CFLAGS} wakeup.c $(LOADLIBES) -o wakeup |
| 616 | 191 |
| 192 make-docfile: make-docfile.c | |
| 638 | 193 $(CC) ${CFLAGS} make-docfile.c $(LOADLIBES) -o make-docfile |
| 616 | 194 |
| 195 digest-doc: digest-doc.c | |
| 638 | 196 $(CC) ${CFLAGS} digest-doc.c $(LOADLIBES) -o digest-doc |
| 616 | 197 |
| 198 sorted-doc: sorted-doc.c | |
| 638 | 199 $(CC) ${CFLAGS} sorted-doc.c $(LOADLIBES) -o sorted-doc |
| 616 | 200 |
| 999 | 201 b2m: b2m.c ../src/config.h |
| 638 | 202 $(CC) ${CFLAGS} b2m.c $(LOADLIBES) -o b2m |
| 616 | 203 |
| 204 movemail: movemail.c ../src/config.h | |
| 638 | 205 $(CC) ${CFLAGS} movemail.c $(LOADLIBES) -o movemail |
| 616 | 206 |
| 207 cvtmail: cvtmail.c | |
| 638 | 208 $(CC) ${CFLAGS} cvtmail.c $(LOADLIBES) -o cvtmail |
| 616 | 209 |
| 210 fakemail: fakemail.c ../src/config.h | |
| 638 | 211 $(CC) ${CFLAGS} fakemail.c $(LOADLIBES) -o fakemail |
| 616 | 212 |
| 213 yow: yow.c ../src/paths.h | |
| 638 | 214 $(CC) ${CFLAGS} yow.c $(LOADLIBES) -o yow |
| 616 | 215 |
| 216 env: env.c ../src/config.h | |
| 638 | 217 $(CC) -DEMACS ${CFLAGS} env.c $(LOADLIBES) -o env |
| 616 | 218 |
| 219 emacsserver: emacsserver.c ../src/config.h | |
| 638 | 220 $(CC) ${CFLAGS} emacsserver.c $(LOADLIBES) -o emacsserver |
| 616 | 221 |
| 222 emacsclient: emacsclient.c ../src/config.h | |
| 638 | 223 $(CC) ${CFLAGS} emacsclient.c $(LOADLIBES) -o emacsclient |
| 616 | 224 |
| 225 hexl: hexl.c | |
| 638 | 226 $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl |
| 616 | 227 |
|
1573
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
228 getdate.o: getdate.y ../src/config.h |
|
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
229 ${YACC} ${YFLAGS} getdate.y |
|
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
230 $(CC) $(CFLAGS) -c y.tab.c |
|
884891e455cf
* Makefile.in (getdate.o): Added explicit target for this, so we
Jim Blandy <jimb@redhat.com>
parents:
1282
diff
changeset
|
231 mv y.tab.o getdate.o |
| 616 | 232 timer: getdate.o timer.o |
| 638 | 233 $(CC) $(CFLAGS) getdate.o timer.o -o timer |
| 616 | 234 |
|
1659
59aca09e60f8
* Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents:
1573
diff
changeset
|
235 make-path: make-path.c |
|
59aca09e60f8
* Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents:
1573
diff
changeset
|
236 $(CC) $(CFLAGS) make-path.c -o make-path |
|
59aca09e60f8
* Makefile.in (make-path): New target.
Jim Blandy <jimb@redhat.com>
parents:
1573
diff
changeset
|
237 |
| 616 | 238 # These are NOT included in INSTALLABLES or UTILITIES. |
| 239 # See ../src/ymakefile. | |
| 240 emacstool: emacstool.c | |
| 241 $(CC) emacstool.c -o emacstool ${CFLAGS} \ | |
| 242 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) | |
| 243 | |
| 244 # For SUN Japanese Language Environment | |
| 245 nemacstool: emacstool.c | |
| 246 $(CC) -o nemacstool -DJLE ${CFLAGS} emacstool.c \ | |
| 247 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) | |
| 248 | |
| 249 xvetool: emacstool.c | |
| 250 $(CC) -o xvetool -DXVIEW ${CFLAGS} emacstool.c \ | |
| 251 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ | |
| 252 $(LOADLIBES) | |
| 253 | |
| 254 xveterm: emacstool.c | |
| 255 $(CC) -o xveterm -DXVIEW -DTTERM ${CFLAGS} emacstool.c \ | |
| 256 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ | |
| 257 $(LOADLIBES) | |
| 258 | |
| 259 aixcc: aixcc.c | |
| 260 $(CC) $(CFLAGS) -o aixcc aixcc.c | |
| 261 | |
| 262 aixcc.c: aixcc.lex | |
| 263 lex aixcc.lex | |
| 264 mv lex.yy.c aixcc.c |
