Mercurial > emacs
annotate lib-src/Makefile.in @ 111720:cb1fa19c3f33
nnimap.el (nnimap-find-uid-response): The UID is the last element in the list.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Fri, 26 Nov 2010 01:27:37 +0000 |
parents | 1529ab88805c |
children | 3e52c52bbc1a |
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. |
75250
6d19c76d81c5
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
73634
diff
changeset
|
2 # Copyright (C) 1985, 1987, 1988, 1993, 1994, 2001, 2002, 2003, 2004, |
110862
3869cf7d1e82
Remove lib-src/b2m.c and b2m.pl.
Glenn Morris <rgm@gnu.org>
parents:
110736
diff
changeset
|
3 # 2005, 2006, 2007, 2008, 2009, 2010 |
3869cf7d1e82
Remove lib-src/b2m.c and b2m.pl.
Glenn Morris <rgm@gnu.org>
parents:
110736
diff
changeset
|
4 # 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
|
5 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
6 # 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
|
7 |
94828
3a4bc081639c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94308
diff
changeset
|
8 # GNU Emacs is free software: you can redistribute it and/or modify |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
9 # it under the terms of the GNU General Public License as published by |
94828
3a4bc081639c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94308
diff
changeset
|
10 # the Free Software Foundation, either version 3 of the License, or |
3a4bc081639c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94308
diff
changeset
|
11 # (at your option) any later version. |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
12 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
13 # 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
|
14 # 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
|
15 # 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
|
16 # 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
|
17 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
18 # You should have received a copy of the GNU General Public License |
94828
3a4bc081639c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94308
diff
changeset
|
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
3a4bc081639c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94308
diff
changeset
|
20 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
21 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
22 # 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
|
23 # 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
|
24 SHELL = /bin/sh |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
25 |
76035
62beaa88c2fb
Ulrich Mueller <ulm at kph.uni-mainz.de> (tiny change):
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
26 # Following ../lisp/Makefile.in. |
62beaa88c2fb
Ulrich Mueller <ulm at kph.uni-mainz.de> (tiny change):
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
27 EMACS = ../src/emacs |
62beaa88c2fb
Ulrich Mueller <ulm at kph.uni-mainz.de> (tiny change):
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
28 EMACSOPT = -batch --no-site-file --multibyte |
62beaa88c2fb
Ulrich Mueller <ulm at kph.uni-mainz.de> (tiny change):
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
29 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
30 # ==================== Things `configure' will edit ==================== |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
31 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
32 CC=@CC@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
33 CFLAGS=@CFLAGS@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
34 version=@version@ |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
35 ## Used in $archlibdir. |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
36 configuration=@configuration@ |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
37 EXEEXT=@EXEEXT@ |
108227
135e34f90ef1
Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents:
108122
diff
changeset
|
38 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
135e34f90ef1
Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents:
108122
diff
changeset
|
39 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ |
109359
b7e047772c64
Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents:
109190
diff
changeset
|
40 C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@ |
b7e047772c64
Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents:
109190
diff
changeset
|
41 PROFILING_CFLAGS = @PROFILING_CFLAGS@ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
42 |
41098
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
43 # Program name transformation. |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
44 TRANSFORM = @program_transform_name@ |
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
45 |
7329
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 Things ==================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
47 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
48 # 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
|
49 # 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
|
50 # 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
|
51 # 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
|
52 # `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
53 prefix=@prefix@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
54 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
55 # 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
|
56 # 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
|
57 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
|
58 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
59 # 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
|
60 # 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
|
61 # to `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
62 bindir=@bindir@ |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
63 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
64 # 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
|
65 # 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
|
66 # 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
|
67 # --libexecdir option to `../configure'. |
a6d5f1c10986
(libexecdir): Renamed from libdir.
Richard M. Stallman <rms@gnu.org>
parents:
9455
diff
changeset
|
68 libexecdir=@libexecdir@ |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
69 |
46746
adabdbd04d45
(localstatedir): New variable.
Andreas Schwab <schwab@suse.de>
parents:
45590
diff
changeset
|
70 # Directory for local state files for all programs. |
adabdbd04d45
(localstatedir): New variable.
Andreas Schwab <schwab@suse.de>
parents:
45590
diff
changeset
|
71 localstatedir=@localstatedir@ |
adabdbd04d45
(localstatedir): New variable.
Andreas Schwab <schwab@suse.de>
parents:
45590
diff
changeset
|
72 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
73 # 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
|
74 # 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
|
75 # 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
|
76 # since the variable here has `/lib-src' added at the end. |
22870 | 77 |
78 # 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
|
79 srcdir=@srcdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
80 VPATH=@srcdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
81 |
9496 | 82 # The top-level source directory, also set by configure. |
83 top_srcdir=@top_srcdir@ | |
84 | |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
85 # ==================== Emacs-specific directories ==================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
86 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
87 # 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
|
88 # 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
|
89 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
90 # 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
|
91 # 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
|
92 # 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
|
93 # 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
|
94 # to `../configure'. |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
95 archlibdir=@archlibdir@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
96 |
44480
530aa7c15820
(gamedir, gameuser): New variables.
Colin Walters <walters@gnu.org>
parents:
41970
diff
changeset
|
97 gamedir=@gamedir@ |
530aa7c15820
(gamedir, gameuser): New variables.
Colin Walters <walters@gnu.org>
parents:
41970
diff
changeset
|
98 gameuser=@gameuser@ |
530aa7c15820
(gamedir, gameuser): New variables.
Colin Walters <walters@gnu.org>
parents:
41970
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 # ==================== Utility Programs for the Build ================= |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
101 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
102 # ../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
|
103 INSTALL = @INSTALL@ |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
104 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
|
105 INSTALL_DATA = @INSTALL_DATA@ |
73634
698475dc80f9
Installed [mark@mcs.vuw.ac.nz: use INSTALL_SCRIPT in lib-src] patch
Ramprasad B <ramprasad_i82@yahoo.com>
parents:
71294
diff
changeset
|
106 INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
15949
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
107 # By default, we uphold the dignity of our programs. |
c77ea6e08c29
(INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
15939
diff
changeset
|
108 INSTALL_STRIP = |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
109 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
110 # ========================== Lists of Files =========================== |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
111 |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
112 # Things that a user might actually run, which should be installed in bindir. |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
113 INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} \ |
110862
3869cf7d1e82
Remove lib-src/b2m.c and b2m.pl.
Glenn Morris <rgm@gnu.org>
parents:
110736
diff
changeset
|
114 ebrowse${EXEEXT} |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
115 |
25217
e1f1f34e98a7
(INSTALLABLE_SCRIPTS): Add grep-changelog.
Gerd Moellmann <gerd@gnu.org>
parents:
24904
diff
changeset
|
116 INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
117 STAMP_INST_SCRIPTS = stamp-rcs-checkin stamp-grep-changelog |
616 | 118 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
119 # 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
|
120 # which should not be installed in bindir. |
111098
1529ab88805c
Replace digest-doc and sorted-doc C programs with Lisp commands.
Glenn Morris <rgm@gnu.org>
parents:
110905
diff
changeset
|
121 UTILITIES = profile${EXEEXT} movemail${EXEEXT} fakemail${EXEEXT} \ |
71294
bccec3b68d81
(UTILITIES): Remove yow${EXEEXT}.
Eli Zaretskii <eliz@gnu.org>
parents:
69257
diff
changeset
|
122 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
|
123 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
124 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
|
125 |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
126 # 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
|
127 # 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
|
128 SCRIPTS= rcs2log vcdiff |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
129 STAMP_SCRIPTS= stamp-rcs2log stamp-vcdiff |
7329
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
130 |
1b783ac3851d
Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents:
7310
diff
changeset
|
131 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
|
132 |
107407
975563054751
Replace some cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents:
107405
diff
changeset
|
133 # Specify additional -D flags for movemail. Options: |
975563054751
Replace some cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents:
107405
diff
changeset
|
134 # -DMAIL_USE_FLOCK or -DMAIL_USE_LOCKF (use flock or lockf for file locking). |
975563054751
Replace some cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents:
107405
diff
changeset
|
135 # See the comments about locking in movemail.c. Normally the values |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
136 # set by configure should be correct and you should not need to do anything. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
137 # If neither flag is set, you need to use blessmail. |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
138 MOVE_FLAGS= |
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
139 |
108379
203aa49071bf
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108311
diff
changeset
|
140 ## Empty if either MAIL_USE_FLOCK or MAIL_USE_LOCKF, else need-blessmail. |
203aa49071bf
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108311
diff
changeset
|
141 BLESSMAIL_TARGET=@BLESSMAIL_TARGET@ |
108267
16386d4adba0
Minimize blessmail-related cpp usage, with an eye to future removal.
Glenn Morris <rgm@gnu.org>
parents:
108227
diff
changeset
|
142 |
107444
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
143 ## -lkrb if HAVE_LIBKRB or -lkrb4 if HAVE_LIBKRB4 |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
144 KRB4LIB=@KRB4LIB@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
145 ## -ldes if HAVE_LIBDES or -ldes425 if HAVE_LIBDES425 |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
146 DESLIB=@DESLIB@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
147 ## -lkrb5 if HAVE_LIBKRB5 |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
148 KRB5LIB=@KRB5LIB@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
149 ## -lk5crypto if HAVE_LIBK5CRYPTO or -lcrypto if HAVE_LIBCRYPTO |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
150 CRYPTOLIB=@CRYPTOLIB@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
151 ## -lcom_err if HAVE_LIBCOM_ERR |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
152 COM_ERRLIB=@COM_ERRLIB@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
153 ## -lhesiod if HAVE_LIBHESIOD |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
154 LIBHESIOD=@LIBHESIOD@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
155 ## -lresolv if HAVE_LIBRESOLV |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
156 LIBRESOLV=@LIBRESOLV@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
157 ## -llockfile if HAVE_LIBLOCKFILE or -lmail if HAVE_LIBMAIL |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
158 LIBS_MAIL=@LIBS_MAIL@ |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
159 |
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
160 ## Extra libraries to use when linking movemail. |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
161 LIBS_MOVE = $(LIBS_MAIL) $(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
162 $(COM_ERRLIB) $(LIBHESIOD) $(LIBRESOLV) |
107444
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
163 |
108382
b9b3b94979ee
Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
164 ## Some systems define this to request special libraries. |
b9b3b94979ee
Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
165 LIBS_SYSTEM = @LIBS_SYSTEM@ |
b9b3b94979ee
Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
166 |
107836
c97553977f7d
* Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107830
diff
changeset
|
167 # Those files shared with other GNU utilities need HAVE_CONFIG_H |
c97553977f7d
* Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107830
diff
changeset
|
168 # defined before they know they can take advantage of the information |
c97553977f7d
* Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107830
diff
changeset
|
169 # in ../src/config.h. |
109359
b7e047772c64
Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents:
109190
diff
changeset
|
170 BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) ${C_WARNINGS_SWITCH} \ |
b7e047772c64
Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents:
109190
diff
changeset
|
171 -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src |
108479
cea42c2d7982
Minor lib-src/Makefile.in edits.
Glenn Morris <rgm@gnu.org>
parents:
108475
diff
changeset
|
172 |
109359
b7e047772c64
Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents:
109190
diff
changeset
|
173 ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} |
110905
158de1f7d257
Pass CFLAGS to the linker.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
110862
diff
changeset
|
174 LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} |
109359
b7e047772c64
Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents:
109190
diff
changeset
|
175 CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS} |
107444
db38deea3cef
Cosmetic changes to lib-src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
107407
diff
changeset
|
176 |
108382
b9b3b94979ee
Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
177 LOADLIBES=$(LIBS_SYSTEM) |
6915
ffd959526822
Renamed from Makefile.in.
Richard M. Stallman <rms@gnu.org>
parents:
6532
diff
changeset
|
178 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
179 ## This is the default compilation command. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
180 ## But we should never rely on it, because some make version failed to |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
181 ## find it for getopt.o. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
182 ## 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
|
183 .c.o: |
3715
b33ee3d1d18d
(CPP_CFLAGS): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
3582
diff
changeset
|
184 ${CC} -c ${CPP_CFLAGS} $< |
96752
9697a5f0281d
various small cleanups detailed in changelogs
Adrian Robert <Adrian.B.Robert@gmail.com>
parents:
96675
diff
changeset
|
185 |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
186 all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} ${STAMP_INST_SCRIPTS} ${STAMP_SCRIPTS} |
49338
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
187 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
188 ## These targets copy the scripts into the build directory so that |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
189 ## they can be run from there in an uninstalled Emacs. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
190 ## The "-" is prepended because some versions of cp barf when srcdir |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
191 ## is the current directory, and thus the file will be copied into itself. |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
192 stamp-rcs2log: $(srcdir)/rcs2log |
78652
fc773543e60e
(rcs2log, rcs-checkin, grep-changelog, vcdiff): Prepend "-" to the command,
Eli Zaretskii <eliz@gnu.org>
parents:
78257
diff
changeset
|
193 -cp -p $(srcdir)/rcs2log rcs2log |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
194 touch $@ |
49338
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
195 |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
196 stamp-rcs-checkin: $(srcdir)/rcs-checkin |
78652
fc773543e60e
(rcs2log, rcs-checkin, grep-changelog, vcdiff): Prepend "-" to the command,
Eli Zaretskii <eliz@gnu.org>
parents:
78257
diff
changeset
|
197 -cp -p $(srcdir)/rcs-checkin rcs-checkin |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
198 touch $@ |
49338
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
199 |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
200 stamp-grep-changelog: $(srcdir)/grep-changelog |
78652
fc773543e60e
(rcs2log, rcs-checkin, grep-changelog, vcdiff): Prepend "-" to the command,
Eli Zaretskii <eliz@gnu.org>
parents:
78257
diff
changeset
|
201 -cp -p $(srcdir)/grep-changelog grep-changelog |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
202 touch $@ |
49338
5244fe6986a7
(rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
48405
diff
changeset
|
203 |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
204 stamp-vcdiff: $(srcdir)/vcdiff |
78652
fc773543e60e
(rcs2log, rcs-checkin, grep-changelog, vcdiff): Prepend "-" to the command,
Eli Zaretskii <eliz@gnu.org>
parents:
78257
diff
changeset
|
205 -cp -p $(srcdir)/vcdiff vcdiff |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
206 touch $@ |
616 | 207 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
208 ## Only used if we need blessmail, but no harm in always defining. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
209 ## This makes the actual blessmail executable. |
7702
5b7f83eff8dc
(blessmail): Don't depend on ../src/emacs.
Richard M. Stallman <rms@gnu.org>
parents:
7516
diff
changeset
|
210 blessmail: |
76035
62beaa88c2fb
Ulrich Mueller <ulm at kph.uni-mainz.de> (tiny change):
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
211 $(EMACS) $(EMACSOPT) -l $(srcdir)/../lisp/mail/blessmail.el |
6978 | 212 chmod +x blessmail |
213 | |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
214 ## This checks if we need to run blessmail. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
215 ## Do not charge ahead and do it! Let the installer decide. |
108267
16386d4adba0
Minimize blessmail-related cpp usage, with an eye to future removal.
Glenn Morris <rgm@gnu.org>
parents:
108227
diff
changeset
|
216 need-blessmail: blessmail |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
217 @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
|
218 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
|
219 echo Assuming $$dir is really the mail spool directory, you should; \ |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
220 echo run lib-src/blessmail $(DESTDIR)${archlibdir}/movemail${EXEEXT}; \ |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
221 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
|
222 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
|
223 fi |
108267
16386d4adba0
Minimize blessmail-related cpp usage, with an eye to future removal.
Glenn Morris <rgm@gnu.org>
parents:
108227
diff
changeset
|
224 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
225 ## This is the target invoked by the top-level Makefile. |
108267
16386d4adba0
Minimize blessmail-related cpp usage, with an eye to future removal.
Glenn Morris <rgm@gnu.org>
parents:
108227
diff
changeset
|
226 maybe-blessmail: $(BLESSMAIL_TARGET) |
7310
22f22911813a
(maybe-blessmail): New target to print the blessmail warning message.
Richard M. Stallman <rms@gnu.org>
parents:
7281
diff
changeset
|
227 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
228 ## Install the internal utilities. Until they are installed, we can |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
229 ## just run them directly from lib-src. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
230 ## If the chown/chmod commands fail, that is not a big deal. |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
231 ## update-game-score will detect at runtime that it is not setuid, |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
232 ## and handle things accordingly. |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
233 $(DESTDIR)${archlibdir}: all |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
234 @echo |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
235 @echo "Installing utilities run internally by Emacs." |
104883
aa07c84cb085
($(DESTDIR)${archlibdir}): Set umask to world-readable before creating
Glenn Morris <rgm@gnu.org>
parents:
104350
diff
changeset
|
236 umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir} |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
237 if [ `(cd $(DESTDIR)${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
|
238 for file in ${UTILITIES}; do \ |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
239 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \ |
4802
5a3769d017ca
(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents:
4800
diff
changeset
|
240 done ; \ |
8376
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
241 fi |
104883
aa07c84cb085
($(DESTDIR)${archlibdir}): Set umask to world-readable before creating
Glenn Morris <rgm@gnu.org>
parents:
104350
diff
changeset
|
242 umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir}; \ |
aa07c84cb085
($(DESTDIR)${archlibdir}): Set umask to world-readable before creating
Glenn Morris <rgm@gnu.org>
parents:
104350
diff
changeset
|
243 touch $(DESTDIR)${gamedir}/snake-scores; \ |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
244 touch $(DESTDIR)${gamedir}/tetris-scores |
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
245 -if chown ${gameuser} $(DESTDIR)${archlibdir}/update-game-score && chmod u+s $(DESTDIR)${archlibdir}/update-game-score; then \ |
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
246 chown ${gameuser} $(DESTDIR)${gamedir}; \ |
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
247 chmod u=rwx,g=rwx,o=rx $(DESTDIR)${gamedir}; \ |
44986
a2932c842de3
(${archlibdir}): Don't conditionalize on
Colin Walters <walters@gnu.org>
parents:
44480
diff
changeset
|
248 fi |
109190
8afa85da3f2d
Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
Eli Zaretskii <eliz@gnu.org>
parents:
108798
diff
changeset
|
249 if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` \ |
8376
b84147ed033d
(${archlibdir}): Compare the proper dir
Richard M. Stallman <rms@gnu.org>
parents:
8337
diff
changeset
|
250 != `(cd ${srcdir} && /bin/pwd)` ]; then \ |
4802
5a3769d017ca
(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
Brian Fox <bfox@gnu.org>
parents:
4800
diff
changeset
|
251 for file in ${SCRIPTS}; do \ |
73634
698475dc80f9
Installed [mark@mcs.vuw.ac.nz: use INSTALL_SCRIPT in lib-src] patch
Ramprasad B <ramprasad_i82@yahoo.com>
parents:
71294
diff
changeset
|
252 $(INSTALL_SCRIPT) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \ |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
253 done ; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
254 fi |
616 | 255 |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
256 install: $(DESTDIR)${archlibdir} |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
257 @echo |
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
258 @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
|
259 for file in ${INSTALLABLES} ; do \ |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
260 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
261 chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
262 done |
3188
b901b5e04fbb
(install): Get the scripts from ${srcdir}, unlike the executables.
Richard M. Stallman <rms@gnu.org>
parents:
3160
diff
changeset
|
263 for file in ${INSTALLABLE_SCRIPTS} ; do \ |
73634
698475dc80f9
Installed [mark@mcs.vuw.ac.nz: use INSTALL_SCRIPT in lib-src] patch
Ramprasad B <ramprasad_i82@yahoo.com>
parents:
71294
diff
changeset
|
264 $(INSTALL_SCRIPT) ${srcdir}/$${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
265 chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
266 done |
616 | 267 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
268 uninstall: |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
269 (cd $(DESTDIR)${bindir}; \ |
41098
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
270 for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \ |
69257
e0dc4799fa94
Add DESTDIR variable to install and uninstall targets to support staged
Eli Zaretskii <eliz@gnu.org>
parents:
68647
diff
changeset
|
271 rm -f $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
41098
091ed3787464
Add support for --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
40276
diff
changeset
|
272 done) |
107405 | 273 if [ -d $(DESTDIR)${archlibdir} ]; then \ |
274 (cd $(DESTDIR)${archlibdir} && \ | |
275 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) \ | |
276 fi | |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
277 |
5190
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
278 mostlyclean: |
64639
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
279 -rm -f core *.o getopt.h getopt.h-t |
5190
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
280 |
ffe0be5b64fa
(mostlyclean): Make it distinct from clean.
Richard M. Stallman <rms@gnu.org>
parents:
5160
diff
changeset
|
281 clean: mostlyclean |
9015
1452c72d18db
(UTILITIES): Remove test-distrib, make-docfile, make-path.
Richard M. Stallman <rms@gnu.org>
parents:
8376
diff
changeset
|
282 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} |
108745
9e1b87832dbf
Remove cirsular dependency when using separate build dir (Bug #6246).
Jan D. <jan.h.d@swipnet.se>
parents:
108581
diff
changeset
|
283 -rm -f fns*.el *.tab.c *.tab.h stamp-* |
616 | 284 |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
285 distclean: clean |
11200
dd83a62facea
(aixcc, aixcc.c): Targets deleted.
Karl Heuer <kwzh@gnu.org>
parents:
10685
diff
changeset
|
286 -rm -f TAGS |
108798
dedcf813aa69
Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
108745
diff
changeset
|
287 -rm -f Makefile blessmail |
616 | 288 |
10685
71fa5c477213
(maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents:
9574
diff
changeset
|
289 maintainer-clean: distclean |
3781
6c05414356bc
Bring mumbleclean targets into conformance with GNU coding standards.
Jim Blandy <jimb@redhat.com>
parents:
3715
diff
changeset
|
290 true |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
291 |
11603
47d7e21fefbd
(extraclean): Depend on maintainer-clean, not
Karl Heuer <kwzh@gnu.org>
parents:
11548
diff
changeset
|
292 extraclean: maintainer-clean |
1675
2d6fee9f818d
* Makefile.in (exec_prefix): New variable.
Jim Blandy <jimb@redhat.com>
parents:
1659
diff
changeset
|
293 -rm -f *~ \#* |
616 | 294 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
295 ## Test the contents of the directory. |
616 | 296 check: |
108479
cea42c2d7982
Minor lib-src/Makefile.in edits.
Glenn Morris <rgm@gnu.org>
parents:
108475
diff
changeset
|
297 @echo "We don't have any tests for the lib-src/ directory yet." |
616 | 298 |
12526 | 299 tags: TAGS |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
300 TAGS: etags${EXEEXT} |
616 | 301 etags *.[ch] |
302 | |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
303 ## This verifies that the non-ASCII characters in the file \`testfile\' |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
304 ## have not been clobbered by whatever means were used to copy and |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
305 ## distribute Emacs. If they were clobbered, all the .elc files were |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
306 ## clobbered too. |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
307 test-distrib${EXEEXT}: ${srcdir}/test-distrib.c |
7816
b34d9c53ebb6
(test-distrib): Use ALL_CFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
7718
diff
changeset
|
308 $(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
|
309 ./test-distrib ${srcdir}/testfile |
616 | 310 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
311 ## We need the following in order to create a <getopt.h> when the system |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
312 ## does not have one that works with the given compiler. |
64639
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
313 GETOPT_H = @GETOPT_H@ |
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
314 getopt.h: getopt_.h |
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
315 cp $(srcdir)/getopt_.h $@-t |
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
316 mv $@-t $@ |
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
317 |
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
318 GETOPTOBJS = @GETOPTOBJS@ |
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
319 GETOPTDEPS = $(GETOPTOBJS) $(GETOPT_H) |
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
320 getopt.o: ${srcdir}/getopt.c $(GETOPT_H) ${srcdir}/gettext.h |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
321 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c |
64639
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
322 getopt1.o: ${srcdir}/getopt1.c $(GETOPT_H) |
3792
d0b5038d2959
* Makefile.in: Remember, spaces are not tabs.
Jim Blandy <jimb@redhat.com>
parents:
3781
diff
changeset
|
323 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c |
616 | 324 |
9573
398625d049db
(etags): add dependency on regex.o, link with it.
Karl Heuer <kwzh@gnu.org>
parents:
9496
diff
changeset
|
325 REGEXPOBJ = regex.o |
22870 | 326 REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h |
11548
ead6d5ff8a18
[REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
Richard M. Stallman <rms@gnu.org>
parents:
11412
diff
changeset
|
327 |
22870 | 328 regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
329 ${CC} -c ${CPP_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
330 ${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 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
332 etags${EXEEXT}: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
333 $(CC) ${ALL_CFLAGS} -DEMACS_NAME="\"GNU Emacs\"" \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
334 -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
335 $(REGEXPOBJ) $(LOADLIBES) -o etags |
616 | 336 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
337 ebrowse${EXEEXT}: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
338 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
339 ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse |
28519
2fa4374d4f09
(INSTALLABLES): Add ebrowse.
Gerd Moellmann <gerd@gnu.org>
parents:
26438
diff
changeset
|
340 |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
341 ## We depend on etags to assure that parallel makes do not write two |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
342 ## etags.o files on top of each other. |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
343 ctags${EXEEXT}: etags${EXEEXT} |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
344 $(CC) ${ALL_CFLAGS} -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
345 -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
346 $(REGEXPOBJ) $(LOADLIBES) -o ctags |
616 | 347 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
348 profile${EXEEXT}: ${srcdir}/profile.c ../src/config.h |
5789 | 349 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile |
350 | |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
351 make-docfile${EXEEXT}: ${srcdir}/make-docfile.c ../src/config.h |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
352 $(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
353 -o make-docfile |
616 | 354 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
355 movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS) |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
356 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
357 $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MOVE) -o movemail |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
358 |
64639
385af3e03206
Merge gnulib getopt implementation into Emacs.
Paul Eggert <eggert@twinsun.com>
parents:
64083
diff
changeset
|
359 movemail.o: ${srcdir}/movemail.c ../src/config.h $(GETOPT_H) |
103555
e3e672080345
(movemail.o): Don't pass -Demacs, unused.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103353
diff
changeset
|
360 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c |
9156
bc43d1b2bf9f
(MOVE_FLAGS, MOVE_LIBS): New variables.
Richard M. Stallman <rms@gnu.org>
parents:
9015
diff
changeset
|
361 |
26037 | 362 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
|
363 $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c |
616 | 364 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
365 fakemail${EXEEXT}: ${srcdir}/fakemail.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
366 $(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
616 | 367 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
368 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
|
369 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \ |
55438
8ff66a576ed5
(emacsclient${EXEEXT}): Use makefile var `version'.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
52410
diff
changeset
|
370 -DVERSION="\"${version}\"" \ |
16031
5e92da241aba
(emacsclient): Link with getopt.
Richard M. Stallman <rms@gnu.org>
parents:
16011
diff
changeset
|
371 $(LOADLIBES) -o emacsclient |
616 | 372 |
49652
5127a1bf36db
(EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents:
49549
diff
changeset
|
373 hexl${EXEEXT}: ${srcdir}/hexl.c ../src/config.h |
5412
cec4d9434b62
(ALL_CFLAGS): Include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents:
5319
diff
changeset
|
374 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
616 | 375 |
65537
a11113bfd76c
(update-game-score.o): New target.
Richard M. Stallman <rms@gnu.org>
parents:
64769
diff
changeset
|
376 update-game-score${EXEEXT}: update-game-score.o $(GETOPTDEPS) |
108581
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
377 $(CC) ${LINK_CFLAGS} update-game-score.o $(GETOPTOBJS) \ |
8bd06100e173
* lib-src/Makefile.in: Break some long lines.
Glenn Morris <rgm@gnu.org>
parents:
108508
diff
changeset
|
378 $(LOADLIBES) -o update-game-score |
65537
a11113bfd76c
(update-game-score.o): New target.
Richard M. Stallman <rms@gnu.org>
parents:
64769
diff
changeset
|
379 |
a11113bfd76c
(update-game-score.o): New target.
Richard M. Stallman <rms@gnu.org>
parents:
64769
diff
changeset
|
380 update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H) |
a11113bfd76c
(update-game-score.o): New target.
Richard M. Stallman <rms@gnu.org>
parents:
64769
diff
changeset
|
381 $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \ |
67739
9a6debd2ab11
(update-game-score.o): Delete spurious final `\'.
Richard M. Stallman <rms@gnu.org>
parents:
65537
diff
changeset
|
382 -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" |
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
383 |
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
108473
diff
changeset
|
384 ## Makefile ends here. |