annotate src/Makefile.in @ 108600:178b4c78d882

Avoid crashes when stepping with right-arrow through "^L^L". bidi.c (bidi_paragraph_init): Remove redundant assertion that we are at the beginning of a line after call to bidi_find_paragraph_start.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 15 May 2010 17:43:55 +0300
parents d1257e56bb95
children 095e338e1fd8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
1 # Makefile for GNU Emacs.
64770
a0d1312ede66 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64084
diff changeset
2 # Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
108510
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
3 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
4 # Free Software Foundation, Inc.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
5
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
6 # This file is part of GNU Emacs.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
7
94995
a46a8a839596 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94918
diff changeset
8 # GNU Emacs is free software: you can redistribute it and/or modify
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
9 # it under the terms of the GNU General Public License as published by
94995
a46a8a839596 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94918
diff changeset
10 # the Free Software Foundation, either version 3 of the License, or
a46a8a839596 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94918
diff changeset
11 # (at your option) any later version.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
12
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
16 # GNU General Public License for more details.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
17
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
18 # You should have received a copy of the GNU General Public License
94995
a46a8a839596 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94918
diff changeset
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
20
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
21
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
22 # Note that this file is edited by msdos/sed1v2.inp for MSDOS. That
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
23 # script may need modifying in sync with changes made here. Try to
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
24 # avoid shell-ism because the DOS build has to use the DOS shell.
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
25
39667
7ca787d18982 *** empty log message ***
Pavel Janík <Pavel@Janik.cz>
parents: 39648
diff changeset
26 # Don't try to replace the cpp processing using autoconf facilities,
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
27 # says rms.
91691
0a928dba3639 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
Dan Nicolaescu <dann@ics.uci.edu>
parents: 91386
diff changeset
28 # Replacing a particular part of the conditionals to work via autoconf
0a928dba3639 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
Dan Nicolaescu <dann@ics.uci.edu>
parents: 91386
diff changeset
29 # is OK.
0a928dba3639 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
Dan Nicolaescu <dann@ics.uci.edu>
parents: 91386
diff changeset
30 # Some of the conditionals might be dead now. Finding them and
0a928dba3639 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
Dan Nicolaescu <dann@ics.uci.edu>
parents: 91386
diff changeset
31 # deleting them would be fine.
0a928dba3639 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
Dan Nicolaescu <dann@ics.uci.edu>
parents: 91386
diff changeset
32
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
33 SHELL = /bin/sh
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
34
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
35 # Here are the things that we expect ../configure to edit.
22872
9a4c2093ceae (widget.o, xfns.o, xmenu.o):
Richard M. Stallman <rms@gnu.org>
parents: 22294
diff changeset
36 # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
107451
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
37 srcdir = @srcdir@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
38 abs_builddir = @abs_builddir@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
39 VPATH = $(srcdir)
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
40 CC = @CC@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
41 CFLAGS = @CFLAGS@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
42 CPPFLAGS = @CPPFLAGS@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
43 LDFLAGS = @LDFLAGS@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
44 EXEEXT = @EXEEXT@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
45 version = @version@
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
46 # Substitute an assignment for the MAKE variable, because
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
47 # BSD doesn't have it as a default.
6927
c9f93ac26d28 (configuration): Use SET_MAKE to get the value of $(MAKE).
Richard M. Stallman <rms@gnu.org>
parents: 6892
diff changeset
48 @SET_MAKE@
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
49 # Don't use LIBS. configure puts stuff in it that either shouldn't be
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
50 # linked with Emacs or is duplicated by the cpp stuff below.
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
51 # LIBS = @LIBS@
28586
208f9a3dc638 (LIBOBJS): New variable.
Dave Love <fx@gnu.org>
parents: 28585
diff changeset
52 LIBOBJS = @LIBOBJS@
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
53
95461
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
54 lispsource = ${srcdir}/../lisp/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
55 libsrc = ../lib-src/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
56 etc = ../etc/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
57 oldXMenudir = ../oldXMenu/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
58 lwlibdir = ../lwlib/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
59 lispdir = ../lisp/
7045
6ea4737a3db7 (alloca.o): Use config_h.
Richard M. Stallman <rms@gnu.org>
parents: 6999
diff changeset
60
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
61 # Configuration files for .o files to depend on.
7045
6ea4737a3db7 (alloca.o): Use config_h.
Richard M. Stallman <rms@gnu.org>
parents: 6999
diff changeset
62 M_FILE = ${srcdir}/@machfile@
6ea4737a3db7 (alloca.o): Use config_h.
Richard M. Stallman <rms@gnu.org>
parents: 6999
diff changeset
63 S_FILE = ${srcdir}/@opsysfile@
6ea4737a3db7 (alloca.o): Use config_h.
Richard M. Stallman <rms@gnu.org>
parents: 6999
diff changeset
64 config_h = config.h $(M_FILE) $(S_FILE)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
65
107451
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
66 bootstrap_exe = ${abs_builddir}/bootstrap-emacs${EXEEXT}
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
67
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
68 ## ns-app if HAVE_NS, else empty.
105052
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
69 OTHER_FILES = @OTHER_FILES@
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
70
108096
457366a09420 Close bug#5655.
Glenn Morris <rgm@gnu.org>
parents: 108094
diff changeset
71 CRT_DIR=@CRT_DIR@
457366a09420 Close bug#5655.
Glenn Morris <rgm@gnu.org>
parents: 108094
diff changeset
72
108227
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
73 ## Machine-specific CFLAGS.
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
74 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
75 ## System-specific CFLAGS.
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
76 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
77
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
78 ## Currently only set if NS_IMPL_GNUSTEP.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
79 ## C_SWITCH_X_SITE may override this.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
80 C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
81
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
82 ## Define C_SWITCH_X_SITE to contain any special flags your compiler
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
83 ## may need to deal with X Windows. For instance, if you've defined
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
84 ## HAVE_X_WINDOWS and your X include files aren't in a place that your
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
85 ## compiler can find on its own, you might want to add "-I/..." or
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
86 ## something similar. This is normally set by configure.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
87 ## This is used before C_SWITCH_X_SYSTEM and may override it.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
88 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
89
108523
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
90 ## Define LD_SWITCH_X_SITE to contain any special flags your loader
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
91 ## may need to deal with X Windows. For instance, if your X libraries
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
92 ## aren't in a place that your loader can find on its own, you might
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
93 ## want to add "-L/..." or something similar. Only used if
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
94 ## HAVE_X_WINDOWS.
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
95 ## FIXME? configure sets a value for this, but it has never been
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
96 ## substituted in this or any other Makefile. Cf C_SWITCH_X_SITE.
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
97 LD_SWITCH_X_SITE=
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
98
108228
385494b60342 Move LD_SWITCH_SYSTEM_TEMACS from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108227
diff changeset
99 ## This holds any special options for linking temacs only (ie, not
108278
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
100 ## used by configure). Not used elsewhere because it sometimes
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
101 ## contains options that have to do with using Emacs's crt0,
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
102 ## which are only good with temacs.
108228
385494b60342 Move LD_SWITCH_SYSTEM_TEMACS from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108227
diff changeset
103 LD_SWITCH_SYSTEM_TEMACS=@LD_SWITCH_SYSTEM_TEMACS@
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
104
108229
0c1c81ee223e Move LD_SWITCH_X_SITE_AUX from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108228
diff changeset
105 ## Next two must come before LD_SWITCH_SYSTEM.
0c1c81ee223e Move LD_SWITCH_X_SITE_AUX from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108228
diff changeset
106 ## If needed, a -R option that says where to find X windows at run time.
0c1c81ee223e Move LD_SWITCH_X_SITE_AUX from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108228
diff changeset
107 LD_SWITCH_X_SITE_AUX=@LD_SWITCH_X_SITE_AUX@
0c1c81ee223e Move LD_SWITCH_X_SITE_AUX from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108228
diff changeset
108 ## As above, but using -rpath instead.
0c1c81ee223e Move LD_SWITCH_X_SITE_AUX from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108228
diff changeset
109 LD_SWITCH_X_SITE_AUX_RPATH=@LD_SWITCH_X_SITE_AUX_RPATH@
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
110
108278
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
111 ## System-specific LDFLAGS.
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
112 LD_SWITCH_SYSTEM=@LD_SWITCH_SYSTEM@
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
113 LD_SWITCH_SYSTEM_EXTRA=@LD_SWITCH_SYSTEM_EXTRA@
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
114
108278
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
115 ## Flags to pass to ld only for temacs.
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
116 TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_EXTRA) $(LD_SWITCH_SYSTEM_TEMACS)
108227
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
117
108382
b9b3b94979ee Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108311
diff changeset
118 ## Some systems define this to request special libraries.
b9b3b94979ee Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108311
diff changeset
119 LIBS_SYSTEM=@LIBS_SYSTEM@
b9b3b94979ee Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108311
diff changeset
120
108507
ea7b1bab920f Move LIB_GCC from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108473
diff changeset
121 ## Where to find libgcc.a, if using gcc and necessary.
ea7b1bab920f Move LIB_GCC from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108473
diff changeset
122 LIB_GCC=@LIB_GCC@
ea7b1bab920f Move LIB_GCC from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108473
diff changeset
123
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
124 ## May use $CRT_DIR.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
125 LIB_STANDARD=@LIB_STANDARD@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
126
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
127 ## -lm, or empty.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
128 LIB_MATH=@LIB_MATH@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
129
107725
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
130 LIBTIFF=@LIBTIFF@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
131 LIBJPEG=@LIBJPEG@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
132 LIBPNG=@LIBPNG@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
133 LIBGIF=@LIBGIF@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
134 LIBXPM=@LIBXPM@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
135 XFT_LIBS=@XFT_LIBS@
108217
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
136 LIBX_EXTRA=$(LIBTIFF) $(LIBJPEG) $(LIBPNG) $(LIBGIF) $(LIBXPM) -lX11 $(XFT_LIBS)
107725
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
137
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
138 FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
139 FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
140 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
141 FREETYPE_LIBS = @FREETYPE_LIBS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
142 LIBOTF_CFLAGS = @LIBOTF_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
143 LIBOTF_LIBS = @LIBOTF_LIBS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
144 M17N_FLT_CFLAGS = @M17N_FLT_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
145 M17N_FLT_LIBS = @M17N_FLT_LIBS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
146
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
147 DBUS_CFLAGS = @DBUS_CFLAGS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
148 DBUS_LIBS = @DBUS_LIBS@
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
149 DBUS_OBJ = @DBUS_OBJ@
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
150
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
151 GCONF_CFLAGS = @GCONF_CFLAGS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
152 GCONF_LIBS = @GCONF_LIBS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
153
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
154 GTK_OBJ=@GTK_OBJ@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
155
108310
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
156 ## -ltermcap, or -lncurses, or -lcurses, or "".
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
157 LIBS_TERMCAP=@LIBS_TERMCAP@
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
158 ## terminfo.o if TERMINFO, else tparam.o.
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
159 TERMCAP_OBJ=@TERMCAP_OBJ@
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
160
108148
1c3ecdb885b5 Move LIBXMU from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108147
diff changeset
161 LIBXMU=@LIBXMU@
1c3ecdb885b5 Move LIBXMU from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108147
diff changeset
162
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
163 LIBXSM=@LIBXSM@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
164
108136
43dcbd8381dc Move LIBXTR6 from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108134
diff changeset
165 LIBXTR6=@LIBXTR6@
43dcbd8381dc Move LIBXTR6 from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108134
diff changeset
166
108217
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
167 ## $(LIBXMU) -lXt $(LIBXTR6) -lXext if USE_X_TOOLKIT, else $(LIBXSM).
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
168 ## Only used if HAVE_X_WINDOWS.
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
169 LIBXT_OTHER=@LIBXT_OTHER@
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
170
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
171 ## Only used if HAVE_X11 && !USE_GTK.
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
172 ## really-lwlib if USE_X_TOOLKIT, else really-oldxmenu.
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
173 OLDXMENU_TARGET=@OLDXMENU_TARGET@
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
174
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
175 XMENU_OBJ=@XMENU_OBJ@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
176 XOBJ=@XOBJ@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
177
108134
236318fbe135 Replace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW.
Glenn Morris <rgm@gnu.org>
parents: 108133
diff changeset
178 TOOLKIT_LIBW=@TOOLKIT_LIBW@
108123
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
179
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
180 LIBSOUND= @LIBSOUND@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
181 CFLAGS_SOUND= @CFLAGS_SOUND@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
182
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
183 RSVG_LIBS= @RSVG_LIBS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
184 RSVG_CFLAGS= @RSVG_CFLAGS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
185
108123
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
186 ## widget.o if USE_X_TOOLKIT, otherwise empty.
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
187 WIDGET_OBJ=@WIDGET_OBJ@
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
188
108151
582ce1d4716e Define CYGWIN_OBJ with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108150
diff changeset
189 ## sheap.o if CYGWIN, otherwise empty.
582ce1d4716e Define CYGWIN_OBJ with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108150
diff changeset
190 CYGWIN_OBJ=@CYGWIN_OBJ@
582ce1d4716e Define CYGWIN_OBJ with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108150
diff changeset
191
108592
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108584
diff changeset
192 ## dosfns.o msdos.o w16select.o if MSDOS.
108555
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
193 MSDOS_OBJ =
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
194 ## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS.
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
195 MSDOS_X_OBJ =
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
196 MSDOS_SUPPORT_REAL = ${lispsource}ls-lisp.elc ${lispsource}disp-table.elc \
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
197 ${lispsource}dos-fns.elc ${lispsource}dos-w32.elc ${lispsource}dos-vars.elc \
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
198 ${lispsource}term/internal.elc ${lispsource}term/pc-win.elc
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
199 ## $MSDOS_SUPPORT_REAL if MSDOS.
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
200 MSDOS_SUPPORT =
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
201
108562
3088b1e22407 No harm in always defining some ns_ Makefile variables.
Glenn Morris <rgm@gnu.org>
parents: 108558
diff changeset
202 ns_appdir=@ns_appdir@/
3088b1e22407 No harm in always defining some ns_ Makefile variables.
Glenn Morris <rgm@gnu.org>
parents: 108558
diff changeset
203 ns_appbindir=@ns_appbindir@/
3088b1e22407 No harm in always defining some ns_ Makefile variables.
Glenn Morris <rgm@gnu.org>
parents: 108558
diff changeset
204 ns_appsrc=@ns_appsrc@
108147
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
205 NS_OBJ=@NS_OBJ@
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
206 NS_SUPPORT=@NS_SUPPORT@
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
207 ## Next two only set if NS_IMPL_GNUSTEP.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
208 GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
209 GNUSTEP_SYSTEM_LIBRARIES=@GNUSTEP_SYSTEM_LIBRARIES@
108147
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
210
108537
f9f040b85798 Unify some conditionals in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108536
diff changeset
211 ## Only used if HAVE_X_WINDOWS.
108149
1af337cb46c4 Set FONT_DRIVERS with configure rather than cpp.
Glenn Morris <rgm@gnu.org>
parents: 108148
diff changeset
212 FONT_OBJ=@FONT_OBJ@
1af337cb46c4 Set FONT_DRIVERS with configure rather than cpp.
Glenn Morris <rgm@gnu.org>
parents: 108148
diff changeset
213
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
214 ## Used if HAVE_MOUSE.
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
215 REAL_MOUSE_SUPPORT=${lispsource}mouse.elc ${lispsource}select.elc \
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
216 ${lispsource}scroll-bar.elc
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
217 ## Used if HAVE_GPM && !HAVE_MOUSE
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
218 GPM_MOUSE_SUPPORT=${lispsource}mouse.elc
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
219 LIBGPM = @LIBGPM@
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
220 ## Either of the two preceding options, or empty.
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
221 MOUSE_SUPPORT=@MOUSE_SUPPORT@
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
222
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
223 ## ${lispsource}tooltip.elc if HAVE_WINDOW_SYSTEM, else empty.
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
224 TOOLTIP_SUPPORT=@TOOLTIP_SUPPORT@
108150
66c73788b432 Set GPM part of MOUSE_SUPPORT with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108149
diff changeset
225
108152
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
226 BASE_WINDOW_SUPPORT=${lispsource}fringe.elc ${lispsource}image.elc \
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
227 ${lispsource}international/fontset.elc ${lispsource}dnd.elc \
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
228 ${lispsource}tool-bar.elc ${lispsource}mwheel.elc
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
229
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
230 X_WINDOW_SUPPORT=${lispsource}x-dnd.elc ${lispsource}term/common-win.elc \
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
231 ${lispsource}term/x-win.elc ${lispsource}dynamic-setting.elc
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
232
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
233 ## If HAVE_X_WINDOWS, both the above
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
234 ## else if HAVE_WINDOW_SYSTEM (ie, HAVE_NS) just the former; else empty.
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
235 WINDOW_SUPPORT=@WINDOW_SUPPORT@
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
236
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
237 ## -lresolv, or empty.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
238 LIBRESOLV = @LIBRESOLV@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
239
108014
c85d877f94f1 Remove LIBSELINUX_LIBS need for cpp in Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 108011
diff changeset
240 LIBSELINUX_LIBS = @LIBSELINUX_LIBS@
c85d877f94f1 Remove LIBSELINUX_LIBS need for cpp in Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 108011
diff changeset
241
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
242 INTERVALS_H = dispextern.h intervals.h composite.h
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
243
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
244 GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
245
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
246 RUN_TEMACS = `/bin/pwd`/temacs
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
247
108274
8416c8d075e3 Define LIB_STANDARD and START_FILES using autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108271
diff changeset
248 START_FILES = @START_FILES@
8416c8d075e3 Define LIB_STANDARD and START_FILES using autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108271
diff changeset
249
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
250 UNEXEC_OBJ = @unexec@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
251
14597
735184f496c3 Comment fix.
Karl Heuer <kwzh@gnu.org>
parents: 14589
diff changeset
252 # ========================== start of cpp stuff =======================
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
253 /* From here on, comments must be done in C syntax. */
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
254
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
255 #define NOT_C_CODE
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
256 #include "config.h"
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
257
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
258 #ifdef AUTO_DEPEND
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
259 DEPFLAGS = -MMD -MF deps/$*.d
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
260 #endif
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
261
108546
8039fa319d6b Minor build simplification for NS.
Glenn Morris <rgm@gnu.org>
parents: 108545
diff changeset
262 /* If NS_IMPL_GNUSTEP, some definitions and includes are expanded here. */
8039fa319d6b Minor build simplification for NS.
Glenn Morris <rgm@gnu.org>
parents: 108545
diff changeset
263 @NS_IMPL_GNUSTEP_INC@
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
264
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
265 /* DO NOT use -R. There is a special hack described in lastfile.c
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
266 which is used instead. Some initialized data areas are modified
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
267 at initial startup, then labeled as part of the text area when
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
268 Emacs is dumped for the first time, and never changed again. */
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
269
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
270 /* -Demacs is needed to make some files produce the correct version
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
271 for use in Emacs.
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
272
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
273 -DHAVE_CONFIG_H is needed for some other files to take advantage of
72633
d1bad4e0b838 Double all single and back quotes in C-style
Andreas Schwab <schwab@suse.de>
parents: 71815
diff changeset
274 the information in ``config.h''. */
5030
1c9c9a87f8b6 Delete spurious CFLAGS=-g.
Richard M. Stallman <rms@gnu.org>
parents: 4963
diff changeset
275
108094
7a80cd5e5722 * Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108086
diff changeset
276 /* C_SWITCH_X_SITE must come before C_SWITCH_X_SYSTEM
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
277 since it may have -I options that should override those. */
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108263
diff changeset
278 /* MYCPPFLAGS only referenced in etc/DEBUG. */
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
279 ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} ${C_SWITCH_MACHINE} ${C_SWITCH_SYSTEM} ${C_SWITCH_X_SITE} ${C_SWITCH_X_SYSTEM} ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${GCONF_CFLAGS} ${CFLAGS} ${FREETYPE_CFLAGS} ${FONTCONFIG_CFLAGS} ${LIBOTF_CFLAGS} ${M17N_FLT_CFLAGS} ${DEPFLAGS}
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
280 ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS)
97354
0defde3a9c5f * s/darwin.h (OTHER_FILES): Do not define here, defined in
Dan Nicolaescu <dann@ics.uci.edu>
parents: 97345
diff changeset
281
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
282 .SUFFIXES: .m
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
283 .c.o:
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
284 #ifdef AUTO_DEPEND
106013
f73265af0411 Ignore errors from mkdir when creating deps
Andreas Schwab <schwab@linux-m68k.org>
parents: 106009
diff changeset
285 @-test -d deps || mkdir deps
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
286 #endif
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
287 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
288 .m.o:
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
289 #ifdef AUTO_DEPEND
106013
f73265af0411 Ignore errors from mkdir when creating deps
Andreas Schwab <schwab@linux-m68k.org>
parents: 106009
diff changeset
290 @-test -d deps || mkdir deps
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
291 #endif
97354
0defde3a9c5f * s/darwin.h (OTHER_FILES): Do not define here, defined in
Dan Nicolaescu <dann@ics.uci.edu>
parents: 97345
diff changeset
292 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $<
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
293
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
294 #ifdef HAVE_X_WINDOWS
108172
c9d0b6bfe74e Replace some xmenu cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108171
diff changeset
295 OLDXMENU=@OLDXMENU@
c9d0b6bfe74e Replace some xmenu cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108171
diff changeset
296 LIBXMENU=@LIBXMENU@
108217
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
297 LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER)
108523
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
298 LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE)
108217
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
299 LIBX_OTHER=@LIBX_OTHER@
108537
f9f040b85798 Unify some conditionals in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108536
diff changeset
300 FONT_DRIVERS=$(FONT_OBJ)
108524
732a4fb5612e Let configure set OLDXMENU, LIBXMENU if !HAVE_MENUS.
Glenn Morris <rgm@gnu.org>
parents: 108523
diff changeset
301 #endif /* HAVE_X_WINDOWS */
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
302
108510
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
303
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
304 /* A macro which other sections of Makefile can redefine to munge the
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
305 flags before they are passed to LD. This is helpful if you have
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
306 redefined LD to something odd, like "gcc".
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
307 (The YMF prefix is a holdover from the old name "ymakefile".) */
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
308 #define YMF_PASS_LDFLAGS(flags) flags
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
309
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
310
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
311 #ifdef ORDINARY_LINK
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
312 LD = $(CC)
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
313
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
314 #else /* not ORDINARY_LINK */
108507
ea7b1bab920f Move LIB_GCC from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108473
diff changeset
315 GNULIB_VAR = $(LIB_GCC)
ea7b1bab920f Move LIB_GCC from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108473
diff changeset
316
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
317 /* Fix linking if compiled with GCC. */
108510
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
318 #if defined (__GNUC__) && ! defined (LINKER)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
319 /* Versions of GCC >= 2.0 put their library, libgcc.a, in obscure
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
320 places that are difficult to figure out at make time. Fortunately,
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
321 these same versions allow you to pass arbitrary flags on to the
72685
66699c76726f Avoid double quotes when possible.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 72633
diff changeset
322 linker, so there is no reason not to use it as a linker.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
323
72685
66699c76726f Avoid double quotes when possible.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 72633
diff changeset
324 Well, it is not quite perfect. The "-nostdlib" keeps GCC from
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
325 searching for libraries in its internal directories, so we have to
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
326 ask GCC explicitly where to find libgcc.a. */
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
327 #define LINKER $(CC) -nostdlib
108510
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
328 /* GCC passes any argument prefixed with -Xlinker directly to the linker.
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
329 See prefix-args.c for an explanation of why we do not do this with the
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
330 shell''s ``for'' construct. Note that sane people do not have '.' in
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
331 their paths, so we must use ./prefix-args. */
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
332 #undef YMF_PASS_LDFLAGS
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
333 #define YMF_PASS_LDFLAGS(flags) `./prefix-args -Xlinker flags`
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
334 #endif /* defined (__GNUC__) && ! defined (LINKER) */
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
335
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
336 #ifdef LINKER
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
337 LD=LINKER
5670
1c506424bb84 (widgetobj): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 5575
diff changeset
338 #else /* not LINKER */
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
339 LD=ld
5670
1c506424bb84 (widgetobj): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 5575
diff changeset
340 #endif /* not LINKER */
108510
b9450230de5c Simplify linker-related logic in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
341
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
342 #endif /* not ORDINARY_LINK */
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
343
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
344 /* lastfile must follow all files whose initialized data areas should
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
345 be dumped as pure by dump-emacs. */
95655
9a50a852d447 * Makefile.in (obj): Always add menu.o
Andreas Schwab <schwab@suse.de>
parents: 95651
diff changeset
346 obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \
107584
e0df0337f248 Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents: 107583
diff changeset
347 charset.o coding.o category.o ccl.o character.o chartab.o bidi.o \
86940
2dd672d9fe75 * config.in (HAVE_DBUS): Add.
Michael Albinus <michael.albinus@gmx.de>
parents: 86503
diff changeset
348 cm.o term.o terminal.o xfaces.o $(XOBJ) $(GTK_OBJ) $(DBUS_OBJ) \
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
349 emacs.o keyboard.o macros.o keymap.o sysdep.o \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
350 buffer.o filelock.o insdel.o marker.o \
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
351 minibuf.o fileio.o dired.o filemode.o \
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
352 cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
353 alloc.o data.o doc.o editfns.o callint.o \
95123
82e9a5397753 (FONTSRC): Delete it. Change all $(FONTSRC) to
Kenichi Handa <handa@m17n.org>
parents: 94995
diff changeset
354 eval.o floatfns.o fns.o font.o print.o lread.o \
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
355 syntax.o $(UNEXEC_OBJ) bytecode.o \
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
356 process.o callproc.o \
27423
c3199813ea4d (obj): Add atimer.o.
Gerd Moellmann <gerd@gnu.org>
parents: 26836
diff changeset
357 region-cache.o sound.o atimer.o \
34049
817d000feda3 (obj): Add md5.o
Gerd Moellmann <gerd@gnu.org>
parents: 33640
diff changeset
358 doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \
108555
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
359 $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_DRIVERS)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
360
5401
fd65333a301e (SOME_MACHINE_OBJECTS): New var.
Richard M. Stallman <rms@gnu.org>
parents: 5368
diff changeset
361 /* Object files used on some machine or other.
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
362 These go in the DOC file on all machines in case they are needed. */
85866
6a9f9f174e91 * makefile.w32-in (obj): Remove sunfns.o.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 85826
diff changeset
363 SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
65578
e1d85bcde8ef (SOME_MACHINE_OBJECTS): Undo previous change.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents: 65562
diff changeset
364 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o \
107690
5abfa35c708c Close bug#5336.
Glenn Morris <rgm@gnu.org>
parents: 106862
diff changeset
365 fontset.o dbusbind.o \
96676
336d4f3f5eca adding forgotten file src/nsfont.m for emacs.app merge
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96675
diff changeset
366 nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \
96328
6692bd7023d6 * src/Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o.
Juanma Barranquero <lekktu@gmail.com>
parents: 96303
diff changeset
367 w32.o w32console.o w32fns.o w32heap.o w32inevt.o \
95123
82e9a5397753 (FONTSRC): Delete it. Change all $(FONTSRC) to
Kenichi Handa <handa@m17n.org>
parents: 94995
diff changeset
368 w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_DRIVERS)
9595
d0a1ccb93c47 (SOME_MACHINE_OBJECTS): Add msdos.o and x*.o files.
Richard M. Stallman <rms@gnu.org>
parents: 9572
diff changeset
369
108185
804e9ced8374 Rework previous autoconf changes, hopefully to make clearer.
Glenn Morris <rgm@gnu.org>
parents: 108176
diff changeset
370 gmallocobj =
804e9ced8374 Rework previous autoconf changes, hopefully to make clearer.
Glenn Morris <rgm@gnu.org>
parents: 108176
diff changeset
371 rallocobj =
804e9ced8374 Rework previous autoconf changes, hopefully to make clearer.
Glenn Morris <rgm@gnu.org>
parents: 108176
diff changeset
372 vmlimitobj =
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
373 #ifndef SYSTEM_MALLOC
41542
f30168d4d5e6 (mallocobj): Simplify logic using auxiliary vars.
Richard M. Stallman <rms@gnu.org>
parents: 39667
diff changeset
374 #ifndef DOUG_LEA_MALLOC
f30168d4d5e6 (mallocobj): Simplify logic using auxiliary vars.
Richard M. Stallman <rms@gnu.org>
parents: 39667
diff changeset
375 gmallocobj = gmalloc.o
f30168d4d5e6 (mallocobj): Simplify logic using auxiliary vars.
Richard M. Stallman <rms@gnu.org>
parents: 39667
diff changeset
376 #endif
f30168d4d5e6 (mallocobj): Simplify logic using auxiliary vars.
Richard M. Stallman <rms@gnu.org>
parents: 39667
diff changeset
377
17349
98ab53aa2e6c (mallocobj): Don't add gmalloc if using glibc.
Richard M. Stallman <rms@gnu.org>
parents: 17329
diff changeset
378 #ifdef REL_ALLOC
41542
f30168d4d5e6 (mallocobj): Simplify logic using auxiliary vars.
Richard M. Stallman <rms@gnu.org>
parents: 39667
diff changeset
379 rallocobj = ralloc.o
f30168d4d5e6 (mallocobj): Simplify logic using auxiliary vars.
Richard M. Stallman <rms@gnu.org>
parents: 39667
diff changeset
380 #endif
108176
e6f59a2ba110 Hopefully fix bug#6065.
Glenn Morris <rgm@gnu.org>
parents: 108172
diff changeset
381
e6f59a2ba110 Hopefully fix bug#6065.
Glenn Morris <rgm@gnu.org>
parents: 108172
diff changeset
382 vmlimitobj = vm-limit.o
108171
06a18c2b3272 Replace some cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108170
diff changeset
383 #endif /* !SYSTEM_MALLOC */
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
384
108297
e514622e9d11 Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from configury).
Eli Zaretskii <eliz@gnu.org>
parents: 108278
diff changeset
385 /* Empty on Cygwin, lastfile.o elsewhere. */
108185
804e9ced8374 Rework previous autoconf changes, hopefully to make clearer.
Glenn Morris <rgm@gnu.org>
parents: 108176
diff changeset
386 PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@
108297
e514622e9d11 Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from configury).
Eli Zaretskii <eliz@gnu.org>
parents: 108278
diff changeset
387 /* lastfile.o vm-limit.o on Cygwin, $vmlimitobj elsewhere. */
108185
804e9ced8374 Rework previous autoconf changes, hopefully to make clearer.
Glenn Morris <rgm@gnu.org>
parents: 108176
diff changeset
388 POST_ALLOC_OBJ=@POST_ALLOC_OBJ@
108176
e6f59a2ba110 Hopefully fix bug#6065.
Glenn Morris <rgm@gnu.org>
parents: 108172
diff changeset
389
108171
06a18c2b3272 Replace some cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108170
diff changeset
390 /* List of object files that make-docfile should not be told about. */
108310
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
391 otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \
108185
804e9ced8374 Rework previous autoconf changes, hopefully to make clearer.
Glenn Morris <rgm@gnu.org>
parents: 108176
diff changeset
392 $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
393
105214
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
394 /* This is the platform-specific list of Lisp files loaded into the
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
395 dumped Emacs. It is arranged like this because it is easier to generate
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
396 it semi-mechanically from loadup.el this way.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
397
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
398 Note that this list should not include lisp files which might not
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
399 be present, like site-load.el and site-init.el; this makefile
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
400 expects them all to be either present or buildable.
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
401
105214
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
402 Files which are loaded unconditionally (i.e., on all platforms) should
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
403 also be in shortlisp. Files which are loaded conditionally (i.e., only
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
404 on some platforms) should instead be in SOME_MACHINE_LISP. */
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
405
96269
603f00a9cc21 Comment typo.
Glenn Morris <rgm@gnu.org>
parents: 96245
diff changeset
406 /* Place loaddefs.el first, so it gets generated first, since it is on
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
407 the critical path (relevant in parallel compilations). */
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
408
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
409 lisp= \
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
410 ${lispsource}loaddefs.el \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
411 ${lispsource}abbrev.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
412 ${lispsource}buff-menu.elc \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
413 ${lispsource}button.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
414 ${lispsource}emacs-lisp/byte-run.elc \
89281
c0c4ea6bf780 (lisp, shortlisp): Add composite.elc
Kenichi Handa <handa@m17n.org>
parents: 89165
diff changeset
415 ${lispsource}composite.elc \
48872
cbe850fcc07e (lisp, shortlisp): Add cus-face and timer.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 48541
diff changeset
416 ${lispsource}cus-face.elc \
43359
9daaaacba0eb (lisp, shortlisp): Use cus-start.elc, not cus-start.el.
Eli Zaretskii <eliz@gnu.org>
parents: 42279
diff changeset
417 ${lispsource}cus-start.elc \
17684
e486cbd2419d (MOUSE_SUPPORT): Delete menu-bar.elc.
Richard M. Stallman <rms@gnu.org>
parents: 17455
diff changeset
418 ${lispsource}custom.elc \
43514
057daa8cfae0 (lisp): Add emacs-lisp/backquote.elc.
Jason Rumney <jasonr@gnu.org>
parents: 43512
diff changeset
419 ${lispsource}emacs-lisp/backquote.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
420 ${lispsource}emacs-lisp/lisp-mode.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
421 ${lispsource}emacs-lisp/lisp.elc \
28913
363038c049d6 (lisp): Add env.elc.
Gerd Moellmann <gerd@gnu.org>
parents: 28744
diff changeset
422 ${lispsource}env.elc \
18061
fff99dc53d81 (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o.
Richard M. Stallman <rms@gnu.org>
parents: 18048
diff changeset
423 ${lispsource}faces.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
424 ${lispsource}files.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
425 ${lispsource}format.elc \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
426 ${lispsource}facemenu.elc \
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
427 ${MOUSE_SUPPORT} \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
428 ${lispsource}emacs-lisp/float-sup.elc \
50261
8b320ee1b3e1 Make sure space precedes end-of-line backslashes.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 50216
diff changeset
429 ${lispsource}frame.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
430 ${lispsource}help.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
431 ${lispsource}indent.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
432 ${lispsource}isearch.elc \
66908
3a70e0ff7404 (lisp, shortlisp): Add rfn-eshadow.
Luc Teirlinck <teirllm@auburn.edu>
parents: 66679
diff changeset
433 ${lispsource}rfn-eshadow.elc \
13461
8371f44b7099 (lisp): Add loadup.el.
Richard M. Stallman <rms@gnu.org>
parents: 13355
diff changeset
434 ${lispsource}loadup.el \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
435 ${lispsource}bindings.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
436 ${lispsource}emacs-lisp/map-ynp.elc \
17684
e486cbd2419d (MOUSE_SUPPORT): Delete menu-bar.elc.
Richard M. Stallman <rms@gnu.org>
parents: 17455
diff changeset
437 ${lispsource}menu-bar.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
438 ${lispsource}international/mule.elc \
106862
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
439 ${lispsource}international/mule-conf.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
440 ${lispsource}international/mule-cmds.elc \
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
441 ${lispsource}international/characters.elc \
90093
0d7dcacdcd19 (lisp): Include charprop.el.
Kenichi Handa <handa@m17n.org>
parents: 90054
diff changeset
442 ${lispsource}international/charprop.el \
19246
f6bd90990d66 (lisp, shortlisp): Add bindings.el and case-table.elc.
Richard M. Stallman <rms@gnu.org>
parents: 19038
diff changeset
443 ${lispsource}case-table.elc \
106862
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
444 ${lispsource}language/chinese.elc \
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
445 ${lispsource}language/cyrillic.elc \
106400
18230cebbf17 (lisp, shortlisp): Replace indian.el with indian.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 106293
diff changeset
446 ${lispsource}language/indian.elc \
92065
5938b98d39c4 (lisp): Remove devanagari.el, kannada.el,
Kenichi Handa <handa@m17n.org>
parents: 91765
diff changeset
447 ${lispsource}language/sinhala.el \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
448 ${lispsource}language/english.el \
17020
5cf5e7c9fe55 The following changes are for new source codes related to Mule.
Karl Heuer <kwzh@gnu.org>
parents: 16912
diff changeset
449 ${lispsource}language/ethiopic.elc \
5cf5e7c9fe55 The following changes are for new source codes related to Mule.
Karl Heuer <kwzh@gnu.org>
parents: 16912
diff changeset
450 ${lispsource}language/european.elc \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
451 ${lispsource}language/czech.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
452 ${lispsource}language/slovak.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
453 ${lispsource}language/romanian.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
454 ${lispsource}language/greek.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
455 ${lispsource}language/hebrew.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
456 ${lispsource}language/japanese.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
457 ${lispsource}language/korean.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
458 ${lispsource}language/lao.el \
91363
8c86686b6fa4 (lisp): Add cham.el.
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
459 ${lispsource}language/cham.el \
90941
e64d2905643a (lisp): Add ${lispsource}language/tai-viet.el.
Kenichi Handa <handa@m17n.org>
parents: 90936
diff changeset
460 ${lispsource}language/tai-viet.el \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
461 ${lispsource}language/thai.el \
17329
4d2c79262170 (lisp, shortlisp): Include english.elc and tibetan.elc.
Kenichi Handa <handa@m17n.org>
parents: 17100
diff changeset
462 ${lispsource}language/tibetan.elc \
106862
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
463 ${lispsource}language/vietnamese.elc \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
464 ${lispsource}language/misc-lang.el \
42156
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
465 ${lispsource}language/utf-8-lang.el \
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
466 ${lispsource}language/georgian.el \
91311
3299d8db5775 (lisp): Add kherm.el and myanmar.el.
Kenichi Handa <handa@m17n.org>
parents: 91204
diff changeset
467 ${lispsource}language/khmer.el \
91386
5afe9b1dcd05 (shortlisp): Update for rename of
Andreas Schwab <schwab@suse.de>
parents: 91367
diff changeset
468 ${lispsource}language/burmese.el \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
469 ${lispsource}paths.el \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
470 ${lispsource}register.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
471 ${lispsource}replace.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
472 ${lispsource}simple.elc \
93885
6c6216b3b878 * lisp/minibuffer.el: New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 92470
diff changeset
473 ${lispsource}minibuffer.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
474 ${lispsource}startup.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
475 ${lispsource}subr.elc \
26729
f5dded41adcc Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents: 26404
diff changeset
476 ${lispsource}term/tty-colors.elc \
48872
cbe850fcc07e (lisp, shortlisp): Add cus-face and timer.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 48541
diff changeset
477 ${lispsource}font-core.elc \
66679
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
478 ${lispsource}emacs-lisp/syntax.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
479 ${lispsource}font-lock.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
480 ${lispsource}jit-lock.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
481 ${lispsource}textmodes/fill.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
482 ${lispsource}textmodes/page.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
483 ${lispsource}textmodes/paragraphs.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
484 ${lispsource}textmodes/text-mode.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
485 ${lispsource}emacs-lisp/timer.elc \
62110
48e3a972c107 (lisp, shortlisp): Add jka-cmpr-hook.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 61782
diff changeset
486 ${lispsource}jka-cmpr-hook.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
487 ${lispsource}vc-hooks.elc \
13135
d619c5216f7d Added ${lispsource}ediff-hook.elc after vc-hooks.
Michael Kifer <kifer@cs.stonybrook.edu>
parents: 12681
diff changeset
488 ${lispsource}ediff-hook.elc \
94752
73a86a36a458 Renamed lisp/epa-file-hook.el to lisp/epa-hook.el.
Eli Zaretskii <eliz@gnu.org>
parents: 94568
diff changeset
489 ${lispsource}epa-hook.elc \
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
490 ${TOOLTIP_SUPPORT} \
108555
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
491 ${MSDOS_SUPPORT} \
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
492 ${WINDOW_SUPPORT} \
108147
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
493 ${NS_SUPPORT} \
18563
96aacd871a54 (lisp, shortlisp): Add widget.elc.
Richard M. Stallman <rms@gnu.org>
parents: 18470
diff changeset
494 ${lispsource}widget.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
495 ${lispsource}window.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
496 ${lispsource}version.el
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
497
105214
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
498 /* List of relative names for those files from $lisp that are loaded
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
499 unconditionally (i.e. on all platforms). Files from $lisp that
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
500 are only loaded on some platforms should instead be placed in
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
501 SOME_MACHINE_LISP. The only reason this variable exists is to prevent
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
502 the make-docfile command-line getting too long for some systems. */
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
503 shortlisp= \
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
504 ../lisp/loaddefs.el \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
505 ../lisp/abbrev.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
506 ../lisp/buff-menu.elc \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
507 ../lisp/button.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
508 ../lisp/emacs-lisp/byte-run.elc \
89281
c0c4ea6bf780 (lisp, shortlisp): Add composite.elc
Kenichi Handa <handa@m17n.org>
parents: 89165
diff changeset
509 ../lisp/composite.elc \
48872
cbe850fcc07e (lisp, shortlisp): Add cus-face and timer.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 48541
diff changeset
510 ../lisp/cus-face.elc \
43359
9daaaacba0eb (lisp, shortlisp): Use cus-start.elc, not cus-start.el.
Eli Zaretskii <eliz@gnu.org>
parents: 42279
diff changeset
511 ../lisp/cus-start.elc \
17898
d690264cd13a (shortlisp): Add custom.elc and cus-start.elc.
Richard M. Stallman <rms@gnu.org>
parents: 17885
diff changeset
512 ../lisp/custom.elc \
39481
2ffb3d2f6aff (shortlisp): Resync with loadup.el: add backquote, utf-8, menu-bar,
Eli Zaretskii <eliz@gnu.org>
parents: 39411
diff changeset
513 ../lisp/emacs-lisp/backquote.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
514 ../lisp/emacs-lisp/lisp-mode.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
515 ../lisp/emacs-lisp/lisp.elc \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
516 ../lisp/facemenu.elc \
18061
fff99dc53d81 (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o.
Richard M. Stallman <rms@gnu.org>
parents: 18048
diff changeset
517 ../lisp/faces.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
518 ../lisp/files.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
519 ../lisp/emacs-lisp/float-sup.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
520 ../lisp/format.elc \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
521 ../lisp/frame.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
522 ../lisp/help.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
523 ../lisp/indent.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
524 ../lisp/isearch.elc \
66908
3a70e0ff7404 (lisp, shortlisp): Add rfn-eshadow.
Luc Teirlinck <teirllm@auburn.edu>
parents: 66679
diff changeset
525 ../lisp/rfn-eshadow.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
526 ../lisp/loadup.el \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
527 ../lisp/bindings.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
528 ../lisp/emacs-lisp/map-ynp.elc \
39369
e1efdbb477f7 (shortlisp): Add env. From Markus Rost.
Eli Zaretskii <eliz@gnu.org>
parents: 38253
diff changeset
529 ../lisp/env.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
530 ../lisp/international/mule.elc \
106862
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
531 ../lisp/international/mule-conf.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
532 ../lisp/international/mule-cmds.elc \
18680
370715716969 (shortlisp): Fix typo.
Richard M. Stallman <rms@gnu.org>
parents: 18596
diff changeset
533 ../lisp/international/characters.elc \
19246
f6bd90990d66 (lisp, shortlisp): Add bindings.el and case-table.elc.
Richard M. Stallman <rms@gnu.org>
parents: 19038
diff changeset
534 ../lisp/case-table.elc \
106862
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
535 ../lisp/language/chinese.elc \
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
536 ../lisp/language/cyrillic.elc \
106400
18230cebbf17 (lisp, shortlisp): Replace indian.el with indian.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 106293
diff changeset
537 ../lisp/language/indian.elc \
92065
5938b98d39c4 (lisp): Remove devanagari.el, kannada.el,
Kenichi Handa <handa@m17n.org>
parents: 91765
diff changeset
538 ../lisp/language/sinhala.el \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
539 ../lisp/language/english.el \
17020
5cf5e7c9fe55 The following changes are for new source codes related to Mule.
Karl Heuer <kwzh@gnu.org>
parents: 16912
diff changeset
540 ../lisp/language/ethiopic.elc \
5cf5e7c9fe55 The following changes are for new source codes related to Mule.
Karl Heuer <kwzh@gnu.org>
parents: 16912
diff changeset
541 ../lisp/language/european.elc \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
542 ../lisp/language/czech.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
543 ../lisp/language/slovak.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
544 ../lisp/language/romanian.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
545 ../lisp/language/greek.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
546 ../lisp/language/hebrew.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
547 ../lisp/language/japanese.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
548 ../lisp/language/korean.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
549 ../lisp/language/lao.el \
91363
8c86686b6fa4 (lisp): Add cham.el.
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
550 ../lisp/language/cham.el \
90941
e64d2905643a (lisp): Add ${lispsource}language/tai-viet.el.
Kenichi Handa <handa@m17n.org>
parents: 90936
diff changeset
551 ../lisp/language/tai-viet.el \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
552 ../lisp/language/thai.el \
17329
4d2c79262170 (lisp, shortlisp): Include english.elc and tibetan.elc.
Kenichi Handa <handa@m17n.org>
parents: 17100
diff changeset
553 ../lisp/language/tibetan.elc \
106862
54186fbffcf8 Update $(lisp) and $(shortlisp) to match changes in loadup.el
Andreas Schwab <schwab@linux-m68k.org>
parents: 106815
diff changeset
554 ../lisp/language/vietnamese.elc \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
555 ../lisp/language/misc-lang.el \
42156
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
556 ../lisp/language/utf-8-lang.el \
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
557 ../lisp/language/georgian.el \
91311
3299d8db5775 (lisp): Add kherm.el and myanmar.el.
Kenichi Handa <handa@m17n.org>
parents: 91204
diff changeset
558 ../lisp/language/khmer.el \
91386
5afe9b1dcd05 (shortlisp): Update for rename of
Andreas Schwab <schwab@suse.de>
parents: 91367
diff changeset
559 ../lisp/language/burmese.el \
39481
2ffb3d2f6aff (shortlisp): Resync with loadup.el: add backquote, utf-8, menu-bar,
Eli Zaretskii <eliz@gnu.org>
parents: 39411
diff changeset
560 ../lisp/menu-bar.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
561 ../lisp/paths.el \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
562 ../lisp/register.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
563 ../lisp/replace.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
564 ../lisp/simple.elc \
93885
6c6216b3b878 * lisp/minibuffer.el: New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 92470
diff changeset
565 ../lisp/minibuffer.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
566 ../lisp/startup.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
567 ../lisp/subr.elc \
26729
f5dded41adcc Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents: 26404
diff changeset
568 ../lisp/term/tty-colors.elc \
45447
1a887b257603 (shortlisp): Add font-core.el.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
569 ../lisp/font-core.elc \
66679
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
570 ../lisp/emacs-lisp/syntax.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
571 ../lisp/font-lock.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
572 ../lisp/jit-lock.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
573 ../lisp/textmodes/fill.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
574 ../lisp/textmodes/page.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
575 ../lisp/textmodes/paragraphs.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
576 ../lisp/textmodes/text-mode.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
577 ../lisp/emacs-lisp/timer.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
578 ../lisp/vc-hooks.elc \
62110
48e3a972c107 (lisp, shortlisp): Add jka-cmpr-hook.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 61782
diff changeset
579 ../lisp/jka-cmpr-hook.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
580 ../lisp/ediff-hook.elc \
94752
73a86a36a458 Renamed lisp/epa-file-hook.el to lisp/epa-hook.el.
Eli Zaretskii <eliz@gnu.org>
parents: 94568
diff changeset
581 ../lisp/epa-hook.elc \
18563
96aacd871a54 (lisp, shortlisp): Add widget.elc.
Richard M. Stallman <rms@gnu.org>
parents: 18470
diff changeset
582 ../lisp/widget.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
583 ../lisp/window.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
584 ../lisp/version.el
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
585
105214
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
586 /* Like $shortlisp, but includes only those files from $lisp that are loaded
7706dfd61199 Comments.
Glenn Morris <rgm@gnu.org>
parents: 105213
diff changeset
587 conditionally (i.e., only on some platforms). */
95461
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
588 SOME_MACHINE_LISP = ../lisp/mouse.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
589 ../lisp/select.elc ../lisp/scroll-bar.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
590 ../lisp/ls-lisp.elc ../lisp/dos-fns.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
591 ../lisp/w32-fns.elc ../lisp/dos-w32.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
592 ../lisp/disp-table.elc ../lisp/dos-vars.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
593 ../lisp/tooltip.elc ../lisp/image.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
594 ../lisp/fringe.elc ../lisp/dnd.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
595 ../lisp/mwheel.elc ../lisp/tool-bar.elc \
108024
4d8277a44bb4 Gtk tool bars can be text, icons with text or just icons.
Jan D. <jan.h.d@swipnet.se>
parents: 108019
diff changeset
596 ../lisp/x-dnd.elc ../lisp/dynamic-setting.elc \
95461
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
597 ../lisp/international/ccl.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
598 ../lisp/international/fontset.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
599 ../lisp/mouse.elc \
103653
b951fe72ccf7 (SOME_MACHINE_LISP): Add ../lisp/term/common-win.elc.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents: 103146
diff changeset
600 ../lisp/term/common-win.elc \
96717
2fde988b44fb add further files to SOME_MACHINE_LISP to support NeXTStep port
David Reitter <david.reitter@gmail.com>
parents: 96676
diff changeset
601 ../lisp/term/x-win.elc \
105066
480ba0a1e8e2 (MSDOS_SUPPORT, SOME_MACHINE_LISP): Add lisp/term/internal.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 105052
diff changeset
602 ../lisp/term/pc-win.elc ../lisp/term/internal.elc \
105213
ad2fd09b0d6c (MSDOS_SUPPORT) [MSDOS]: Remove unneeded '/' in internal.elc.
Glenn Morris <rgm@gnu.org>
parents: 105066
diff changeset
603 ../lisp/term/ns-win.elc ../lisp/term/w32-win.elc \
ad2fd09b0d6c (MSDOS_SUPPORT) [MSDOS]: Remove unneeded '/' in internal.elc.
Glenn Morris <rgm@gnu.org>
parents: 105066
diff changeset
604 ../lisp/emacs-lisp/easymenu.elc
11776
4327a076f8b3 (VMS_SUPPORT): Add missing `.elc'.
Richard M. Stallman <rms@gnu.org>
parents: 11689
diff changeset
605
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
606 /* Construct full set of libraries to be linked.
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
607 Note that SunOS needs -lm to come before -lc; otherwise, you get
4814
9c7b28c16e94 (LIBES): Add $(GNULIB_VAR) again at end.
Roland McGrath <roland@gnu.org>
parents: 4803
diff changeset
608 duplicated symbols. If the standard libraries were compiled
9c7b28c16e94 (LIBES): Add $(GNULIB_VAR) again at end.
Roland McGrath <roland@gnu.org>
parents: 4803
diff changeset
609 with GCC, we might need gnulib again after them. */
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
610
108217
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
611 LIBES = $(LOADLIBES) $(LIBS) $(LIBX_BASE) $(LIBX_OTHER) $(LIBSOUND) \
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
612 $(RSVG_LIBS) $(DBUS_LIBS) $(LIBGPM) $(LIBRESOLV) $(LIBS_SYSTEM) \
108382
b9b3b94979ee Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108311
diff changeset
613 $(LIBS_TERMCAP) $(GETLOADAVG_LIBS) ${GCONF_LIBS} ${LIBSELINUX_LIBS} \
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
614 $(FREETYPE_LIBS) $(FONTCONFIG_LIBS) $(LIBOTF_LIBS) $(M17N_FLT_LIBS) \
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
615 $(GNULIB_VAR) $(LIB_MATH) $(LIB_STANDARD) $(GNULIB_VAR)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
616
105052
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
617 all: emacs${EXEEXT} $(OTHER_FILES)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
618
108580
877bec632371 If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.
Glenn Morris <rgm@gnu.org>
parents: 108579
diff changeset
619 /* Does anyone ever pay attention to the load-path-shadows output here? */
105479
4a9dc19db3b9 (emacs${EXEEXT}): Remove direct dependence on SOME_MACHINE_LISP (this
Glenn Morris <rgm@gnu.org>
parents: 105214
diff changeset
620 emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
621 #ifdef CANNOT_DUMP
49652
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
622 rm -f emacs${EXEEXT}
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
623 ln temacs${EXEEXT} emacs${EXEEXT}
104558
1de57b71aa21 * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
Ken Raeburn <raeburn@raeburn.org>
parents: 104553
diff changeset
624 -EMACSLOADPATH=${lispsource} ./emacs -q -batch -f list-load-path-shadows
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
625 #else
57207
d07786352759 * config.in: Rebuild.
Jan Djärv <jan.h.d@swipnet.se>
parents: 57051
diff changeset
626 LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
96137
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
627 @: This new Emacs is as functional and more efficient then
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
628 @: bootstrap-emacs, so let us replace it.
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
629 -ln -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
104558
1de57b71aa21 * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
Ken Raeburn <raeburn@raeburn.org>
parents: 104553
diff changeset
630 -./emacs -q -batch -f list-load-path-shadows
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
631 #endif /* ! defined (CANNOT_DUMP) */
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
632
10078
42b9a0dbdb63 Fix erroneous comment syntax.
Richard M. Stallman <rms@gnu.org>
parents: 9979
diff changeset
633 /* We run make-docfile twice because the command line may get too long
42b9a0dbdb63 Fix erroneous comment syntax.
Richard M. Stallman <rms@gnu.org>
parents: 9979
diff changeset
634 on some systems. */
11689
fa8b13d1a665 (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
Richard M. Stallman <rms@gnu.org>
parents: 11541
diff changeset
635 /* ${SOME_MACHINE_OBJECTS} comes before ${obj} because some files may
fa8b13d1a665 (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
Richard M. Stallman <rms@gnu.org>
parents: 11541
diff changeset
636 or may not be included in ${obj}, but they are always included in
fa8b13d1a665 (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
Richard M. Stallman <rms@gnu.org>
parents: 11541
diff changeset
637 ${SOME_MACHINE_OBJECTS}. Since a file is processed when it is mentioned
fa8b13d1a665 (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
Richard M. Stallman <rms@gnu.org>
parents: 11541
diff changeset
638 for the first time, this prevents any variation between configurations
11776
4327a076f8b3 (VMS_SUPPORT): Add missing `.elc'.
Richard M. Stallman <rms@gnu.org>
parents: 11689
diff changeset
639 in the contents of the DOC file.
4327a076f8b3 (VMS_SUPPORT): Add missing `.elc'.
Richard M. Stallman <rms@gnu.org>
parents: 11689
diff changeset
640 Likewise for ${SOME_MACHINE_LISP}. */
96505
bbe6c9643969 (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96328
diff changeset
641 /* Most of this Makefile refers to Lisp files via ${lispsource}, so
bbe6c9643969 (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96328
diff changeset
642 we also use ${lisp} rather than ${shortlisp} for the dependency since
bbe6c9643969 (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96328
diff changeset
643 the Makefile uses string equality to decide when we talk about identical
bbe6c9643969 (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96328
diff changeset
644 files. Apparently we pass ${shortlisp} rather than ${lisp} to make-docfile
bbe6c9643969 (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96328
diff changeset
645 only in order to reduce the command line length. --Stef */
bbe6c9643969 (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96328
diff changeset
646 ${etc}DOC: ${libsrc}make-docfile${EXEEXT} ${obj} ${lisp} ${SOME_MACHINE_LISP}
7654
926bfbeb7846 (${etc}DOC): Ignore error from rm.
Richard M. Stallman <rms@gnu.org>
parents: 7586
diff changeset
647 -rm -f ${etc}DOC
11689
fa8b13d1a665 (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
Richard M. Stallman <rms@gnu.org>
parents: 11541
diff changeset
648 ${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
649 ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp}
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
650
49652
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
651 ${libsrc}make-docfile${EXEEXT}:
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
652 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT}
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
653
104619
90578b9cc2d2 * Makefile.in (buildobj.h): New target.
Ken Raeburn <raeburn@raeburn.org>
parents: 104558
diff changeset
654 buildobj.h: Makefile
105052
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
655 echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h
104619
90578b9cc2d2 * Makefile.in (buildobj.h): New target.
Ken Raeburn <raeburn@raeburn.org>
parents: 104558
diff changeset
656
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108263
diff changeset
657 /* FIXME LOCALCPP not defined or mentioned anywhere. */
108274
8416c8d075e3 Define LIB_STANDARD and START_FILES using autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108271
diff changeset
658 temacs${EXEEXT}: $(LOCALCPP) $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT}
96752
9697a5f0281d various small cleanups detailed in changelogs
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96745
diff changeset
659 #ifdef NS_IMPL_GNUSTEP
97586
56d71f056b26 * Makefile.in (temacs): Add plain LDFLAGS to GNUstep CC invocation.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97425
diff changeset
660 $(CC) -rdynamic YMF_PASS_LDFLAGS ( ${TEMACS_LDFLAGS} \
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
661 -L$(GNUSTEP_SYSTEM_LIBRARIES) -lgnustep-gui -lgnustep-base \
97586
56d71f056b26 * Makefile.in (temacs): Add plain LDFLAGS to GNUstep CC invocation.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97425
diff changeset
662 -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread ) -o temacs \
105052
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
663 ${obj} ${otherobj} ${LIBES}
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
664 #else
47186
2effa3424802 (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. Don't include LDFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 46779
diff changeset
665 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
108274
8416c8d075e3 Define LIB_STANDARD and START_FILES using autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108271
diff changeset
666 -o temacs ${START_FILES} ${obj} ${otherobj} \
105052
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
667 ${LIBES}
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
668 #endif
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
669
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
670 prefix-args${EXEEXT}: prefix-args.o $(config_h)
106601
5c030ace94f7 (prefix-args${EXEEXT}): Don't compile prefix-args.c
Andreas Schwab <schwab@linux-m68k.org>
parents: 106400
diff changeset
671 $(CC) $(LDFLAGS) prefix-args.o -o prefix-args
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
672
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
673
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
674 /* Only (possibly) used if HAVE_X11 && !USE_GTK, but no harm in always
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
675 defining. */
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
676 really-lwlib:
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
677 cd ${lwlibdir}; ${MAKE} ${MFLAGS} \
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
678 CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}'
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
679 @true /* make -t should not create really-lwlib. */
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
680 .PHONY: really-lwlib
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
681
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
682 really-oldXMenu:
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
683 cd ${oldXMenudir}; ${MAKE} ${MFLAGS} \
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
684 CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}'
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
685 @true /* make -t should not create really-oldXMenu. */
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
686 .PHONY: really-oldXMenu
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
687
108580
877bec632371 If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.
Glenn Morris <rgm@gnu.org>
parents: 108579
diff changeset
688 /* HAVE_X11 implies HAVE_X_WINDOWS and HAVE_MENUS. */
877bec632371 If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.
Glenn Morris <rgm@gnu.org>
parents: 108579
diff changeset
689 #if defined (HAVE_X11) && ! defined (USE_GTK)
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
690 /* We use stamp-xmenu with these two deps to both ensure that lwlib
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
691 gets remade based on its dependencies in its own makefile,
16912
44afc0b3c741 (stamp-oldxmenu): New target.
Richard M. Stallman <rms@gnu.org>
parents: 16797
diff changeset
692 and remake temacs if lwlib gets changed by this. */
49549
99be3a1e2589 Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents: 49365
diff changeset
693 stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU)
16912
44afc0b3c741 (stamp-oldxmenu): New target.
Richard M. Stallman <rms@gnu.org>
parents: 16797
diff changeset
694 touch stamp-oldxmenu
18963
f0f6d5dc8e09 (${lispsource}TAGS): Specify ETAGS var in inner make.
Richard M. Stallman <rms@gnu.org>
parents: 18680
diff changeset
695 /* Supply an ordering for parallel make. */
f0f6d5dc8e09 (${lispsource}TAGS): Specify ETAGS var in inner make.
Richard M. Stallman <rms@gnu.org>
parents: 18680
diff changeset
696 ../src/$(OLDXMENU): ${OLDXMENU}
16912
44afc0b3c741 (stamp-oldxmenu): New target.
Richard M. Stallman <rms@gnu.org>
parents: 16797
diff changeset
697
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
698 $(OLDXMENU): $(OLDXMENU_TARGET)
91691
0a928dba3639 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
Dan Nicolaescu <dann@ics.uci.edu>
parents: 91386
diff changeset
699
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
700 #else /* !HAVE_X11 || USE_GTK */
72633
d1bad4e0b838 Double all single and back quotes in C-style
Andreas Schwab <schwab@suse.de>
parents: 71815
diff changeset
701 /* We don''t really need this, but satisfy the dependency. */
18141
2628fada589e (stamp-oldxmenu): Always define this one way or another.
Richard M. Stallman <rms@gnu.org>
parents: 18061
diff changeset
702 stamp-oldxmenu:
2628fada589e (stamp-oldxmenu): Always define this one way or another.
Richard M. Stallman <rms@gnu.org>
parents: 18061
diff changeset
703 touch stamp-oldxmenu
108580
877bec632371 If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.
Glenn Morris <rgm@gnu.org>
parents: 108579
diff changeset
704 #endif /* HAVE_X11 && !USE_GTK */
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
705
24411
ba82dd1081e3 paths.h and paths.in renamed to epaths.h and epaths.in.
Richard M. Stallman <rms@gnu.org>
parents: 24350
diff changeset
706 ../config.status:: epaths.in
ba82dd1081e3 paths.h and paths.in renamed to epaths.h and epaths.in.
Richard M. Stallman <rms@gnu.org>
parents: 24350
diff changeset
707 @echo "The file epaths.h needs to be set up from epaths.in."
15900
ef4bd60e99ce (paths.h, config.h): Targets deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15257
diff changeset
708 @echo "Please run the `configure' script again."
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
709 exit 1
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
710
15900
ef4bd60e99ce (paths.h, config.h): Targets deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15257
diff changeset
711 ../config.status:: config.in
12576
1f9d9b409ac4 (paths.h): Depend on paths.in.
Richard M. Stallman <rms@gnu.org>
parents: 12539
diff changeset
712 @echo "The file config.h needs to be set up from config.in."
15900
ef4bd60e99ce (paths.h, config.h): Targets deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15257
diff changeset
713 @echo "Please run the `configure' script again."
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
714 exit 1
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
715
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
716 ecrt0.o: ecrt0.c $(config_h)
106203
d51db5b86079 Must create deps for ecrt0.o in its rule.
Jan Djärv <jan.h.d@swipnet.se>
parents: 106186
diff changeset
717 #ifdef AUTO_DEPEND
d51db5b86079 Must create deps for ecrt0.o in its rule.
Jan Djärv <jan.h.d@swipnet.se>
parents: 106186
diff changeset
718 @-test -d deps || mkdir deps
d51db5b86079 Must create deps for ecrt0.o in its rule.
Jan Djärv <jan.h.d@swipnet.se>
parents: 106186
diff changeset
719 #endif
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
720 $(CC) -c $(ALL_CFLAGS) ${srcdir}/ecrt0.c
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
721 doc.o: buildobj.h
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
722
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
723 #ifndef AUTO_DEPEND
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
724
108263
9ca2a7762d32 src/Makefile.in: Convert comment in cpp section to the right format.
Glenn Morris <rgm@gnu.org>
parents: 108229
diff changeset
725 /* FIXME some of these dependencies are platform-specific.
9ca2a7762d32 src/Makefile.in: Convert comment in cpp section to the right format.
Glenn Morris <rgm@gnu.org>
parents: 108229
diff changeset
726 Eg callproc.c only depends on w32.h for WINDOWSNT builds.
9ca2a7762d32 src/Makefile.in: Convert comment in cpp section to the right format.
Glenn Morris <rgm@gnu.org>
parents: 108229
diff changeset
727 One way to fix this would be to replace w32.h (etc) by $(W32_H),
9ca2a7762d32 src/Makefile.in: Convert comment in cpp section to the right format.
Glenn Morris <rgm@gnu.org>
parents: 108229
diff changeset
728 a variable set by configure. Does not seem worth the trouble.
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
729 Since the w32 build does not even use this file, you might ask
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
730 why these dependencies are here at all...
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
731
108263
9ca2a7762d32 src/Makefile.in: Convert comment in cpp section to the right format.
Glenn Morris <rgm@gnu.org>
parents: 108229
diff changeset
732 nsgui.h: In fact, every .o file depends directly or indirectly on
9ca2a7762d32 src/Makefile.in: Convert comment in cpp section to the right format.
Glenn Morris <rgm@gnu.org>
parents: 108229
diff changeset
733 dispextern.h and hence nsgui.h under NS. But the ones that actually
9ca2a7762d32 src/Makefile.in: Convert comment in cpp section to the right format.
Glenn Morris <rgm@gnu.org>
parents: 108229
diff changeset
734 use stuff there are more limited. */
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
735 atimer.o: atimer.c atimer.h syssignal.h systime.h lisp.h blockinput.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
736 $(config_h)
107607
a04b9ac55bc5 This commits the exact copies of files I had before switch to bzr.
Eli Zaretskii <eliz@gnu.org>
parents: 107584
diff changeset
737 bidi.o: bidi.c buffer.h character.h dispextern.h lisp.h $(config_h)
9402
87337d65aa17 * Makefile.in.in (obj) Add region-cache.o to the list of files.
Jim Blandy <jimb@redhat.com>
parents: 9254
diff changeset
738 buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
739 $(INTERVALS_H) blockinput.h atimer.h systime.h character.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
740 indent.h keyboard.h coding.h keymap.h frame.h lisp.h $(config_h)
57051
59091995520c (msdos.o): Depend on buffer.h, commands.h, and
Eli Zaretskii <eliz@gnu.org>
parents: 56292
diff changeset
741 callint.o: callint.c window.h commands.h buffer.h keymap.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
742 keyboard.h dispextern.h systime.h coding.h composite.h lisp.h $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
743 callproc.o: callproc.c epaths.h buffer.h commands.h lisp.h $(config_h) \
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89338
diff changeset
744 process.h systty.h syssignal.h character.h coding.h ccl.h msdos.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
745 composite.h w32.h blockinput.h atimer.h systime.h frame.h termhooks.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
746 buffer.h
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
747 casefiddle.o: casefiddle.c syntax.h commands.h buffer.h character.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
748 composite.h keymap.h lisp.h $(config_h)
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
749 casetab.o: casetab.c buffer.h character.h lisp.h $(config_h)
89978
566253900690 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-40
Miles Bader <miles@gnu.org>
parents: 89970 57051
diff changeset
750 category.o: category.c category.h buffer.h charset.h keymap.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
751 character.h lisp.h $(config_h)
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
752 ccl.o: ccl.c ccl.h charset.h character.h coding.h composite.h lisp.h $(config_h)
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
753 character.o: character.c character.h buffer.h charset.h composite.h disptab.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
754 lisp.h $(config_h)
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
755 charset.o: charset.c charset.h character.h buffer.h coding.h composite.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
756 disptab.h lisp.h $(config_h)
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
757 chartab.o: charset.h character.h ccl.h lisp.h $(config_h)
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
758 coding.o: coding.c coding.h ccl.h buffer.h character.h charset.h composite.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
759 window.h dispextern.h frame.h termhooks.h lisp.h $(config_h)
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
760 cm.o: cm.c frame.h cm.h termhooks.h termchar.h dispextern.h lisp.h $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
761 cmds.o: cmds.c syntax.h buffer.h character.h commands.h window.h lisp.h $(config_h) \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
762 msdos.h dispextern.h keyboard.h keymap.h systime.h coding.h frame.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
763 composite.h
7953
e5e842ead52c (doprnt.o): Depend on config_h.
Richard M. Stallman <rms@gnu.org>
parents: 7853
diff changeset
764 pre-crt0.o: pre-crt0.c
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
765 dbusbind.o: dbusbind.c termhooks.h frame.h keyboard.h lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
766 dired.o: dired.c commands.h buffer.h lisp.h $(config_h) character.h charset.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
767 coding.h regex.h systime.h blockinput.h atimer.h composite.h
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
768 dispnew.o: dispnew.c systime.h commands.h process.h frame.h coding.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
769 window.h buffer.h termchar.h termopts.h termhooks.h cm.h \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
770 disptab.h indent.h $(INTERVALS_H) nsgui.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
771 xterm.h blockinput.h atimer.h character.h msdos.h keyboard.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
772 syssignal.h lisp.h $(config_h)
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
773 doc.o: doc.c lisp.h $(config_h) epaths.h buffer.h keyboard.h keymap.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
774 character.h systime.h coding.h composite.h
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
775 doprnt.o: doprnt.c character.h lisp.h $(config_h)
57051
59091995520c (msdos.o): Depend on buffer.h, commands.h, and
Eli Zaretskii <eliz@gnu.org>
parents: 56292
diff changeset
776 dosfns.o: buffer.h termchar.h termhooks.h frame.h blockinput.h window.h \
76620
61e085a71af3 (alloca.o, gtkutil.o): Depend on systime.h.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents: 76285
diff changeset
777 msdos.h dosfns.h dispextern.h charset.h coding.h atimer.h systime.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
778 lisp.h $(config_h)
100749
60d1b8c9b2b3 (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100748
diff changeset
779 editfns.o: editfns.c window.h buffer.h systime.h $(INTERVALS_H) character.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
780 coding.h frame.h blockinput.h atimer.h lisp.h $(config_h)
14503
394fcefb7019 (emacs.o): Depend on blockinput.h.
Richard M. Stallman <rms@gnu.org>
parents: 14281
diff changeset
781 emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
782 termhooks.h buffer.h atimer.h systime.h $(INTERVALS_H) lisp.h $(config_h) \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
783 window.h dispextern.h keyboard.h keymap.h frame.h coding.h
100749
60d1b8c9b2b3 (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100748
diff changeset
784 fileio.o: fileio.c window.h buffer.h systime.h $(INTERVALS_H) character.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
785 coding.h msdos.h blockinput.h atimer.h lisp.h $(config_h) frame.h commands.h
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
786 filelock.o: filelock.c buffer.h character.h coding.h systime.h composite.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
787 lisp.h $(config_h)
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
788 filemode.o: filemode.c $(config_h)
16212
45017936174f (frame.o, textprop.o, abbrev.o): Depend on window.h.
Richard M. Stallman <rms@gnu.org>
parents: 16082
diff changeset
789 frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h \
96774
3760da9fe15e Merge from emacs--rel--22
Miles Bader <miles@gnu.org>
parents: 96769 80602
diff changeset
790 blockinput.h atimer.h systime.h buffer.h character.h fontset.h font.h \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
791 msdos.h dosfns.h dispextern.h w32term.h nsgui.h termchar.h coding.h \
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
792 composite.h lisp.h $(config_h) termhooks.h ccl.h
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
793 fringe.o: fringe.c dispextern.h nsgui.h frame.h window.h buffer.h termhooks.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
794 blockinput.h atimer.h systime.h lisp.h $(config_h)
90537
50c8d1ed9804 (font.o): Make it depends on window.h.
Kenichi Handa <handa@m17n.org>
parents: 90533
diff changeset
795 font.o: font.c dispextern.h frame.h window.h ccl.h character.h charset.h \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
796 font.h lisp.h $(config_h) buffer.h composite.h fontset.h xterm.h nsgui.h
97815
16c66957c2e3 (ftfont.o): Depend on composite.h.
Kenichi Handa <handa@m17n.org>
parents: 97792
diff changeset
797 ftfont.o: dispextern.h frame.h character.h charset.h composite.h font.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
798 lisp.h $(config_h) blockinput.h atimer.h systime.h coding.h fontset.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
799 ccl.h ftfont.h
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
800 fontset.o: fontset.c fontset.h ccl.h buffer.h character.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
801 charset.h frame.h keyboard.h termhooks.h font.h lisp.h $(config_h) \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
802 blockinput.h atimer.h systime.h coding.h $(INTERVALS_H) nsgui.h \
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
803 window.h xterm.h
7953
e5e842ead52c (doprnt.o): Depend on config_h.
Richard M. Stallman <rms@gnu.org>
parents: 7853
diff changeset
804 getloadavg.o: getloadavg.c $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
805 gtkutil.o: gtkutil.c gtkutil.h xterm.h lisp.h frame.h lisp.h $(config_h) \
99499
ba33a322491d * hftctl.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 98423
diff changeset
806 blockinput.h window.h atimer.h systime.h termhooks.h keyboard.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
807 charset.h coding.h syssignal.h dispextern.h composite.h
54344
2f2226cb24b3 Image consolidation:
Kim F. Storm <storm@cua.dk>
parents: 53990
diff changeset
808 image.o: image.c frame.h window.h dispextern.h blockinput.h atimer.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
809 systime.h xterm.h w32term.h w32gui.h font.h epaths.h character.h coding.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
810 nsterm.h nsgui.h lisp.h $(config_h) composite.h termhooks.h ccl.h
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
811 indent.o: indent.c frame.h window.h indent.h buffer.h lisp.h $(config_h) termchar.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
812 termopts.h disptab.h region-cache.h character.h category.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
813 keyboard.h systime.h coding.h $(INTERVALS_H)
100749
60d1b8c9b2b3 (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100748
diff changeset
814 insdel.o: insdel.c window.h buffer.h $(INTERVALS_H) blockinput.h character.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
815 dispextern.h atimer.h systime.h region-cache.h lisp.h $(config_h)
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
816 keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h character.h \
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
817 commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
818 systime.h syntax.h $(INTERVALS_H) blockinput.h atimer.h composite.h \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
819 xterm.h puresize.h msdos.h keymap.h w32term.h nsterm.h nsgui.h coding.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
820 lisp.h $(config_h)
7953
e5e842ead52c (doprnt.o): Depend on config_h.
Richard M. Stallman <rms@gnu.org>
parents: 7853
diff changeset
821 keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \
100749
60d1b8c9b2b3 (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100748
diff changeset
822 atimer.h systime.h puresize.h character.h charset.h $(INTERVALS_H) keymap.h window.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
823 coding.h frame.h lisp.h $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
824 lastfile.o: lastfile.c $(config_h)
30288
8766468f819e Add dependencies on dispextern.h.
Gerd Moellmann <gerd@gnu.org>
parents: 30094
diff changeset
825 macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
826 dispextern.h lisp.h $(config_h) systime.h coding.h composite.h
7953
e5e842ead52c (doprnt.o): Depend on config_h.
Richard M. Stallman <rms@gnu.org>
parents: 7853
diff changeset
827 gmalloc.o: gmalloc.c $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
828 ralloc.o: ralloc.c lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
829 vm-limit.o: vm-limit.c mem-limits.h lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
830 marker.o: marker.c buffer.h character.h lisp.h $(config_h)
50479
4e1d24f23f2f (md5.o): Add missing dependency info.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 50385
diff changeset
831 md5.o: md5.c md5.h $(config_h)
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
832 minibuf.o: minibuf.c syntax.h frame.h window.h keyboard.h systime.h \
100749
60d1b8c9b2b3 (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100748
diff changeset
833 buffer.h commands.h character.h msdos.h $(INTERVALS_H) keymap.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
834 termhooks.h lisp.h $(config_h) coding.h
16212
45017936174f (frame.o, textprop.o, abbrev.o): Depend on window.h.
Richard M. Stallman <rms@gnu.org>
parents: 16082
diff changeset
835 mktime.o: mktime.c $(config_h)
23824
ac5d1cd520fa (msdos.o): Depend on termchar.h, charset.h, coding.h, and disptab.h
Eli Zaretskii <eliz@gnu.org>
parents: 23714
diff changeset
836 msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
837 termopts.h termchar.h character.h coding.h ccl.h disptab.h window.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
838 keyboard.h $(INTERVALS_H) buffer.h commands.h blockinput.h atimer.h lisp.h $(config_h)
97335
5814e7199b5e * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97199
diff changeset
839 nsfns.o: nsfns.m charset.h nsterm.h nsgui.h frame.h window.h buffer.h \
108169
8a2a7a0c2a8f * src/Makefile.in (nsfns.o): Remove duplicate nsgui.h dependency.
Glenn Morris <rgm@gnu.org>
parents: 108152
diff changeset
840 dispextern.h fontset.h $(INTERVALS_H) keyboard.h blockinput.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
841 atimer.h systime.h epaths.h termhooks.h coding.h systime.h lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
842 nsfont.o: nsterm.h dispextern.h frame.h lisp.h lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
843 nsimage.o: nsimage.m nsterm.h lisp.h $(config_h)
97335
5814e7199b5e * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97199
diff changeset
844 nsmenu.o: nsmenu.m termhooks.h frame.h window.h dispextern.h \
5814e7199b5e * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97199
diff changeset
845 nsgui.h keyboard.h blockinput.h atimer.h systime.h buffer.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
846 nsterm.h lisp.h $(config_h)
97335
5814e7199b5e * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97199
diff changeset
847 nsterm.o: nsterm.m blockinput.h atimer.h systime.h syssignal.h nsterm.h \
5814e7199b5e * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97199
diff changeset
848 nsgui.h frame.h charset.h ccl.h dispextern.h fontset.h termhooks.h \
5814e7199b5e * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 97199
diff changeset
849 termopts.h termchar.h disptab.h buffer.h window.h keyboard.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
850 $(INTERVALS_H) process.h coding.h lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
851 nsselect.o: nsselect.m blockinput.h nsterm.h nsgui.h frame.h lisp.h $(config_h)
7953
e5e842ead52c (doprnt.o): Depend on config_h.
Richard M. Stallman <rms@gnu.org>
parents: 7853
diff changeset
852 process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \
30288
8766468f819e Add dependencies on dispextern.h.
Gerd Moellmann <gerd@gnu.org>
parents: 30094
diff changeset
853 commands.h syssignal.h systime.h systty.h syswait.h frame.h dispextern.h \
31199
353262d73941 (dispnew.o, indent.o, fontset.o, minibuf.o)
Eli Zaretskii <eliz@gnu.org>
parents: 30712
diff changeset
854 blockinput.h atimer.h charset.h coding.h ccl.h msdos.h composite.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
855 keyboard.h lisp.h $(config_h) character.h xgselect.h sysselect.h
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
856 regex.o: regex.c syntax.h buffer.h lisp.h $(config_h) regex.h category.h character.h
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
857 region-cache.o: region-cache.c buffer.h region-cache.h lisp.h $(config_h)
31199
353262d73941 (dispnew.o, indent.o, fontset.o, minibuf.o)
Eli Zaretskii <eliz@gnu.org>
parents: 30712
diff changeset
858 scroll.o: scroll.c termchar.h dispextern.h frame.h msdos.h keyboard.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
859 termhooks.h lisp.h $(config_h) systime.h coding.h composite.h window.h
9402
87337d65aa17 * Makefile.in.in (obj) Add region-cache.o to the list of files.
Jim Blandy <jimb@redhat.com>
parents: 9254
diff changeset
860 search.o: search.c regex.h commands.h buffer.h region-cache.h syntax.h \
90763
25de48ab62e2 (search.o): Depend on charset.h.
Kenichi Handa <handa@m17n.org>
parents: 90745
diff changeset
861 blockinput.h atimer.h systime.h category.h character.h charset.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
862 $(INTERVALS_H) \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
863 lisp.h $(config_h)
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
864 sound.o: sound.c dispextern.h syssignal.h lisp.h $(config_h) atimer.h systime.h
9077
d7f2149c5ab8 (strftime.o): New target.
Richard M. Stallman <rms@gnu.org>
parents: 8787
diff changeset
865 strftime.o: strftime.c $(config_h)
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
866 syntax.o: syntax.c syntax.h buffer.h commands.h category.h character.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
867 keymap.h regex.h $(INTERVALS_H) lisp.h $(config_h)
44059
0cefd7e2b158 (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): Depend on process.h.
Richard M. Stallman <rms@gnu.org>
parents: 43818
diff changeset
868 sysdep.o: sysdep.c syssignal.h systty.h systime.h syswait.h blockinput.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
869 process.h dispextern.h termhooks.h termchar.h termopts.h coding.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
870 frame.h atimer.h window.h msdos.h dosfns.h keyboard.h cm.h lisp.h $(config_h) \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
871 composite.h
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
872 term.o: term.c termchar.h termhooks.h termopts.h lisp.h $(config_h) cm.h frame.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
873 disptab.h keyboard.h character.h charset.h coding.h ccl.h xterm.h \
97199
1aaeadd306da (dispnew.o, gtkutil.o, sound.o, atimer.o)
Dan Nicolaescu <dann@ics.uci.edu>
parents: 97142
diff changeset
874 msdos.h window.h keymap.h blockinput.h atimer.h systime.h systty.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
875 syssignal.h $(INTERVALS_H) buffer.h
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
876 termcap.o: termcap.c lisp.h $(config_h)
83420
521d3f18b3d1 Reimplement terminal parameters in C; clean up term.c, create terminal.c.
Karoly Lorentey <lorentey@elte.hu>
parents: 83416
diff changeset
877 terminal.o: terminal.c frame.h termchar.h termhooks.h charset.h coding.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
878 keyboard.h lisp.h $(config_h) dispextern.h composite.h systime.h
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
879 terminfo.o: terminfo.c lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
880 tparam.o: tparam.c lisp.h $(config_h)
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
881 undo.o: undo.c buffer.h commands.h window.h dispextern.h lisp.h $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
882 unexaix.o: unexaix.c lisp.h $(config_h)
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96269
diff changeset
883 unexalpha.o: unexalpha.c $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
884 unexcw.o: unexcw.c lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
885 unexec.o: unexec.c lisp.h $(config_h)
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96269
diff changeset
886 unexelf.o: unexelf.c $(config_h)
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96269
diff changeset
887 unexhp9k800.o: unexhp9k800.c $(config_h)
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96269
diff changeset
888 unexmacosx.o: unexmacosx.c $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
889 unexsol.o: unexsol.c lisp.h $(config_h)
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96269
diff changeset
890 unexw32.o: unexw32.c $(config_h)
30297
6fd1ba16482c Fix dependencies of blockinput.h on atimer.h, systime.h.
Dave Love <fx@gnu.org>
parents: 30288
diff changeset
891 w16select.o: w16select.c dispextern.h frame.h blockinput.h atimer.h systime.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
892 msdos.h buffer.h charset.h coding.h composite.h lisp.h $(config_h)
14875
27f8bccdb985 (xfns.o, xmenu.o, widget.o): Depend on ../lwlib/lwlib.h.
Richard M. Stallman <rms@gnu.org>
parents: 14784
diff changeset
893 widget.o: widget.c xterm.h frame.h dispextern.h widgetprv.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
894 $(srcdir)/../lwlib/lwlib.h lisp.h $(config_h)
7953
e5e842ead52c (doprnt.o): Depend on config_h.
Richard M. Stallman <rms@gnu.org>
parents: 7853
diff changeset
895 window.o: window.c indent.h commands.h frame.h window.h buffer.h termchar.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
896 disptab.h keyboard.h msdos.h coding.h termhooks.h \
100749
60d1b8c9b2b3 (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100748
diff changeset
897 keymap.h blockinput.h atimer.h systime.h $(INTERVALS_H) \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
898 xterm.h w32term.h nsterm.h nsgui.h lisp.h $(config_h)
80602
1310a26c647b (frame.o, keyboard.o, xdisp.o, xfaces.o): Depend on macgui.h.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents: 80449
diff changeset
899 xdisp.o: xdisp.c macros.h commands.h process.h indent.h buffer.h dispextern.h \
108227
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
900 coding.h termchar.h frame.h window.h disptab.h termhooks.h character.h \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
901 charset.h lisp.h $(config_h) keyboard.h $(INTERVALS_H) region-cache.h \
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
902 xterm.h w32term.h nsterm.h nsgui.h msdos.h composite.h fontset.h ccl.h \
96774
3760da9fe15e Merge from emacs--rel--22
Miles Bader <miles@gnu.org>
parents: 96769 80602
diff changeset
903 blockinput.h atimer.h systime.h keymap.h font.h
89978
566253900690 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-40
Miles Bader <miles@gnu.org>
parents: 89970 57051
diff changeset
904 xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \
566253900690 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-40
Miles Bader <miles@gnu.org>
parents: 89970 57051
diff changeset
905 window.h character.h charset.h msdos.h dosfns.h composite.h atimer.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
906 systime.h keyboard.h fontset.h w32term.h nsterm.h coding.h ccl.h \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
907 $(INTERVALS_H) nsgui.h termchar.h termhooks.h font.h lisp.h $(config_h)
30288
8766468f819e Add dependencies on dispextern.h.
Gerd Moellmann <gerd@gnu.org>
parents: 30094
diff changeset
908 xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h dispextern.h \
30297
6fd1ba16482c Fix dependencies of blockinput.h on atimer.h, systime.h.
Dave Love <fx@gnu.org>
parents: 30288
diff changeset
909 $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h epaths.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
910 character.h charset.h coding.h gtkutil.h lisp.h $(config_h) termhooks.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
911 fontset.h termchar.h font.h xsettings.h $(INTERVALS_H) ccl.h
90401
5ac810cdd794 (ALL_CFLAGS): Add @FREETYPE_CFLAGS@,
Kenichi Handa <handa@m17n.org>
parents: 90399
diff changeset
912 xfont.o: dispextern.h xterm.h frame.h blockinput.h character.h charset.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
913 font.h lisp.h $(config_h) atimer.h systime.h fontset.h ccl.h
90401
5ac810cdd794 (ALL_CFLAGS): Add @FREETYPE_CFLAGS@,
Kenichi Handa <handa@m17n.org>
parents: 90399
diff changeset
914 xftfont.o: dispextern.h xterm.h frame.h blockinput.h character.h charset.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
915 font.h lisp.h $(config_h) atimer.h systime.h fontset.h ccl.h ftfont.h
90401
5ac810cdd794 (ALL_CFLAGS): Add @FREETYPE_CFLAGS@,
Kenichi Handa <handa@m17n.org>
parents: 90399
diff changeset
916 ftxfont.o: dispextern.h xterm.h frame.h blockinput.h character.h charset.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
917 font.h lisp.h $(config_h) atimer.h systime.h fontset.h ccl.h
95651
b7a3c725e25d Compile menu.c.
Chong Yidong <cyd@stupidchicken.com>
parents: 95461
diff changeset
918 menu.o: menu.c lisp.h keyboard.h keymap.h frame.h termhooks.h blockinput.h \
96608
127e54f8220e * menu.h: New file.
Andreas Schwab <schwab@suse.de>
parents: 96546
diff changeset
919 dispextern.h $(srcdir)/../lwlib/lwlib.h xterm.h gtkutil.h menu.h \
108170
95d0ee272263 Simplify some manual dependencies in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108169
diff changeset
920 lisp.h $(config_h) systime.h coding.h composite.h window.h atimer.h nsgui.h
42092
a67d42446c08 (xmenu.o, xterm.o, fontset.o): Depend on buffer.h.
Richard M. Stallman <rms@gnu.org>
parents: 41969
diff changeset
921 xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h buffer.h \
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
922 charset.h keyboard.h $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
923 systime.h gtkutil.h msdos.h coding.h menu.h lisp.h $(config_h) composite.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
924 keymap.h sysselect.h
42092
a67d42446c08 (xmenu.o, xterm.o, fontset.o): Depend on buffer.h.
Richard M. Stallman <rms@gnu.org>
parents: 41969
diff changeset
925 xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h \
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
926 dispextern.h frame.h disptab.h blockinput.h atimer.h systime.h syssignal.h \
92433
ff7a3592c48b * w32term.c: Remove unused include "gnu.h".
Dan Nicolaescu <dann@ics.uci.edu>
parents: 92159
diff changeset
927 keyboard.h emacs-icon.h character.h charset.h ccl.h fontset.h composite.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
928 coding.h process.h gtkutil.h font.h fontset.h lisp.h $(config_h) \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
929 xsettings.h intervals.h keymap.h xgselect.h sysselect.h
44059
0cefd7e2b158 (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): Depend on process.h.
Richard M. Stallman <rms@gnu.org>
parents: 43818
diff changeset
930 xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
931 buffer.h atimer.h systime.h termhooks.h lisp.h $(config_h) keyboard.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
932 coding.h composite.h
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
933 xgselect.o: xgselect.h systime.h sysselect.h lisp.h $(config_h)
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
934 xrdb.o: xrdb.c lisp.h $(config_h) epaths.h
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
935 xsmfns.o: xsmfns.c lisp.h $(config_h) systime.h sysselect.h termhooks.h xterm.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
936 lisp.h termopts.h frame.h dispextern.h
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
937 xsettings.o: xterm.h xsettings.h lisp.h frame.h termhooks.h $(config_h) \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
938 dispextern.h keyboard.h systime.h coding.h composite.h blockinput.h atimer.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
939 termopts.h
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
940
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
941 /* The files of Lisp proper. */
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
942 alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
943 keyboard.h blockinput.h atimer.h systime.h character.h lisp.h $(config_h) \
106621
b35a48601a9d (alloc.o): Fix last change.
Eli Zaretskii <eliz@gnu.org>
parents: 106619
diff changeset
944 $(INTERVALS_H) termhooks.h
89978
566253900690 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-40
Miles Bader <miles@gnu.org>
parents: 89970 57051
diff changeset
945 bytecode.o: bytecode.c buffer.h syntax.h character.h window.h dispextern.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
946 frame.h xterm.h lisp.h $(config_h)
89978
566253900690 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-40
Miles Bader <miles@gnu.org>
parents: 89970 57051
diff changeset
947 data.o: data.c buffer.h puresize.h character.h syssignal.h keyboard.h frame.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
948 termhooks.h systime.h coding.h composite.h dispextern.h font.h ccl.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
949 lisp.h $(config_h)
30297
6fd1ba16482c Fix dependencies of blockinput.h on atimer.h, systime.h.
Dave Love <fx@gnu.org>
parents: 30288
diff changeset
950 eval.o: eval.c commands.h keyboard.h blockinput.h atimer.h systime.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
951 dispextern.h lisp.h $(config_h) coding.h composite.h xterm.h
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
952 floatfns.o: floatfns.c syssignal.h lisp.h $(config_h)
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
953 fns.o: fns.c commands.h lisp.h $(config_h) frame.h buffer.h character.h keyboard.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
954 keymap.h window.h dispextern.h $(INTERVALS_H) coding.h md5.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
955 blockinput.h atimer.h systime.h xterm.h
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
956 print.o: print.c process.h frame.h window.h buffer.h keyboard.h character.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
957 lisp.h $(config_h) termchar.h $(INTERVALS_H) msdos.h termhooks.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
958 blockinput.h atimer.h systime.h font.h charset.h coding.h ccl.h
88350
92955c874f43 (obj): Add character.o and chartab.o.
Kenichi Handa <handa@m17n.org>
parents: 43514
diff changeset
959 lread.o: lread.c commands.h keyboard.h buffer.h epaths.h character.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
960 charset.h lisp.h $(config_h) $(INTERVALS_H) termhooks.h coding.h msdos.h \
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
961 systime.h frame.h blockinput.h atimer.h
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
962
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
963 /* Text properties support. */
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
964 composite.o: composite.c buffer.h character.h coding.h font.h ccl.h \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
965 frame.h termhooks.h $(INTERVALS_H) window.h lisp.h $(config_h)
100749
60d1b8c9b2b3 (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100748
diff changeset
966 intervals.o: intervals.c buffer.h $(INTERVALS_H) keyboard.h puresize.h \
106619
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
967 keymap.h lisp.h $(config_h) systime.h coding.h
528f9cf7298f Update dependencies in Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 106601
diff changeset
968 textprop.o: textprop.c buffer.h window.h $(INTERVALS_H) \
105951
85397efaf3b5 Add dependencies to lisp.h. Remove dependencies
Dan Nicolaescu <dann@ics.uci.edu>
parents: 105479
diff changeset
969 lisp.h $(config_h)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
970
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
971 #endif /* ! AUTO_DEPEND */
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
972
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
973 /* System-specific programs to be made.
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
974 OTHER_FILES select which of these should be compiled. */
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
975
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
976 #ifdef HAVE_NS
96769
2b46fd076f88 remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96759
diff changeset
977 ${ns_appdir}: ${ns_appsrc}
2b46fd076f88 remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96759
diff changeset
978 rm -fr ${ns_appdir}
2b46fd076f88 remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96759
diff changeset
979 mkdir -p ${ns_appdir}
108579
ab7ad4459a75 Minor NS build fixes.
Glenn Morris <rgm@gnu.org>
parents: 108578
diff changeset
980 ( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; umask 022; tar xf - )
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
981
96769
2b46fd076f88 remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96759
diff changeset
982 ${ns_appbindir}Emacs: emacs${EXEEXT}
2b46fd076f88 remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96759
diff changeset
983 mkdir -p ${ns_appbindir}
2b46fd076f88 remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96759
diff changeset
984 cp -f emacs${EXEEXT} ${ns_appbindir}Emacs
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
985
96769
2b46fd076f88 remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96759
diff changeset
986 ns-app: ${ns_appdir} ${ns_appbindir}Emacs
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
987 #endif /* HAVE_NS */
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44347
diff changeset
988
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
989 mostlyclean:
49652
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
990 rm -f temacs${EXEEXT} prefix-args${EXEEXT} core *.core \#* *.o libXMenu11.a liblw.a
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
991 rm -f ../etc/DOC
74393
cf9019dcbe9b (version): New variable, set by configure.
Glenn Morris <rgm@gnu.org>
parents: 72889
diff changeset
992 rm -f bootstrap-emacs${EXEEXT} emacs-${version}${EXEEXT}
104619
90578b9cc2d2 * Makefile.in (buildobj.h): New target.
Ken Raeburn <raeburn@raeburn.org>
parents: 104558
diff changeset
993 rm -f buildobj.h
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
994 clean: mostlyclean
92470
1d403e495bb9 (clean): Remove emacs-*.*.* instead of emacs-*.
Andreas Schwab <schwab@suse.de>
parents: 92433
diff changeset
995 rm -f emacs-*.*.*${EXEEXT} emacs${EXEEXT}
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
996 -rm -rf deps
96817
6b7bbb1d9eb1 fix bug with quickdraw smoothing; also, in Makefile, clean out ns_appdir in 'clean' target
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96816
diff changeset
997 #ifdef HAVE_NS
6b7bbb1d9eb1 fix bug with quickdraw smoothing; also, in Makefile, clean out ns_appdir in 'clean' target
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96816
diff changeset
998 rm -fr ${ns_appdir}
6b7bbb1d9eb1 fix bug with quickdraw smoothing; also, in Makefile, clean out ns_appdir in 'clean' target
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96816
diff changeset
999 #endif
96134
d143e6de14ec * src/Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 95657
diff changeset
1000 /* bootstrap-clean is used to clean up just before a bootstrap.
d143e6de14ec * src/Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 95657
diff changeset
1001 It should remove all files generated during a compilation/bootstrap,
d143e6de14ec * src/Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 95657
diff changeset
1002 but not things like config.status or TAGS. */
96244
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1003 bootstrap-clean: clean
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1004 rm -f epaths.h config.h Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-*
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1005 if test -f ./.gdbinit; then \
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1006 mv ./.gdbinit ./.gdbinit.save; \
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1007 if test -f "${srcdir}/.gdbinit"; then rm -f ./.gdbinit.save; \
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1008 else mv ./.gdbinit.save ./.gdbinit; fi; \
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1009 fi
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
1010 /**/# This is used in making a distribution.
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
1011 /**/# Do not use it on development directories!
96244
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1012 distclean: bootstrap-clean
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
1013 rm -f Makefile
10684
91798dbdac12 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10585
diff changeset
1014 maintainer-clean: distclean
91798dbdac12 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10585
diff changeset
1015 @echo "This command is intended for maintainers to use;"
91798dbdac12 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10585
diff changeset
1016 @echo "it deletes files that may require special tools to rebuild."
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
1017 rm -f TAGS
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
1018 versionclean:
92470
1d403e495bb9 (clean): Remove emacs-*.*.* instead of emacs-*.
Andreas Schwab <schwab@suse.de>
parents: 92433
diff changeset
1019 -rm -f emacs${EXEEXT} emacs-*.*.*${EXEEXT} ../etc/DOC*
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
1020 extraclean: distclean
5035
2906af83fe85 (extraclean): Prevent wildcard from starting comment.
Richard M. Stallman <rms@gnu.org>
parents: 5030
diff changeset
1021 -rm -f *~ \#* m/?*~ s/?*~
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
1022
21923
58f3869d37d5 (TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents: 21802
diff changeset
1023 /* Arrange to make a tags table TAGS-LISP for ../lisp,
58f3869d37d5 (TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents: 21802
diff changeset
1024 plus TAGS for the C files, which includes ../lisp/TAGS by reference. */
38253
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1025
103146
e09d4e825e2f (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 101773
diff changeset
1026 ctagsfiles1 = [xyzXYZ]*.[hcm]
e09d4e825e2f (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 101773
diff changeset
1027 ctagsfiles2 = [a-wA-W]*.[hcm]
38253
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1028
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1029 TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
28000
0521dc31dac0 (tags): Include ../lwlib/TAGS in TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 27727
diff changeset
1030 ../lib-src/etags --include=TAGS-LISP --include=${lwlibdir}/TAGS \
22017
615e861e4bb6 (TAGS): Specify directory when running etags.
Richard M. Stallman <rms@gnu.org>
parents: 21923
diff changeset
1031 --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
25027
f36ec150350e (ctagsfiles): Split so that files starting
Gerd Moellmann <gerd@gnu.org>
parents: 24630
diff changeset
1032 $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
21923
58f3869d37d5 (TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents: 21802
diff changeset
1033 frc:
58f3869d37d5 (TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents: 21802
diff changeset
1034 TAGS-LISP: frc
41654
bcda42f1f3db (lispdir): New variable, referring to build dir.
Richard M. Stallman <rms@gnu.org>
parents: 41544
diff changeset
1035 $(MAKE) -f ${lispdir}Makefile TAGS-LISP ETAGS=../lib-src/etags
38253
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1036
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1037 $(lwlibdir)TAGS:
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1038 (cd $(lwlibdir); $(MAKE) -f $(lwlibdir)Makefile tags ETAGS=../lib-src/etags)
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1039
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
1040 tags: TAGS TAGS-LISP $(lwlibdir)TAGS
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
1041 .PHONY: tags
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1042
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1043
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1044 /* Bootstrapping. */
96137
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1045 /* Bootstrapping right is difficult because of the circular dependencies.
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1046 Furthermore, we have to deal with the fact that many compilation targets
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1047 such as loaddefs.el or *.elc can typically be produced by any old
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1048 Emacs executable, so we would like to avoid rebuilding them whenever
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1049 we build a new Emacs executable.
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1050 To solve the circularity, we use 2 different Emacs executables,
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1051 "emacs" is the main target and "bootstrap-emacs" is the one used
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1052 to build the *.elc and loaddefs.el files.
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1053 To solve the freshness issue, we used to use a third file "witness-emacs"
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1054 which was used to witness the fact that there is a bootstrap-emacs
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1055 executable, and then have dependencies on witness-emacs rather than
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1056 bootstrap-emacs, but that lead to problems in parallel builds (because
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1057 witness-emacs needed to be free from dependencies (to avoid rebuilding
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1058 it), so it was compiled in parallel, leading typically to having 2
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1059 processes dumping bootstrap-emacs at the same time).
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1060 So instead, we replace the witness-emacs dependencies by conditional
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1061 bootstrap-dependencies (via ${BOOTSTRAPEMACS}). Of course, since we do
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1062 not want to rely on GNU Make features, we have to rely on an external
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1063 script to do the conditional part of the dependency
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1064 (i.e. see the ${SUBDIR} rule ../Makefile.in). */
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1065
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1066 .SUFFIXES: .elc .el
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1067
96137
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1068 /* These suffix rules do not allow additional dependencies, sadly, so
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1069 instead of adding a $(BOOTSTRAPEMACS) dependency here, we add it
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1070 separately below.
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1071 With GNU Make, we would just say "%.el : %.elc $(BOOTSTRAPEMACS)" */
96137
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1072 .el.elc:
96154
0bca382a18f3 * src/Makefile.in (PRECOMP): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96142
diff changeset
1073 @cd ../lisp; $(MAKE) $(MFLAGS) compile-onefile \
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
1074 THEFILE=$< EMACS=${bootstrap_exe}
96134
d143e6de14ec * src/Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 95657
diff changeset
1075
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1076 /* Since the .el.elc rule cannot specify an extra dependency, we do it here. */
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1077 ${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS)
96137
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
1078
96245
cec3bb05f699 Fix thinko.
Andreas Schwab <schwab@suse.de>
parents: 96244
diff changeset
1079 ${lispsource}loaddefs.el: $(BOOTSTRAPEMACS)
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
1080 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=${bootstrap_exe}
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1081
49549
99be3a1e2589 Cygwin support patch.
Juanma Barranquero <lekktu@gmail.com>
parents: 49365
diff changeset
1082 /* Dump an Emacs executable named bootstrap-emacs containing the
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1083 files from loadup.el in source form. */
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1084
49652
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
1085 bootstrap-emacs${EXEEXT}: temacs${EXEEXT}
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
1086 cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1087 #ifdef CANNOT_DUMP
97425
750eb9498631 (bootstrap-emacs): Use ln -f in the CANNOT_DUMP case.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 97354
diff changeset
1088 ln -f temacs${EXEEXT} bootstrap-emacs${EXEEXT}
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1089 #else
57207
d07786352759 * config.in: Rebuild.
Jan Djärv <jan.h.d@swipnet.se>
parents: 57051
diff changeset
1090 $(RUN_TEMACS) --batch --load loadup bootstrap
49652
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
1091 mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
1092 #endif /* ! defined (CANNOT_DUMP) */
96154
0bca382a18f3 * src/Makefile.in (PRECOMP): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96142
diff changeset
1093 @: Compile some files earlier to speed up further compilation.
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
1094 cd ../lisp; $(MAKE) $(MFLAGS) compile-first EMACS=${bootstrap_exe}
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
1095
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
1096 #ifdef AUTO_DEPEND
108274
8416c8d075e3 Define LIB_STANDARD and START_FILES using autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108271
diff changeset
1097 ALLOBJS=$(START_FILES) ${obj} ${otherobj} prefix-args.o
106009
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
1098 -include $(ALLOBJS:%.o=deps/%.d)
e6af95c4c862 Use gcc-generated dependency files if we can (GNU Make and gcc required).
Jan Djärv <jan.h.d@swipnet.se>
parents: 105951
diff changeset
1099 #endif