Mercurial > emacs
annotate lib-src/Makefile.in @ 49603:7444a5c78c72
Restore missing space and put a comment to protect it from being deleted as
trailing whitespace.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 04 Feb 2003 17:07:28 +0000 |
parents | 99be3a1e2589 |
children | 5127a1bf36db |
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. |
46746
adabdbd04d45
(localstatedir): New variable.
Andreas Schwab <schwab@suse.de>
parents:
45590
diff
changeset
|
2 # Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002 Free Software Foundation, Inc. |
7329
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 |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13873
diff
changeset
|
18 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13873
diff
changeset
|
19 # Boston, MA 02111-1307, USA. |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
20 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
21 # 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
|
22 # 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
|
23 SHELL = /bin/sh |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
24 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
25 # ==================== Things `configure' will edit ==================== |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
26 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
27 CC=@CC@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
28 CFLAGS=@CFLAGS@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
29 ALLOCA=@ALLOCA@ |
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 |
41098
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
33 # Program name transformation. |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
34 TRANSFORM = @program_transform_name@ |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
35 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
36 # ==================== 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
|
37 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
38 # 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
|
39 # 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
|
40 # 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
|
41 # 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
|
42 # `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
43 prefix=@prefix@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
44 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
45 # 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
|
46 # 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
|
47 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
|
48 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
49 # 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
|
50 # 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
|
51 # to `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
52 bindir=@bindir@ |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
53 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
54 # 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
|
55 # 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
|
56 # 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
|
57 # --libexecdir option to `../configure'. |
a6d5f1c10986
(libexecdir): Renamed from libdir.
Richard M. Stallman <rms@gnu.org>
parents:
9455
diff
changeset
|
58 libexecdir=@libexecdir@ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
59 |
46746
adabdbd04d45
(localstatedir): New variable.
Andreas Schwab <schwab@suse.de>
parents:
45590
diff
changeset
|
60 # Directory for local state files for all programs. |
adabdbd04d45
(localstatedir): New variable.
Andreas Schwab <schwab@suse.de>
parents:
45590
diff
changeset
|
61 localstatedir=@localstatedir@ |
adabdbd04d45
(localstatedir): New variable.
Andreas Schwab <schwab@suse.de>
parents:
45590
diff
changeset
|
62 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
63 # 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
|
64 # 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
|
65 # 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
|
66 # since the variable here has `/lib-src' added at the end. |
22870 | 67 |
68 # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. | |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
69 srcdir=@srcdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
70 VPATH=@srcdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
71 |
9496 | 72 # The top-level source directory, also set by configure. |
73 top_srcdir=@top_srcdir@ | |
74 | |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
75 # ==================== Emacs-specific directories ==================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
76 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
77 # 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
|
78 # 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
|
79 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
80 # 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
|
81 # 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
|
82 # 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
|
83 # 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
|
84 # to `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
85 archlibdir=@archlibdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
86 |
44480
530aa7c15820
(gamedir, gameuser): New variables.
Colin Walters <walters@gnu.org>
parents:
41970
diff
changeset
|
87 gamedir=@gamedir@ |
530aa7c15820
(gamedir, gameuser): New variables.
Colin Walters <walters@gnu.org>
parents:
41970
diff
changeset
|
88 gameuser=@gameuser@ |
530aa7c15820
(gamedir, gameuser): New variables.
Colin Walters <walters@gnu.org>
parents:
41970
diff
changeset
|
89 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
90 # ==================== Utility Programs for the Build ================= |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
91 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
92 # ../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
|
93 INSTALL = @INSTALL@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
94 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
|
95 INSTALL_DATA = @INSTALL_DATA@ |
15949
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
96 # By default, we uphold the dignity of our programs. |
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
97 INSTALL_STRIP = |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
98 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
99 # ========================== Lists of Files =========================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
100 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
101 # 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
|
102 # which should be installed in bindir. |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
103 INSTALLABLES = etags@EXEEXT@ ctags@EXEEXT@ emacsclient@EXEEXT@ b2m@EXEEXT@ ebrowse@EXEEXT@ |
25217
e1f1f34e98a7
(INSTALLABLE_SCRIPTS): Add grep-changelog.
Gerd Moellmann <gerd@gnu.org>
parents:
24904
diff
changeset
|
104 INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog |
616 | 105 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
106 # 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
|
107 # which should not be installed in bindir. |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
108 UTILITIES= profile@EXEEXT@ digest-doc@EXEEXT@ sorted-doc@EXEEXT@ movemail@EXEEXT@ cvtmail@EXEEXT@ fakemail@EXEEXT@ \ |
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
109 yow@EXEEXT@ hexl@EXEEXT@ update-game-score@EXEEXT@ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
110 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
111 DONT_INSTALL= test-distrib@EXEEXT@ make-docfile@EXEEXT@ |
9015
1452c72d18db
(UTILITIES): Remove test-distrib, make-docfile, make-path.
Richard M. Stallman <rms@gnu.org>
parents:
8376
diff
changeset
|
112 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
113 # 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
|
114 # 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
|
115 SCRIPTS= rcs2log vcdiff |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
116 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
117 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
|
118 |
11200
dd83a62facea
(aixcc, aixcc.c): Targets deleted.
Karl Heuer <kwzh@gnu.org>
parents:
10685
diff
changeset
|
119 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
|
120 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
|
121 |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
122 # 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
|
123 # 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
|
124 # MAIL_USE_MMDF Support MMDF mailboxes. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
125 # 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
|
126 # about locking in movemail.c) |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
127 # 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
|
128 # it (instead of just emptying it). |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
129 # KERBEROS Support Kerberized POP. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
130 # 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
|
131 # Version 4 (define this in addition to |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
132 # KERBEROS). |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
133 # HESIOD Support Hesiod lookups of user mailboxes. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
134 # 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
|
135 # mail host for the site. |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
136 MOVE_FLAGS= |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
137 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
138 # ========================== 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
|
139 /* 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
|
140 |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
141 #define NO_SHORTNAMES |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
142 #define THIS_IS_MAKEFILE |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
143 #define NOT_C_CODE |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
144 #include "../src/config.h" |
616 | 145 |
8337 | 146 /* We won't really call alloca; |
147 don't let the file name alloca.c get messed up. */ | |
148 #ifdef alloca | |
149 #undef alloca | |
150 #endif | |
151 | |
47957
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
152 /* Some machines don\'t find the standard C libraries in the usual place. */ |
13527
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
153 #ifndef ORDINARY_LINK |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
154 #ifndef LIB_STANDARD_LIBSRC |
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
155 #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
|
156 #endif |
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
157 #else |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
158 #ifndef LIB_STANDARD_LIBSRC |
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
159 #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
|
160 #endif |
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
161 #endif |
6a7c2ee3c94f
(LIB_STANDARD): Extract this as in src/Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
13351
diff
changeset
|
162 |
14589 | 163 /* Some s/SYSTEM.h files define this to request special libraries. */ |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
164 #ifndef LIBS_SYSTEM |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
165 #define LIBS_SYSTEM |
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 |
14589 | 168 /* Some m/MACHINE.h files define this to request special libraries. */ |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
169 #ifndef LIBS_MACHINE |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
170 #define LIBS_MACHINE |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
171 #endif |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
172 |
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
|
173 #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
|
174 #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
|
175 #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
|
176 |
8a99aef126ba
C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp symbols, not make variables.
Karl Heuer <kwzh@gnu.org>
parents:
7050
diff
changeset
|
177 #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
|
178 #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
|
179 #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
|
180 |
6978 | 181 #undef MOVEMAIL_NEEDS_BLESSING |
182 #ifndef MAIL_USE_FLOCK | |
183 #ifndef MAIL_USE_LOCKF | |
184 #define MOVEMAIL_NEEDS_BLESSING | |
185 #endif | |
186 #endif | |
187 | |
188 #ifdef MOVEMAIL_NEEDS_BLESSING | |
189 #define BLESSMAIL blessmail | |
190 #else | |
191 #define BLESSMAIL | |
192 #endif | |
193 | |
15949
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
194 #ifdef KERBEROS |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
195 # ifdef HAVE_LIBKRB |
23441
24d04663d38b
Replace tabs with spaces
Richard M. Stallman <rms@gnu.org>
parents:
22870
diff
changeset
|
196 KRB4LIB = -lkrb |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
197 # else |
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
198 # ifdef HAVE_LIBKRB4 |
23441
24d04663d38b
Replace tabs with spaces
Richard M. Stallman <rms@gnu.org>
parents:
22870
diff
changeset
|
199 KRB4LIB = -lkrb4 |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
200 # endif |
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
201 # endif |
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
202 # ifdef HAVE_LIBDES |
23441
24d04663d38b
Replace tabs with spaces
Richard M. Stallman <rms@gnu.org>
parents:
22870
diff
changeset
|
203 DESLIB = -ldes |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
204 # else |
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
205 # ifdef HAVE_LIBDES425 |
23441
24d04663d38b
Replace tabs with spaces
Richard M. Stallman <rms@gnu.org>
parents:
22870
diff
changeset
|
206 DESLIB = -ldes425 |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
207 # endif |
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
208 # endif |
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
209 # ifdef HAVE_LIBKRB5 |
23441
24d04663d38b
Replace tabs with spaces
Richard M. Stallman <rms@gnu.org>
parents:
22870
diff
changeset
|
210 KRB5LIB = -lkrb5 |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
211 # endif |
40276
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
212 # ifdef HAVE_LIBK5CRYPTO |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
213 CRYPTOLIB = -lk5crypto |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
214 # else |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
215 # ifdef HAVE_LIBCRYPTO |
23441
24d04663d38b
Replace tabs with spaces
Richard M. Stallman <rms@gnu.org>
parents:
22870
diff
changeset
|
216 CRYPTOLIB = -lcrypto |
40276
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
217 # endif |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
218 # endif |
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
219 # ifdef HAVE_LIBCOM_ERR |
23441
24d04663d38b
Replace tabs with spaces
Richard M. Stallman <rms@gnu.org>
parents:
22870
diff
changeset
|
220 COM_ERRLIB = -lcom_err |
19017
8666fad79dd0
Support auto-configuration of both Kerberos V4 and
Richard M. Stallman <rms@gnu.org>
parents:
18469
diff
changeset
|
221 # endif |
22376
84967b95587b
Properly terminate a comment.
Richard M. Stallman <rms@gnu.org>
parents:
22236
diff
changeset
|
222 #endif /* KERBEROS */ |
15949
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
223 |
22236 | 224 /* If HESIOD is defined, set this to "-lhesiod". */ |
40276
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
225 #ifdef HAVE_LIBHESIOD |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
226 # ifdef HAVE_LIBRESOLV |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
227 HESIODLIB= -lhesiod -lresolv |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
228 # else |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
229 HESIODLIB= -lhesiod |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
230 # endif |
f53d3da02996
fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents:
31273
diff
changeset
|
231 #endif |
15949
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
232 |
45590
6c146fa85973
(LIBS_MAIL): Renamed from LIB_MAIL.
Richard M. Stallman <rms@gnu.org>
parents:
44986
diff
changeset
|
233 LIBS_MOVE=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB) |
15939
dede4f09f223
(MOVE_LIBS): Use conditionals on
Richard M. Stallman <rms@gnu.org>
parents:
15470
diff
changeset
|
234 |
16722
7b3bcbb9a8f5
(LIBMAIL): New macro. Conditionally includes -lmail.
Richard M. Stallman <rms@gnu.org>
parents:
16031
diff
changeset
|
235 #ifdef HAVE_LIBMAIL |
45590
6c146fa85973
(LIBS_MAIL): Renamed from LIB_MAIL.
Richard M. Stallman <rms@gnu.org>
parents:
44986
diff
changeset
|
236 LIBS_MAIL=-lmail |
16722
7b3bcbb9a8f5
(LIBMAIL): New macro. Conditionally includes -lmail.
Richard M. Stallman <rms@gnu.org>
parents:
16031
diff
changeset
|
237 #endif |
7b3bcbb9a8f5
(LIBMAIL): New macro. Conditionally includes -lmail.
Richard M. Stallman <rms@gnu.org>
parents:
16031
diff
changeset
|
238 |
13759
db3649779fcc
(LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
Karl Heuer <kwzh@gnu.org>
parents:
13695
diff
changeset
|
239 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
|
240 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
241 /* 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
|
242 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
|
243 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
|
244 the information in ../src/config.h. */ |
13351
0cf91b5c1a56
(getdate.o, movemail.o): Specify -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
12883
diff
changeset
|
245 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
|
246 -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
|
247 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
|
248 -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
|
249 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
|
250 -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
|
251 /* 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
|
252 Now that -Demacs has been deleted from CPP_CFLAGS, |
47957
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
253 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
|
254 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
|
255 -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
|
256 |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
257 /* This is the default compilation command. |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
258 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
|
259 failed to find it for getopt.o. |
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
260 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
|
261 .c.o: |
3715
b33ee3d1d18d
(CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
3582
diff
changeset
|
262 ${CC} -c ${CPP_CFLAGS} $< |
616 | 263 |
49338
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
264 all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
265 |
49355
d366046ef164
Fix last change (use C syntax for comments).
Markus Rost <rost@math.uni-bielefeld.de>
parents:
49338
diff
changeset
|
266 /* These targets copy the scripts into the build directory |
d366046ef164
Fix last change (use C syntax for comments).
Markus Rost <rost@math.uni-bielefeld.de>
parents:
49338
diff
changeset
|
267 so that they can be run from there in an uninstalled Emacs. */ |
49338
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
268 rcs2log: $(srcdir)/rcs2log |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
269 cp -p $(srcdir)/rcs2log rcs2log |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
270 |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
271 rcs-checkin: $(srcdir)/rcs-checkin |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
272 cp -p $(srcdir)/rcs-checkin rcs-checkin |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
273 |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
274 grep-changelog: $(srcdir)/grep-changelog |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
275 cp -p $(srcdir)/grep-changelog grep-changelog |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
276 |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
277 vcdiff: $(srcdir)/vcdiff |
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
278 cp -p $(srcdir)/vcdiff vcdiff |
616 | 279 |
6978 | 280 #ifdef MOVEMAIL_NEEDS_BLESSING |
7702
5b7f83eff8dc
(blessmail): Don't depend on ../src/emacs.
Richard M. Stallman <rms@gnu.org>
parents:
7516
diff
changeset
|
281 blessmail: |
18469
edba448dc1c0
(blessmail): Find blessmail.el in mail subdirectory.
Richard M. Stallman <rms@gnu.org>
parents:
18122
diff
changeset
|
282 ../src/emacs -batch -l $(srcdir)/../lisp/mail/blessmail.el |
6978 | 283 chmod +x blessmail |
284 #endif | |
285 | |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
286 maybe-blessmail: BLESSMAIL |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
287 #ifdef MOVEMAIL_NEEDS_BLESSING |
47957
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
288 /* Don\'t charge ahead and do it! Let the installer decide. |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
289 ./blessmail ${archlibdir}/movemail@EXEEXT@ */ |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
290 @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
|
291 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
|
292 echo Assuming $$dir is really the mail spool directory, you should; \ |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
293 echo run lib-src/blessmail ${archlibdir}/movemail@EXEEXT@; \ |
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
294 echo as root, to give movemail@EXEEXT@ appropriate permissions.; \ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
295 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
|
296 fi |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
297 #endif |
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
298 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
299 /* 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
|
300 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
|
301 ${archlibdir}: all |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
302 @echo |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
303 @echo "Installing utilities run internally by Emacs." |
9496 | 304 $(top_srcdir)/mkinstalldirs ${archlibdir} |
3311
5d06123fc1df
* Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
Jim Blandy <jimb@redhat.com>
parents:
3237
diff
changeset
|
305 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
|
306 for file in ${UTILITIES}; do \ |
15949
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
307 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \ |
4802
5a3769d017ca
(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents:
4800
diff
changeset
|
308 done ; \ |
8376
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
309 fi |
47957
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
310 $(top_srcdir)/mkinstalldirs ${gamedir} |
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
311 touch ${gamedir}/snake-scores |
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
312 touch ${gamedir}/tetris-scores |
44986
a2932c842de3
(${archlibdir}): Don't conditionalize on
Colin Walters <walters@gnu.org>
parents:
44480
diff
changeset
|
313 /* If the following commands fail, that is not a big deal. |
a2932c842de3
(${archlibdir}): Don't conditionalize on
Colin Walters <walters@gnu.org>
parents:
44480
diff
changeset
|
314 update-game-score will detect at runtime that it is not setuid, |
a2932c842de3
(${archlibdir}): Don't conditionalize on
Colin Walters <walters@gnu.org>
parents:
44480
diff
changeset
|
315 and handle things accordingly. */ |
48405
4cba3e758b98
(${archlibdir}): Ignore errors operating on $(gamedir).
Richard M. Stallman <rms@gnu.org>
parents:
48311
diff
changeset
|
316 -if chown ${gameuser} ${archlibdir}/update-game-score && chmod u+s ${archlibdir}/update-game-score; then \ |
44986
a2932c842de3
(${archlibdir}): Don't conditionalize on
Colin Walters <walters@gnu.org>
parents:
44480
diff
changeset
|
317 chown ${gameuser} ${gamedir}; \ |
a2932c842de3
(${archlibdir}): Don't conditionalize on
Colin Walters <walters@gnu.org>
parents:
44480
diff
changeset
|
318 chmod u=rwx,g=rwx,o=rx ${gamedir}; \ |
a2932c842de3
(${archlibdir}): Don't conditionalize on
Colin Walters <walters@gnu.org>
parents:
44480
diff
changeset
|
319 fi |
8376
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
320 if [ `(cd ${archlibdir} && /bin/pwd)` \ |
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
321 != `(cd ${srcdir} && /bin/pwd)` ]; then \ |
4802
5a3769d017ca
(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents:
4800
diff
changeset
|
322 for file in ${SCRIPTS}; do \ |
12521
0a1367ed5fe4
(install, maybe-blessmail): Don't cd ..;
Karl Heuer <kwzh@gnu.org>
parents:
11603
diff
changeset
|
323 $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \ |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
324 done ; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
325 fi |
616 | 326 |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
327 install: ${archlibdir} |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
328 @echo |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
329 @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
|
330 for file in ${INSTALLABLES} ; do \ |
41098
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
331 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
332 chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
333 done |
3188
b901b5e04fbb
(install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents:
3160
diff
changeset
|
334 for file in ${INSTALLABLE_SCRIPTS} ; do \ |
41098
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
335 $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
336 chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
337 done |
616 | 338 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
339 uninstall: |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
340 (cd ${bindir}; \ |
41098
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
341 for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \ |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
342 rm -f ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
343 done) |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
344 (cd ${archlibdir}; \ |
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
345 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
|
346 |
5190
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
347 mostlyclean: |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
348 -rm -f core *.o |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
349 |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
350 clean: mostlyclean |
9015
1452c72d18db
(UTILITIES): Remove test-distrib, make-docfile, make-path.
Richard M. Stallman <rms@gnu.org>
parents:
8376
diff
changeset
|
351 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} |
41970
7f2b18510503
(clean): Don't delete ../etc/DOC*.
Richard M. Stallman <rms@gnu.org>
parents:
41098
diff
changeset
|
352 -rm -f fns*.el *.tab.c *.tab.h |
616 | 353 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
354 distclean: clean |
11200
dd83a62facea
(aixcc, aixcc.c): Targets deleted.
Karl Heuer <kwzh@gnu.org>
parents:
10685
diff
changeset
|
355 -rm -f TAGS |
12578
dca4d0c72562
(distclean): Delete Makefile.c, not Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
12526
diff
changeset
|
356 -rm -f Makefile Makefile.c blessmail |
616 | 357 |
10685
71fa5c477213
(maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents:
9574
diff
changeset
|
358 maintainer-clean: distclean |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
359 true |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
360 |
11603
47d7e21fefbd
(extraclean): Depend on maintainer-clean, not
Karl Heuer <kwzh@gnu.org>
parents:
11548
diff
changeset
|
361 extraclean: maintainer-clean |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
362 -rm -f *~ \#* |
616 | 363 |
2262
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
364 unlock: |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
365 chmod u+w $(SOURCES) |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
366 |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
367 relock: |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
368 chmod u-w $(SOURCES) |
29579cd51981
Added unlock and relock.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
1675
diff
changeset
|
369 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
370 /* Test the contents of the directory. */ |
616 | 371 check: |
372 @echo "We don't have any tests for GNU Emacs yet." | |
373 | |
12526 | 374 tags: TAGS |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
375 TAGS: etags@EXEEXT@ |
616 | 376 etags *.[ch] |
377 | |
47957
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
378 /* This verifies that the non-ASCII characters in the file \`testfile\' |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
379 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
|
380 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
|
381 clobbered too. */ |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
382 test-distrib@EXEEXT@: ${srcdir}/test-distrib.c |
7816
b34d9c53ebb6
(test-distrib): Use ALL_CFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
7718
diff
changeset
|
383 $(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
|
384 ./test-distrib ${srcdir}/testfile |
616 | 385 |
2811
6cc1bf599a56
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2810
diff
changeset
|
386 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
|
387 GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h |
3160
ce5dcfc00c34
* Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
Jim Blandy <jimb@redhat.com>
parents:
3159
diff
changeset
|
388 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
|
389 ${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
|
390 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
|
391 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c |
8212
a8ed7164a837
(ALLOCA_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
7816
diff
changeset
|
392 alloca.o: ${srcdir}/alloca.c |
30230
9828723e6f50
(alloca.o): Add -Demacs so that alloca will use
Gerd Moellmann <gerd@gnu.org>
parents:
28519
diff
changeset
|
393 ${CC} -Demacs -c ${BASE_CFLAGS} ${srcdir}/alloca.c |
616 | 394 |
11548
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
395 #ifdef REGEXP_IN_LIBC |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
396 REGEXPOBJ = |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
397 REGEXPDEPS = |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
398 #else |
9573
398625d049db
(etags): add dependency on regex.o, link with it.
Karl Heuer <kwzh@gnu.org>
parents:
9496
diff
changeset
|
399 REGEXPOBJ = regex.o |
22870 | 400 REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h |
11548
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
401 #endif |
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
402 |
22870 | 403 regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h |
11298
d6e7bcc7bcfc
(BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
11200
diff
changeset
|
404 ${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
|
405 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
406 etags@EXEEXT@: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h |
18043
c2d71b9b8f75
* Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
Francesco Potortì <pot@gnu.org>
parents:
16910
diff
changeset
|
407 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags |
616 | 408 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
409 ebrowse@EXEEXT@: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h |
28519
2fa4374d4f09
(INSTALLABLES): Add ebrowse.
Gerd Moellmann <gerd@gnu.org>
parents:
26438
diff
changeset
|
410 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse |
2fa4374d4f09
(INSTALLABLES): Add ebrowse.
Gerd Moellmann <gerd@gnu.org>
parents:
26438
diff
changeset
|
411 |
47957
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
412 /* We depend on etags to assure that parallel makes don\'t write two |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
413 etags.o files on top of each other. */ |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
414 ctags@EXEEXT@: etags@EXEEXT@ |
18122
d5fb56e1813a
Also remove -DETAGS_REGEXPS from the target ctags:
Francesco Potortì <pot@gnu.org>
parents:
18043
diff
changeset
|
415 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags |
616 | 416 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
417 profile@EXEEXT@: ${srcdir}/profile.c ../src/config.h |
5789 | 418 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile |
419 | |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
420 make-docfile@EXEEXT@: ${srcdir}/make-docfile.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
421 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile |
616 | 422 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
423 digest-doc@EXEEXT@: ${srcdir}/digest-doc.c |
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
424 $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc |
616 | 425 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
426 sorted-doc@EXEEXT@: ${srcdir}/sorted-doc.c ${ALLOCA} |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
427 $(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc |
616 | 428 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
429 b2m@EXEEXT@: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS) |
20329
0302b5c33acf
(b2m): Define VERSION. Link with $(GETOPTOBJS).
Karl Heuer <kwzh@gnu.org>
parents:
19017
diff
changeset
|
430 $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \ |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
431 $(GETOPTOBJS) $(LOADLIBES) -o b2m |
616 | 432 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
433 movemail@EXEEXT@: movemail.o pop.o $(GETOPTDEPS) |
45590
6c146fa85973
(LIBS_MAIL): Renamed from LIB_MAIL.
Richard M. Stallman <rms@gnu.org>
parents:
44986
diff
changeset
|
434 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
435 |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
436 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
|
437 $(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
|
438 |
26037 | 439 pop.o: ${srcdir}/pop.c ../src/config.h |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
440 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c |
616 | 441 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
442 cvtmail@EXEEXT@: ${srcdir}/cvtmail.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
443 $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail |
616 | 444 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
445 fakemail@EXEEXT@: ${srcdir}/fakemail.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
446 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
616 | 447 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
448 yow@EXEEXT@: ${srcdir}/yow.c ../src/epaths.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
449 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow |
616 | 450 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
451 emacsclient@EXEEXT@: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS) |
16031
5e92da241aba
(emacsclient): Link with getopt.
Richard M. Stallman <rms@gnu.org>
parents:
16011
diff
changeset
|
452 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \ |
5e92da241aba
(emacsclient): Link with getopt.
Richard M. Stallman <rms@gnu.org>
parents:
16011
diff
changeset
|
453 -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \ |
5e92da241aba
(emacsclient): Link with getopt.
Richard M. Stallman <rms@gnu.org>
parents:
16011
diff
changeset
|
454 $(LOADLIBES) -o emacsclient |
616 | 455 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
456 hexl@EXEEXT@: ${srcdir}/hexl.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
457 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
616 | 458 |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
459 update-game-score@EXEEXT@: ${srcdir}/update-game-score.c ../src/config.h |
47957
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
460 $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \ |
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
461 -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \ |
bd6f8b5a580a
(${archlibdir}): Always create $(gamedir).
Andreas Schwab <schwab@suse.de>
parents:
47613
diff
changeset
|
462 $(LOADLIBES) -o update-game-score |
44480
530aa7c15820
(gamedir, gameuser): New variables.
Colin Walters <walters@gnu.org>
parents:
41970
diff
changeset
|
463 |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
464 /* 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
|
465 See ../src/Makefile.in. */ |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
466 emacstool@EXEEXT@: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
467 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ |
616 | 468 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) |
469 | |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
470 /* For SUN Japanese Language Environment. */ |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
471 nemacstool@EXEEXT@: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
472 $(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 473 -lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) |
474 | |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
475 xvetool@EXEEXT@: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
476 $(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 477 -lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
478 $(LOADLIBES) | |
479 | |
49549
99be3a1e2589
Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents:
49355
diff
changeset
|
480 xveterm@EXEEXT@: ${srcdir}/emacstool.c |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
481 $(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
616 | 482 -lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
483 $(LOADLIBES) |