Mercurial > emacs
annotate lib-src/Makefile.in @ 14130:99ab26698ab0
(read1): Use xmalloc and xrealloc, not malloc and realloc.
(dump_path): New static var.
(init_lread): Use that to record dump-time initial path.
Delete the local var dump_path; find Vsource_directory differently.
(syms_of_lread): staticpro it.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 09 Jan 1996 23:40:19 +0000 |
parents | 47fd98cc412a |
children | ee40177f6c68 |
rev | line source |
---|---|
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
1 # Makefile for lib-src subdirectory in GNU Emacs. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
2 # Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
3 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
4 # This file is part of GNU Emacs. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
5 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
6 # GNU Emacs is free software; you can redistribute it and/or modify |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
7 # it under the terms of the GNU General Public License as published by |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
8 # the Free Software Foundation; either version 2, or (at your option) |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
9 # any later version. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
10 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
11 # GNU Emacs is distributed in the hope that it will be useful, |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
14 # GNU General Public License for more details. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
15 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
16 # You should have received a copy of the GNU General Public License |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
17 # along with GNU Emacs; see the file COPYING. If not, write to |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
18 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
19 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
20 # Avoid trouble on systems where the `SHELL' variable might be |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
21 # inherited from the environment. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
22 SHELL = /bin/sh |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
23 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
24 # ==================== Things `configure' will edit ==================== |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
25 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
26 CC=@CC@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
27 CFLAGS=@CFLAGS@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
28 ALLOCA=@ALLOCA@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
29 YACC=@YACC@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
30 version=@version@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
31 configuration=@configuration@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
32 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
33 # ==================== Where To Install Things ==================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
34 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
35 # The default location for installation. Everything is placed in |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
36 # subdirectories of this directory. The default values for many of |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
37 # the variables below are expressed in terms of this one, so you may |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
38 # not need to change them. This is set with the --prefix option to |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
39 # `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
40 prefix=@prefix@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
41 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
42 # Like `prefix', but used for architecture-specific files. This is |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
43 # set with the --exec-prefix option to `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
44 exec_prefix=@exec_prefix@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
45 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
46 # Where to install Emacs and other binaries that people will want to |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
47 # run directly (like etags). This is set with the --bindir option |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
48 # to `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
49 bindir=@bindir@ |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
50 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
51 # Where to install and expect executable files to be run by Emacs |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
52 # rather than directly by users, and other architecture-dependent |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
53 # data. ${archlibdir} is usually below this. This is set with the |
9458
a6d5f1c10986
(libexecdir): Renamed from libdir.
Richard M. Stallman <rms@gnu.org>
parents:
9455
diff
changeset
|
54 # --libexecdir option to `../configure'. |
a6d5f1c10986
(libexecdir): Renamed from libdir.
Richard M. Stallman <rms@gnu.org>
parents:
9455
diff
changeset
|
55 libexecdir=@libexecdir@ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
56 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
57 # Where to find the source code. This is set by the configure |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
58 # script's `--srcdir' option. However, the value of ${srcdir} in |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
59 # this makefile is not identical to what was specified with --srcdir, |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
60 # since the variable here has `/lib-src' added at the end. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
61 srcdir=@srcdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
62 VPATH=@srcdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
63 |
9496 | 64 # The top-level source directory, also set by configure. |
65 top_srcdir=@top_srcdir@ | |
66 | |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
67 # ==================== Emacs-specific directories ==================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
68 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
69 # These variables hold the values Emacs will actually use. They are |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
70 # based on the values of the standard Make variables above. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
71 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
72 # Where to put executables to be run by Emacs rather than the user. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
73 # This path usually includes the Emacs version and configuration name, |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
74 # so that multiple configurations for multiple versions of Emacs may |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
75 # be installed at once. This can be set with the --archlibdir option |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
76 # to `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
77 archlibdir=@archlibdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
78 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
79 # ==================== Utility Programs for the Build ================= |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
80 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
81 # ../configure figures out the correct values for these. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
82 INSTALL = @INSTALL@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
83 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
84 INSTALL_DATA = @INSTALL_DATA@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
85 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
86 # ========================== Lists of Files =========================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
87 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
88 # Things that a user might actually run, |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
89 # which should be installed in bindir. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
90 INSTALLABLES = etags ctags emacsclient b2m |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
91 INSTALLABLE_SCRIPTS = rcs-checkin |
616 | 92 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
93 # Things that Emacs runs internally, or during the build process, |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
94 # which should not be installed in bindir. |
9015
1452c72d18db
(UTILITIES): Remove test-distrib, make-docfile, make-path.
Richard M. Stallman <rms@gnu.org>
parents:
8376
diff
changeset
|
95 UTILITIES= wakeup profile digest-doc \ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
96 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
97 |
9496 | 98 DONT_INSTALL= test-distrib make-docfile |
9015
1452c72d18db
(UTILITIES): Remove test-distrib, make-docfile, make-path.
Richard M. Stallman <rms@gnu.org>
parents:
8376
diff
changeset
|
99 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
100 # Like UTILITIES, but they're not system-dependent, and should not be |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
101 # deleted by the distclean target. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
102 SCRIPTS= rcs2log vcdiff |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
103 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
104 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
105 |
11200
dd83a62facea
(aixcc, aixcc.c): Targets deleted.
Karl Heuer <kwzh@gnu.org>
parents:
10685
diff
changeset
|
106 SOURCES = COPYING ChangeLog Makefile.in README emacs.csh \ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
107 makedoc.com *.[chy] rcs2log vcdiff |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
108 |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
109 # Additional -D flags for movemail (add to MOVE_FLAGS if desired): |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
110 # MAIL_USE_POP Support mail retrieval from a POP mailbox. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
111 # MAIL_USE_MMDF Support MMDF mailboxes. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
112 # MAIL_USE_FLOCK Use flock for file locking (see the comments |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
113 # about locking in movemail.c) |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
114 # MAIL_UNLINK_SPOOL Unlink the user's spool mailbox after reading |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
115 # it (instead of just emptying it). |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
116 # KERBEROS Support Kerberized POP. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
117 # KRB5 Support Kerberos Version 5 pop instead of |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
118 # Version 4 (define this in addition to |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
119 # KERBEROS). |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
120 # HESIOD Support Hesiod lookups of user mailboxes. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
121 # MAILHOST A string, the host name of the default POP |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
122 # mail host for the site. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
123 MOVE_FLAGS= |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
124 |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
125 # Additional libraries for movemail: |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
126 # For KERBEROS |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
127 # MOVE_LIBS= -lkrb -ldes -lcom_err |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
128 # For KERBEROS + KRB5 |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
129 # MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
130 # Add "-lhesiod" if HESIOD is defined. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
131 MOVE_LIBS= |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
132 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
133 # ========================== start of cpp stuff ======================= |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
134 /* From here on, comments must be done in C syntax. */ |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
135 |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
136 #define NO_SHORTNAMES |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
137 #define THIS_IS_MAKEFILE |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
138 #define NOT_C_CODE |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
139 #include "../src/config.h" |
616 | 140 |
8337 | 141 /* We won't really call alloca; |
142 don't let the file name alloca.c get messed up. */ | |
143 #ifdef alloca | |
144 #undef alloca | |
145 #endif | |
146 | |
13527
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
147 /* Some machines don't find the standard C libraries in the usual place. */ |
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
148 #ifndef ORDINARY_LINK |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
149 #ifndef LIB_STANDARD_LIBSRC |
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
150 #define LIB_STANDARD_LIBSRC -lc |
13527
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
151 #endif |
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
152 #else |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
153 #ifndef LIB_STANDARD_LIBSRC |
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
154 #define LIB_STANDARD_LIBSRC |
13527
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
155 #endif |
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
156 #endif |
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
157 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
158 /* Some s/*.h files define this to request special libraries. */ |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
159 #ifndef LIBS_SYSTEM |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
160 #define LIBS_SYSTEM |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
161 #endif |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
162 |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
163 /* Some m/*.h files define this to request special libraries. */ |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
164 #ifndef LIBS_MACHINE |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
165 #define LIBS_MACHINE |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
166 #endif |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
167 |
7136
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
168 #ifndef C_SWITCH_SYSTEM |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
169 #define C_SWITCH_SYSTEM |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
170 #endif |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
171 |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
172 #ifndef C_SWITCH_MACHINE |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
173 #define C_SWITCH_MACHINE |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
174 #endif |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
175 |
6978 | 176 #undef MOVEMAIL_NEEDS_BLESSING |
177 #ifndef MAIL_USE_FLOCK | |
178 #ifndef MAIL_USE_LOCKF | |
179 #define MOVEMAIL_NEEDS_BLESSING | |
180 #endif | |
181 #endif | |
182 | |
183 #ifdef MOVEMAIL_NEEDS_BLESSING | |
184 #define BLESSMAIL blessmail | |
185 #else | |
186 #define BLESSMAIL | |
187 #endif | |
188 | |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
189 LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD_LIBSRC |
2262
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
190 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
191 /* We need to #define emacs to get the right versions of some files. |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
192 Some other files - those shared with other GNU utilities - need |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
193 HAVE_CONFIG_H #defined before they know they can take advantage of |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
194 the information in ../src/config.h. */ |
13351
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
195 ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
196 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} |
13351
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
197 LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
198 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} |
13351
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
199 CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -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
|
200 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} |
13351
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
201 /* This was all of CPP_CFLAGS except -Demacs. |
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
202 Now that -Demacs has been deleted from CPP_CFLAGS, |
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
203 this is actually the same as CPP_CFLAGS, but let's not delete it yet. */ |
11298
d6e7bcc7bcfc
(BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
11200
diff
changeset
|
204 BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ |
8212
a8ed7164a837
(ALLOCA_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
7816
diff
changeset
|
205 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
206 |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
207 /* This is the default compilation command. |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
208 But we should never rely on it, because some make version |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
209 failed to find it for getopt.o. |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
210 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
|
211 .c.o: |
3715
b33ee3d1d18d
(CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
3582
diff
changeset
|
212 ${CC} -c ${CPP_CFLAGS} $< |
616 | 213 |
11412
513d8c69dc6f
(all): Build test-distrib and make-docfile.
Richard M. Stallman <rms@gnu.org>
parents:
11298
diff
changeset
|
214 all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} |
616 | 215 |
6978 | 216 #ifdef MOVEMAIL_NEEDS_BLESSING |
7702
5b7f83eff8dc
(blessmail): Don't depend on ../src/emacs.
Richard M. Stallman <rms@gnu.org>
parents:
7516
diff
changeset
|
217 blessmail: |
7516
bd6f993b61d8
(blessmail): Specify directory for blessmail.el.
Richard M. Stallman <rms@gnu.org>
parents:
7471
diff
changeset
|
218 ../src/emacs -batch -l ../lisp/blessmail.el |
6978 | 219 chmod +x blessmail |
220 #endif | |
221 | |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
222 maybe-blessmail: BLESSMAIL |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
223 #ifdef MOVEMAIL_NEEDS_BLESSING |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
224 /* Don't charge ahead and do it! Let the installer decide. |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
225 ./blessmail ${archlibdir}/movemail */ |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
226 @if [ `wc -l <blessmail` != 2 ] ; then \ |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
227 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
228 echo Assuming $$dir is really the mail spool directory, you should; \ |
7471
7c857b26b91e
(maybe-blessmail): Mention bless-mail is in lib-src.
Richard M. Stallman <rms@gnu.org>
parents:
7338
diff
changeset
|
229 echo run lib-src/blessmail ${archlibdir}/movemail; \ |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
230 echo as root, to give movemail appropriate permissions.; \ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
231 echo Do that after running make install.; \ |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
232 fi |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
233 #endif |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
234 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
235 /* Install the internal utilities. Until they are installed, we can |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
236 just run them directly from lib-src. */ |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
237 ${archlibdir}: all |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
238 @echo |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
239 @echo "Installing utilities run internally by Emacs." |
9496 | 240 $(top_srcdir)/mkinstalldirs ${archlibdir} |
3311
5d06123fc1df
* Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
Jim Blandy <jimb@redhat.com>
parents:
3237
diff
changeset
|
241 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
|
242 for file in ${UTILITIES}; do \ |
12521
0a1367ed5fe4
(install, maybe-blessmail): Don't cd ..;
Karl Heuer <kwzh@gnu.org>
parents:
11603
diff
changeset
|
243 $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \ |
4802
5a3769d017ca
(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents:
4800
diff
changeset
|
244 done ; \ |
8376
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
245 fi |
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
246 if [ `(cd ${archlibdir} && /bin/pwd)` \ |
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
247 != `(cd ${srcdir} && /bin/pwd)` ]; then \ |
4802
5a3769d017ca
(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents:
4800
diff
changeset
|
248 for file in ${SCRIPTS}; do \ |
12521
0a1367ed5fe4
(install, maybe-blessmail): Don't cd ..;
Karl Heuer <kwzh@gnu.org>
parents:
11603
diff
changeset
|
249 $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \ |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
250 done ; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
251 fi |
616 | 252 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
253 /* We don't need to install `wakeup' explicitly, because it will be |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
254 copied when this whole directory is copied. */ |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
255 install: ${archlibdir} |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
256 @echo |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
257 @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
|
258 for file in ${INSTALLABLES} ; do \ |
12521
0a1367ed5fe4
(install, maybe-blessmail): Don't cd ..;
Karl Heuer <kwzh@gnu.org>
parents:
11603
diff
changeset
|
259 $(INSTALL_PROGRAM) $${file} ${bindir}/$${file} ; \ |
13873
47fd98cc412a
(install): Turn on read/execute permission.
Richard M. Stallman <rms@gnu.org>
parents:
13759
diff
changeset
|
260 chmod a+rx ${bindir}/$${file}; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
261 done |
3188
b901b5e04fbb
(install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents:
3160
diff
changeset
|
262 for file in ${INSTALLABLE_SCRIPTS} ; do \ |
12521
0a1367ed5fe4
(install, maybe-blessmail): Don't cd ..;
Karl Heuer <kwzh@gnu.org>
parents:
11603
diff
changeset
|
263 $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \ |
13873
47fd98cc412a
(install): Turn on read/execute permission.
Richard M. Stallman <rms@gnu.org>
parents:
13759
diff
changeset
|
264 chmod a+rx ${bindir}/$${file}; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
265 done |
616 | 266 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
267 uninstall: |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
268 (cd ${bindir}; \ |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
269 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
270 (cd ${archlibdir}; \ |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
271 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
|
272 |
5190
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
273 mostlyclean: |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
274 -rm -f core *.o |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
275 |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
276 clean: mostlyclean |
9015
1452c72d18db
(UTILITIES): Remove test-distrib, make-docfile, make-path.
Richard M. Stallman <rms@gnu.org>
parents:
8376
diff
changeset
|
277 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} |
9455
856edef96682
(clean): rm DOC/* and *.tab.[ch].
Richard M. Stallman <rms@gnu.org>
parents:
9156
diff
changeset
|
278 -rm -f ../etc/DOC* *.tab.c *.tab.h |
616 | 279 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
280 distclean: clean |
11200
dd83a62facea
(aixcc, aixcc.c): Targets deleted.
Karl Heuer <kwzh@gnu.org>
parents:
10685
diff
changeset
|
281 -rm -f TAGS |
12578
dca4d0c72562
(distclean): Delete Makefile.c, not Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
12526
diff
changeset
|
282 -rm -f Makefile Makefile.c blessmail |
616 | 283 |
10685
71fa5c477213
(maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents:
9574
diff
changeset
|
284 maintainer-clean: distclean |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
285 true |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
286 |
11603
47d7e21fefbd
(extraclean): Depend on maintainer-clean, not
Karl Heuer <kwzh@gnu.org>
parents:
11548
diff
changeset
|
287 extraclean: maintainer-clean |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
288 -rm -f *~ \#* |
616 | 289 |
2262
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
290 unlock: |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
291 chmod u+w $(SOURCES) |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
292 |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
293 relock: |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
294 chmod u-w $(SOURCES) |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
295 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
296 /* Test the contents of the directory. */ |
616 | 297 check: |
298 @echo "We don't have any tests for GNU Emacs yet." | |
299 | |
12526 | 300 tags: TAGS |
616 | 301 TAGS: etags |
302 etags *.[ch] | |
303 | |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
304 /* This verifies that the non-ASCII characters in the file `testfile' |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
305 have not been clobbered by whatever means were used to copy and |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
306 distribute Emacs. If they were clobbered, all the .elc files were |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
307 clobbered too. */ |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
308 test-distrib: ${srcdir}/test-distrib.c |
7816
b34d9c53ebb6
(test-distrib): Use ALL_CFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
7718
diff
changeset
|
309 $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
310 ./test-distrib ${srcdir}/testfile |
616 | 311 |
2811
6cc1bf599a56
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2810
diff
changeset
|
312 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
|
313 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h |
3160
ce5dcfc00c34
* Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents:
3159
diff
changeset
|
314 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
|
315 ${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
|
316 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
|
317 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c |
8212
a8ed7164a837
(ALLOCA_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
7816
diff
changeset
|
318 alloca.o: ${srcdir}/alloca.c |
11298
d6e7bcc7bcfc
(BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
11200
diff
changeset
|
319 ${CC} -c ${BASE_CFLAGS} ${srcdir}/alloca.c |
616 | 320 |
11548
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
321 #ifdef REGEXP_IN_LIBC |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
322 REGEXPOBJ = |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
323 REGEXPDEPS = |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
324 #else |
9573
398625d049db
(etags): add dependency on regex.o, link with it.
Karl Heuer <kwzh@gnu.org>
parents:
9496
diff
changeset
|
325 REGEXPOBJ = regex.o |
398625d049db
(etags): add dependency on regex.o, link with it.
Karl Heuer <kwzh@gnu.org>
parents:
9496
diff
changeset
|
326 REGEXPDEPS = $(REGEXPOBJ) ../src/regex.h |
11548
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
327 #endif |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
328 |
13537
d2fcf9de0218
(regex.o): Depend on ../src/config.h.
Richard M. Stallman <rms@gnu.org>
parents:
13527
diff
changeset
|
329 regex.o: ../src/regex.c ../src/regex.h ../src/config.h |
11298
d6e7bcc7bcfc
(BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
11200
diff
changeset
|
330 ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c |
9573
398625d049db
(etags): add dependency on regex.o, link with it.
Karl Heuer <kwzh@gnu.org>
parents:
9496
diff
changeset
|
331 |
398625d049db
(etags): add dependency on regex.o, link with it.
Karl Heuer <kwzh@gnu.org>
parents:
9496
diff
changeset
|
332 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h |
398625d049db
(etags): add dependency on regex.o, link with it.
Karl Heuer <kwzh@gnu.org>
parents:
9496
diff
changeset
|
333 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags |
616 | 334 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
335 /* We depend on etags to assure that parallel makes don't write two |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
336 etags.o files on top of each other. */ |
13695
30147ba2d776
* Makefile.in (ctags): depend on etags only for simplicity;
Francesco Potortì <pot@gnu.org>
parents:
13537
diff
changeset
|
337 ctags: etags |
30147ba2d776
* Makefile.in (ctags): depend on etags only for simplicity;
Francesco Potortì <pot@gnu.org>
parents:
13537
diff
changeset
|
338 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags |
616 | 339 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
340 wakeup: ${srcdir}/wakeup.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
341 $(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup |
616 | 342 |
5789 | 343 profile: ${srcdir}/profile.c |
344 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile | |
345 | |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
346 make-docfile: ${srcdir}/make-docfile.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
347 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile |
616 | 348 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
349 digest-doc: ${srcdir}/digest-doc.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
350 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc |
616 | 351 |
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
|
352 sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
353 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc |
616 | 354 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
355 b2m: ${srcdir}/b2m.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
356 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m |
616 | 357 |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
358 movemail: movemail.o pop.o |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
359 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(LOADLIBES) $(MOVE_LIBS) -o movemail |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
360 |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
361 movemail.o: ${srcdir}/movemail.c ../src/config.h |
13351
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
362 $(CC) -c ${CPP_CFLAGS} -Demacs ${MOVE_FLAGS} ${srcdir}/movemail.c |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
363 |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
364 pop.o: ${srcdir}/pop.c |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
365 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c |
616 | 366 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
367 cvtmail: ${srcdir}/cvtmail.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
368 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail |
616 | 369 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
370 fakemail: ${srcdir}/fakemail.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
371 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
616 | 372 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
373 yow: ${srcdir}/yow.c ../src/paths.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
374 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow |
616 | 375 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
376 emacsserver: ${srcdir}/emacsserver.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
377 $(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
|
378 |
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
379 emacsclient: ${srcdir}/emacsclient.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
380 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient |
616 | 381 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
382 hexl: ${srcdir}/hexl.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
383 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
616 | 384 |
3018
f1d4c6a5976a
* timer.c (xmalloc): Include definition for this, to placate the C
Jim Blandy <jimb@redhat.com>
parents:
3009
diff
changeset
|
385 TIMEROBJS=getdate.o timer.o $(ALLOCA) |
12883
c281a02dbb9f
(getdate.c): New target.
Richard M. Stallman <rms@gnu.org>
parents:
12578
diff
changeset
|
386 $(srcdir)/getdate.c: ${srcdir}/getdate.y |
c281a02dbb9f
(getdate.c): New target.
Richard M. Stallman <rms@gnu.org>
parents:
12578
diff
changeset
|
387 cd $(srcdir); ${YACC} ${YFLAGS} getdate.y |
c281a02dbb9f
(getdate.c): New target.
Richard M. Stallman <rms@gnu.org>
parents:
12578
diff
changeset
|
388 cd $(srcdir); mv y.tab.c getdate.c |
c281a02dbb9f
(getdate.c): New target.
Richard M. Stallman <rms@gnu.org>
parents:
12578
diff
changeset
|
389 getdate.o: ${srcdir}/getdate.c ../src/config.h |
13351
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
390 $(CC) $(CPP_CFLAGS) -Demacs -c ${srcdir}/getdate.c |
12883
c281a02dbb9f
(getdate.c): New target.
Richard M. Stallman <rms@gnu.org>
parents:
12578
diff
changeset
|
391 |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
392 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
|
393 $(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
|
394 timer: ${TIMEROBJS} |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
395 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer |
616 | 396 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
397 /* These are NOT included in INSTALLABLES or UTILITIES. |
12578
dca4d0c72562
(distclean): Delete Makefile.c, not Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
12526
diff
changeset
|
398 See ../src/Makefile.in. */ |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
399 emacstool: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
400 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ |
616 | 401 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) |
402 | |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
403 /* 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
|
404 nemacstool: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
405 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 406 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) |
407 | |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
408 xvetool: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
409 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 410 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
411 $(LOADLIBES) | |
412 | |
2810
c73cb6a77a61
Install patches from David J. Mackenzie to make the srcdir option
Jim Blandy <jimb@redhat.com>
parents:
2501
diff
changeset
|
413 xveterm: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
414 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 415 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
416 $(LOADLIBES) |