annotate src/Makefile.in @ 111102:9fbc584102c2

Support R2L rows. Continued lines still don't work correctly. xdisp.c (mouse_face_from_buffer_pos): Fix code using bug#1220 as test case. Implement highlight for R2L rows.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 28 Aug 2010 14:09:02 +0300
parents 3226ac2da7f7
children fd8902911ce3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109849
28a8c62b8ee7 imagemagick patch5 + minor mods
joakim <joakim@exodia>
parents: 107725
diff changeset
1
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
2 # Makefile for GNU Emacs.
64770
a0d1312ede66 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64084
diff changeset
3 # 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
4 # 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
5 # Free Software Foundation, Inc.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
6
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
7 # This file is part of GNU Emacs.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
8
94995
a46a8a839596 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94918
diff changeset
9 # 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
10 # 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
11 # 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
12 # (at your option) any later version.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
13
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
14 # 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
15 # 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
16 # 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
17 # GNU General Public License for more details.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
18
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
19 # 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
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
21
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
22
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
23 # 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
24 # 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
25 # 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
26
108544
0989e87620a6 * src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108537
diff changeset
27 SHELL = /bin/sh
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
28
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
29 # 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
30 # 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
31 srcdir = @srcdir@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
32 abs_builddir = @abs_builddir@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
33 VPATH = $(srcdir)
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
34 CC = @CC@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
35 CFLAGS = @CFLAGS@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
36 CPPFLAGS = @CPPFLAGS@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
37 LDFLAGS = @LDFLAGS@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
38 EXEEXT = @EXEEXT@
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
39 version = @version@
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
40 # 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
41 # 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
42 @SET_MAKE@
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
43 # Don't use LIBS. configure puts stuff in it that either shouldn't be
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
44 # linked with Emacs or is duplicated by the other stuff below.
28641
73cdcbe7fbd6 (LIBS): Don't use.
Dave Love <fx@gnu.org>
parents: 28609
diff changeset
45 # LIBS = @LIBS@
28586
208f9a3dc638 (LIBOBJS): New variable.
Dave Love <fx@gnu.org>
parents: 28585
diff changeset
46 LIBOBJS = @LIBOBJS@
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
47
95461
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
48 lispsource = ${srcdir}/../lisp/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
49 libsrc = ../lib-src/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
50 etc = ../etc/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
51 oldXMenudir = ../oldXMenu/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
52 lwlibdir = ../lwlib/
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
53 lispdir = ../lisp/
7045
6ea4737a3db7 (alloca.o): Use config_h.
Richard M. Stallman <rms@gnu.org>
parents: 6999
diff changeset
54
7328
29e2aa20e7b8 Put in a separator for where to start cpp procssing.
Richard M. Stallman <rms@gnu.org>
parents: 7145
diff changeset
55 # 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
56 M_FILE = ${srcdir}/@machfile@
6ea4737a3db7 (alloca.o): Use config_h.
Richard M. Stallman <rms@gnu.org>
parents: 6999
diff changeset
57 S_FILE = ${srcdir}/@opsysfile@
6ea4737a3db7 (alloca.o): Use config_h.
Richard M. Stallman <rms@gnu.org>
parents: 6999
diff changeset
58 config_h = config.h $(M_FILE) $(S_FILE)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
59
107451
d8347f5058b6 Use absolute directory names substituted by configure
Andreas Schwab <schwab@linux-m68k.org>
parents: 107450
diff changeset
60 bootstrap_exe = ${abs_builddir}/bootstrap-emacs${EXEEXT}
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
61
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
62 ## 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
63 OTHER_FILES = @OTHER_FILES@
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
64
108096
457366a09420 Close bug#5655.
Glenn Morris <rgm@gnu.org>
parents: 108094
diff changeset
65 CRT_DIR=@CRT_DIR@
457366a09420 Close bug#5655.
Glenn Morris <rgm@gnu.org>
parents: 108094
diff changeset
66
109359
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
67 ## Flags to pass for profiling builds
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
68 PROFILING_CFLAGS = @PROFILING_CFLAGS@
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
69 PROFILING_LDFLAGS = @PROFILING_LDFLAGS@
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
70
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
71 ## Flags to pass to the compiler to enable build warnings
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
72 C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
73
108227
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
74 ## Machine-specific CFLAGS.
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
75 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
76 ## System-specific CFLAGS.
135e34f90ef1 Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108226
diff changeset
77 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
78
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
79 ## 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
80 ## 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
81 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
82
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
83 ## 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
84 ## 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
85 ## 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
86 ## 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
87 ## 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
88 ## 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
89 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
90
108523
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
91 ## 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
92 ## 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
93 ## 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
94 ## 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
95 ## HAVE_X_WINDOWS.
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
96 ## 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
97 ## 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
98 LD_SWITCH_X_SITE=
81b3d413542e Remove some unused #define's, previously replaced by variables.
Glenn Morris <rgm@gnu.org>
parents: 108522
diff changeset
99
108229
0c1c81ee223e Move LD_SWITCH_X_SITE_AUX from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108228
diff changeset
100 ## 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
101 ## 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
102 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
103 ## 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
104 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
105
108278
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
106 ## System-specific LDFLAGS.
9c003610b6fc Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108274
diff changeset
107 LD_SWITCH_SYSTEM=@LD_SWITCH_SYSTEM@
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
108
108770
87142531365c Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS.
Glenn Morris <rgm@gnu.org>
parents: 108769
diff changeset
109 ## This holds any special options for linking temacs only (ie, not
87142531365c Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS.
Glenn Morris <rgm@gnu.org>
parents: 108769
diff changeset
110 ## used by configure). Not used elsewhere because it sometimes
87142531365c Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS.
Glenn Morris <rgm@gnu.org>
parents: 108769
diff changeset
111 ## contains options that have to do with using Emacs's crt0,
87142531365c Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS.
Glenn Morris <rgm@gnu.org>
parents: 108769
diff changeset
112 ## which are only good with temacs.
87142531365c Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS.
Glenn Morris <rgm@gnu.org>
parents: 108769
diff changeset
113 LD_SWITCH_SYSTEM_TEMACS=@LD_SWITCH_SYSTEM_TEMACS@
87142531365c Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS.
Glenn Morris <rgm@gnu.org>
parents: 108769
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.
108787
b06e3f33ea78 Remove some NS_IMPL_GNUSTEP build dead code.
Glenn Morris <rgm@gnu.org>
parents: 108786
diff changeset
116 TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(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
109359
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
118 ## $LDFLAGS $PROFILING_LDFLAGS, or empty if NS_IMPL_GNUSTEP (for some reason).
108624
ecb7cdb525f0 Simplify temacs build rule.
Glenn Morris <rgm@gnu.org>
parents: 108623
diff changeset
119 TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@
ecb7cdb525f0 Simplify temacs build rule.
Glenn Morris <rgm@gnu.org>
parents: 108623
diff changeset
120
108382
b9b3b94979ee Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108311
diff changeset
121 ## 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
122 LIBS_SYSTEM=@LIBS_SYSTEM@
b9b3b94979ee Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108311
diff changeset
123
108507
ea7b1bab920f Move LIB_GCC from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108473
diff changeset
124 ## 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
125 LIB_GCC=@LIB_GCC@
ea7b1bab920f Move LIB_GCC from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108473
diff changeset
126
108691
5a44435f0c71 Set linker-related things with configure.
Glenn Morris <rgm@gnu.org>
parents: 108636
diff changeset
127 LD=@LINKER@
5a44435f0c71 Set linker-related things with configure.
Glenn Morris <rgm@gnu.org>
parents: 108636
diff changeset
128
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
129 ## May use $CRT_DIR.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
130 LIB_STANDARD=@LIB_STANDARD@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
131
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
132 ## -lm, or empty.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
133 LIB_MATH=@LIB_MATH@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
134
107725
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
135 LIBTIFF=@LIBTIFF@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
136 LIBJPEG=@LIBJPEG@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
137 LIBPNG=@LIBPNG@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
138 LIBGIF=@LIBGIF@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
139 LIBXPM=@LIBXPM@
cb51e74aafd2 Cosmetic change to src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 107709
diff changeset
140 XFT_LIBS=@XFT_LIBS@
108217
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
141 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
142
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
143 FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
144 FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
145 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
146 FREETYPE_LIBS = @FREETYPE_LIBS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
147 LIBOTF_CFLAGS = @LIBOTF_CFLAGS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
148 LIBOTF_LIBS = @LIBOTF_LIBS@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
149 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
150 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
151
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
152 DBUS_CFLAGS = @DBUS_CFLAGS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
153 DBUS_LIBS = @DBUS_LIBS@
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
154 DBUS_OBJ = @DBUS_OBJ@
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
155
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
156 GCONF_CFLAGS = @GCONF_CFLAGS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
157 GCONF_LIBS = @GCONF_LIBS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
158
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
159 GTK_OBJ=@GTK_OBJ@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
160
108310
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
161 ## -ltermcap, or -lncurses, or -lcurses, or "".
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
162 LIBS_TERMCAP=@LIBS_TERMCAP@
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
163 ## 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
164 TERMCAP_OBJ=@TERMCAP_OBJ@
17d73312ed65 Move TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
165
108148
1c3ecdb885b5 Move LIBXMU from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108147
diff changeset
166 LIBXMU=@LIBXMU@
1c3ecdb885b5 Move LIBXMU from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108147
diff changeset
167
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
168 LIBXSM=@LIBXSM@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
169
108136
43dcbd8381dc Move LIBXTR6 from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108134
diff changeset
170 LIBXTR6=@LIBXTR6@
43dcbd8381dc Move LIBXTR6 from cpp to autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108134
diff changeset
171
108217
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
172 ## $(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
173 ## Only used if HAVE_X_WINDOWS.
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
174 LIBXT_OTHER=@LIBXT_OTHER@
100210917be8 Replace some X-related cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108207
diff changeset
175
108729
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
176 ## If !HAVE_X11 || USE_GTK, empty.
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
177 ## Else if USE_X_TOOLKIT really-lwlib, else really-oldxmenu.
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
178 OLDXMENU_TARGET=@OLDXMENU_TARGET@
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
179
108611
a32b146e01b5 src/Makefile.in (OLDXMENU): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108610
diff changeset
180 ## If !HAVE_X11 || USE_GTK, empty.
a32b146e01b5 src/Makefile.in (OLDXMENU): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108610
diff changeset
181 ## Else if USE_X_TOOLKIT, ${lwlibdir}liblw.a.
a32b146e01b5 src/Makefile.in (OLDXMENU): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108610
diff changeset
182 ## Else ${oldXMenudir}libXMenu11.a.
108729
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
183 ## (Actually, rather than being empty, it is set to "nothing".
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
184 ## It is never actually used for anything in this case.
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
185 ## This is done because there is a rule with target $(OLDXMENU) below,
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
186 ## and I think it might be a syntax error with some makes to have
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
187 ## an empty target, even if the associated rule is never run.
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
188 ## http://lists.gnu.org/archive/html/help-make/2010-05/msg00058.html
83fdad33d6fa Build simplifications for oldxmenu.
Glenn Morris <rgm@gnu.org>
parents: 108727
diff changeset
189 ## The alternative would be to put that rule in a makefile fragment.)
108611
a32b146e01b5 src/Makefile.in (OLDXMENU): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108610
diff changeset
190 OLDXMENU=@OLDXMENU@
a32b146e01b5 src/Makefile.in (OLDXMENU): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108610
diff changeset
191
108631
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
192 ## If HAVE_X11 && !USE_GTK, ${OLDXMENU} ../src/${OLDXMENU}; else empty.
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
193 ## We use stamp-xmenu with these two deps to both ensure that lwlib
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
194 ## gets remade based on its dependencies in its own makefile,
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
195 ## and remake temacs if lwlib gets changed by this.
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
196 OLDXMENU_DEPS=@OLDXMENU_DEPS@
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
197
108612
60489ff8b450 Always define LIBXMENU in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108611
diff changeset
198 ## If !HAVE_X11 && HAVE_X_WINDOWS, -lXMenu (this case no longer possible).
60489ff8b450 Always define LIBXMENU in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108611
diff changeset
199 ## Else if !HAVE_X11 || USE_GTK, empty.
60489ff8b450 Always define LIBXMENU in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108611
diff changeset
200 ## Else $(OLDXMENU).
60489ff8b450 Always define LIBXMENU in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108611
diff changeset
201 LIBXMENU=@LIBXMENU@
60489ff8b450 Always define LIBXMENU in src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108611
diff changeset
202
108019
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
203 XMENU_OBJ=@XMENU_OBJ@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
204 XOBJ=@XOBJ@
b235d39e4457 Remove some more cpp in favor of autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108014
diff changeset
205
108134
236318fbe135 Replace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW.
Glenn Morris <rgm@gnu.org>
parents: 108133
diff changeset
206 TOOLKIT_LIBW=@TOOLKIT_LIBW@
108123
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
207
108614
f710179e77ab * src/Makefile.in (LIBXT): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108612
diff changeset
208 ## Only used if HAVE_X11, in LIBX_OTHER.
f710179e77ab * src/Makefile.in (LIBXT): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108612
diff changeset
209 LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER)
f710179e77ab * src/Makefile.in (LIBXT): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108612
diff changeset
210
108615
c82cd792792d * src/Makefile.in (LIBX_OTHER): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108614
diff changeset
211 ## If HAVE_X11, $(LIBXT) $(LIBX_EXTRA), else empty.
c82cd792792d * src/Makefile.in (LIBX_OTHER): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108614
diff changeset
212 LIBX_OTHER=@LIBX_OTHER@
c82cd792792d * src/Makefile.in (LIBX_OTHER): Move out of cpp section.
Glenn Morris <rgm@gnu.org>
parents: 108614
diff changeset
213
108616
2ac105f2b2ac * src/Makefile.in (LIBX_BASE): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108615
diff changeset
214 ## LIBXMENU is nil if !HAVE_X_WINDOWS.
2ac105f2b2ac * src/Makefile.in (LIBX_BASE): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108615
diff changeset
215 ## LD_SWITCH_X_SITE should not be used if not using X, but nothing
2ac105f2b2ac * src/Makefile.in (LIBX_BASE): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108615
diff changeset
216 ## sets it at present, and if something ever does, it should be
2ac105f2b2ac * src/Makefile.in (LIBX_BASE): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108615
diff changeset
217 ## configure, which should set it to nil in non-X builds.
2ac105f2b2ac * src/Makefile.in (LIBX_BASE): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108615
diff changeset
218 LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE)
2ac105f2b2ac * src/Makefile.in (LIBX_BASE): Always define.
Glenn Morris <rgm@gnu.org>
parents: 108615
diff changeset
219
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
220 LIBSOUND= @LIBSOUND@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
221 CFLAGS_SOUND= @CFLAGS_SOUND@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
222
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
223 RSVG_LIBS= @RSVG_LIBS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
224 RSVG_CFLAGS= @RSVG_CFLAGS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
225
109853
fe07c47cf7a7 merge and fixes
Joakim <joakim@localhost.localdomain>
parents: 109851 108510
diff changeset
226 IMAGEMAGICK_LIBS= @IMAGEMAGICK_LIBS@
fe07c47cf7a7 merge and fixes
Joakim <joakim@localhost.localdomain>
parents: 109851 108510
diff changeset
227 IMAGEMAGICK_CFLAGS= @IMAGEMAGICK_CFLAGS@
fe07c47cf7a7 merge and fixes
Joakim <joakim@localhost.localdomain>
parents: 109851 108510
diff changeset
228
fe07c47cf7a7 merge and fixes
Joakim <joakim@localhost.localdomain>
parents: 109851 108510
diff changeset
229
108123
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
230 ## widget.o if USE_X_TOOLKIT, otherwise empty.
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
231 WIDGET_OBJ=@WIDGET_OBJ@
2559def6146e Replace some more cpp with autoconf.
Glenn Morris <rgm@gnu.org>
parents: 108121
diff changeset
232
108151
582ce1d4716e Define CYGWIN_OBJ with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108150
diff changeset
233 ## sheap.o if CYGWIN, otherwise empty.
582ce1d4716e Define CYGWIN_OBJ with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108150
diff changeset
234 CYGWIN_OBJ=@CYGWIN_OBJ@
582ce1d4716e Define CYGWIN_OBJ with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108150
diff changeset
235
108592
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108584
diff changeset
236 ## dosfns.o msdos.o w16select.o if MSDOS.
108555
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
237 MSDOS_OBJ =
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
238 ## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS.
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
239 MSDOS_X_OBJ =
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
240 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
241 ${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
242 ${lispsource}term/internal.elc ${lispsource}term/pc-win.elc
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
243 ## $MSDOS_SUPPORT_REAL if MSDOS.
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
244 MSDOS_SUPPORT =
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
245
108626
840953137f6b Tweak ns_app*dir values set by configure.
Glenn Morris <rgm@gnu.org>
parents: 108624
diff changeset
246 ns_appdir=@ns_appdir@
840953137f6b Tweak ns_app*dir values set by configure.
Glenn Morris <rgm@gnu.org>
parents: 108624
diff changeset
247 ns_appbindir=@ns_appbindir@
108562
3088b1e22407 No harm in always defining some ns_ Makefile variables.
Glenn Morris <rgm@gnu.org>
parents: 108558
diff changeset
248 ns_appsrc=@ns_appsrc@
108147
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
249 NS_OBJ=@NS_OBJ@
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
250 NS_SUPPORT=@NS_SUPPORT@
108623
6b62ba6da320 Simplify temacs build rule.
Glenn Morris <rgm@gnu.org>
parents: 108622
diff changeset
251 ## Only set if NS_IMPL_GNUSTEP.
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
252 GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@
108147
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
253
108606
095e338e1fd8 Always define FONT_OBJ; to empty in the non-X case.
Glenn Morris <rgm@gnu.org>
parents: 108592
diff changeset
254 ## Empty if !HAVE_X_WINDOWS
095e338e1fd8 Always define FONT_OBJ; to empty in the non-X case.
Glenn Morris <rgm@gnu.org>
parents: 108592
diff changeset
255 ## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT
095e338e1fd8 Always define FONT_OBJ; to empty in the non-X case.
Glenn Morris <rgm@gnu.org>
parents: 108592
diff changeset
256 ## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE
095e338e1fd8 Always define FONT_OBJ; to empty in the non-X case.
Glenn Morris <rgm@gnu.org>
parents: 108592
diff changeset
257 ## else xfont.o
108149
1af337cb46c4 Set FONT_DRIVERS with configure rather than cpp.
Glenn Morris <rgm@gnu.org>
parents: 108148
diff changeset
258 FONT_OBJ=@FONT_OBJ@
1af337cb46c4 Set FONT_DRIVERS with configure rather than cpp.
Glenn Morris <rgm@gnu.org>
parents: 108148
diff changeset
259
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
260 ## Used if HAVE_MOUSE.
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
261 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
262 ${lispsource}scroll-bar.elc
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
263 ## Used if HAVE_GPM && !HAVE_MOUSE
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
264 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
265 LIBGPM = @LIBGPM@
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
266 ## 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
267 MOUSE_SUPPORT=@MOUSE_SUPPORT@
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
268
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
269 ## ${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
270 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
271
108152
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
272 BASE_WINDOW_SUPPORT=${lispsource}fringe.elc ${lispsource}image.elc \
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
273 ${lispsource}international/fontset.elc ${lispsource}dnd.elc \
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
274 ${lispsource}tool-bar.elc ${lispsource}mwheel.elc
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
275
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
276 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
277 ${lispsource}term/x-win.elc ${lispsource}dynamic-setting.elc
ad916afa5bdd src/Makefile.in minor simplification,
Glenn Morris <rgm@gnu.org>
parents: 108151
diff changeset
278
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
279 ## If HAVE_X_WINDOWS, both the above
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
280 ## 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
281 WINDOW_SUPPORT=@WINDOW_SUPPORT@
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
282
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
283 ## -lresolv, or empty.
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
284 LIBRESOLV = @LIBRESOLV@
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
285
108014
c85d877f94f1 Remove LIBSELINUX_LIBS need for cpp in Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 108011
diff changeset
286 LIBSELINUX_LIBS = @LIBSELINUX_LIBS@
c85d877f94f1 Remove LIBSELINUX_LIBS need for cpp in Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 108011
diff changeset
287
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
288 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
289
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
290 GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
291
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
292 RUN_TEMACS = `/bin/pwd`/temacs
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
293
108274
8416c8d075e3 Define LIB_STANDARD and START_FILES using autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108271
diff changeset
294 START_FILES = @START_FILES@
8416c8d075e3 Define LIB_STANDARD and START_FILES using autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108271
diff changeset
295
108882
3ff97bad1c47 Move UNEXEC definition to autoconf.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108809
diff changeset
296 UNEXEC_OBJ = @UNEXEC_OBJ@
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
297
109073
6799ec1a7188 Remove some cpp that is internal to configure.in.
Glenn Morris <rgm@gnu.org>
parents: 108976
diff changeset
298 CANNOT_DUMP=@CANNOT_DUMP@
108727
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
299
108708
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
300 DEPDIR=deps
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
301 ## -MMD -MF ${DEPDIR}/$*.d if AUTO_DEPEND; else empty.
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
302 DEPFLAGS=@DEPFLAGS@
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
303 ## test -d ${DEPDIR} || mkdir ${DEPDIR} (if AUTO_DEPEND); else ':'.
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
304 MKDEPDIR=@MKDEPDIR@
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
305
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
306 ## DO NOT use -R. There is a special hack described in lastfile.c
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
307 ## which is used instead. Some initialized data areas are modified
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
308 ## at initial startup, then labeled as part of the text area when
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
309 ## Emacs is dumped for the first time, and never changed again.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
310 ##
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
311 ## -Demacs is needed to make some files produce the correct version
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
312 ## for use in Emacs.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
313 ##
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
314 ## -DHAVE_CONFIG_H is needed for some other files to take advantage of
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
315 ## the information in `config.h'.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
316 ##
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
317 ## C_SWITCH_X_SITE must come before C_SWITCH_X_SYSTEM
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
318 ## since it may have -I options that should override those.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
319 ##
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
320 ## FIXME? MYCPPFLAGS only referenced in etc/DEBUG.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
321 ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} \
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
322 ${C_SWITCH_MACHINE} ${C_SWITCH_SYSTEM} ${C_SWITCH_X_SITE} \
109859
68616bb3ae25 merged from trunk
Joakim <joakim@localhost.localdomain>
parents: 109853 108976
diff changeset
323 ${C_SWITCH_X_SYSTEM} ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${IMAGEMAGICK_CFLAGS} ${DBUS_CFLAGS} \
109359
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
324 ${GCONF_CFLAGS} ${FREETYPE_CFLAGS} ${FONTCONFIG_CFLAGS} \
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
325 ${LIBOTF_CFLAGS} ${M17N_FLT_CFLAGS} ${DEPFLAGS} ${PROFILING_CFLAGS} \
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 109354
diff changeset
326 ${C_WARNINGS_SWITCH} ${CFLAGS}
108522
0d518077d6bd Define some variables to hold configure's output, for clarity.
Glenn Morris <rgm@gnu.org>
parents: 108510
diff changeset
327 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
328
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
329 .SUFFIXES: .m
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
330 .c.o:
108708
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
331 @$(MKDEPDIR)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
332 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
96675
d45acf0c8d23 merging Emacs.app (NeXTstep port)
Adrian Robert <Adrian.B.Robert@gmail.com>
parents: 96608
diff changeset
333 .m.o:
108708
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
334 @$(MKDEPDIR)
97354
0defde3a9c5f * s/darwin.h (OTHER_FILES): Do not define here, defined in
Dan Nicolaescu <dann@ics.uci.edu>
parents: 97345
diff changeset
335 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $<
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
336
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
337
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
338 ## lastfile must follow all files whose initialized data areas should
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
339 ## 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
340 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
341 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
342 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
343 emacs.o keyboard.o macros.o keymap.o sysdep.o \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
344 buffer.o filelock.o insdel.o marker.o \
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
345 minibuf.o fileio.o dired.o filemode.o \
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
346 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
347 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
348 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
349 syntax.o $(UNEXEC_OBJ) bytecode.o \
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
350 process.o callproc.o \
27423
c3199813ea4d (obj): Add atimer.o.
Gerd Moellmann <gerd@gnu.org>
parents: 26836
diff changeset
351 region-cache.o sound.o atimer.o \
34049
817d000feda3 (obj): Add md5.o
Gerd Moellmann <gerd@gnu.org>
parents: 33640
diff changeset
352 doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \
108606
095e338e1fd8 Always define FONT_OBJ; to empty in the non-X case.
Glenn Morris <rgm@gnu.org>
parents: 108592
diff changeset
353 $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_OBJ)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
354
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
355 ## Object files used on some machine or other.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
356 ## 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
357 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
358 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
359 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
360 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
361 w32.o w32console.o w32fns.o w32heap.o w32inevt.o \
108606
095e338e1fd8 Always define FONT_OBJ; to empty in the non-X case.
Glenn Morris <rgm@gnu.org>
parents: 108592
diff changeset
362 w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_OBJ)
9595
d0a1ccb93c47 (SOME_MACHINE_OBJECTS): Add msdos.o and x*.o files.
Richard M. Stallman <rms@gnu.org>
parents: 9572
diff changeset
363
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
364 ## gmalloc.o if !SYSTEM_MALLOC && !DOUG_LEA_MALLOC, else empty.
108634
fcdc7bb97c9e Define some malloc objects with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108633
diff changeset
365 GMALLOC_OBJ=@GMALLOC_OBJ@
fcdc7bb97c9e Define some malloc objects with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108633
diff changeset
366
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
367 ## vm-limit.o if !SYSTEM_MALLOC, else empty.
108634
fcdc7bb97c9e Define some malloc objects with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108633
diff changeset
368 VMLIMIT_OBJ=@VMLIMIT_OBJ@
fcdc7bb97c9e Define some malloc objects with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108633
diff changeset
369
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
370 ## ralloc.o if !SYSTEM_MALLOC && REL_ALLOC, else empty.
108635
e565448628b8 Set rallocobj with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108634
diff changeset
371 RALLOC_OBJ=@RALLOC_OBJ@
41542
f30168d4d5e6 (mallocobj): Simplify logic using auxiliary vars.
Richard M. Stallman <rms@gnu.org>
parents: 39667
diff changeset
372
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
373 ## 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
374 PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
375 ## lastfile.o on Cygwin, empty elsewhere.
108185
804e9ced8374 Rework previous autoconf changes, hopefully to make clearer.
Glenn Morris <rgm@gnu.org>
parents: 108176
diff changeset
376 POST_ALLOC_OBJ=@POST_ALLOC_OBJ@
108176
e6f59a2ba110 Hopefully fix bug#6065.
Glenn Morris <rgm@gnu.org>
parents: 108172
diff changeset
377
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
378 ## List of object files that make-docfile should not be told about.
108635
e565448628b8 Set rallocobj with configure, not cpp.
Glenn Morris <rgm@gnu.org>
parents: 108634
diff changeset
379 otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \
108636
3ba0676c49c9 Since Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o.
Glenn Morris <rgm@gnu.org>
parents: 108635
diff changeset
380 $(POST_ALLOC_OBJ) $(VMLIMIT_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
381
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
382 ## This is the platform-specific list of Lisp files loaded into the
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
383 ## dumped Emacs. It is arranged like this because it is easier to generate
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
384 ## it semi-mechanically from loadup.el this way.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
385 ##
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
386 ## Note that this list should not include lisp files which might not
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
387 ## be present, like site-load.el and site-init.el; this makefile
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
388 ## expects them all to be either present or buildable.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
389 ##
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
390 ## Files which are loaded unconditionally (i.e., on all platforms) should
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
391 ## also be in shortlisp. Files which are loaded conditionally (i.e., only
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
392 ## on some platforms) should instead be in SOME_MACHINE_LISP.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
393 ##
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
394 ## Place loaddefs.el first, so it gets generated first, since it is on
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
395 ## the critical path (relevant in parallel compilations).
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
396 lisp= \
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
397 ${lispsource}loaddefs.el \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
398 ${lispsource}abbrev.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
399 ${lispsource}buff-menu.elc \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
400 ${lispsource}button.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
401 ${lispsource}emacs-lisp/byte-run.elc \
89281
c0c4ea6bf780 (lisp, shortlisp): Add composite.elc
Kenichi Handa <handa@m17n.org>
parents: 89165
diff changeset
402 ${lispsource}composite.elc \
48872
cbe850fcc07e (lisp, shortlisp): Add cus-face and timer.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 48541
diff changeset
403 ${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
404 ${lispsource}cus-start.elc \
17684
e486cbd2419d (MOUSE_SUPPORT): Delete menu-bar.elc.
Richard M. Stallman <rms@gnu.org>
parents: 17455
diff changeset
405 ${lispsource}custom.elc \
43514
057daa8cfae0 (lisp): Add emacs-lisp/backquote.elc.
Jason Rumney <jasonr@gnu.org>
parents: 43512
diff changeset
406 ${lispsource}emacs-lisp/backquote.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
407 ${lispsource}emacs-lisp/lisp-mode.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
408 ${lispsource}emacs-lisp/lisp.elc \
28913
363038c049d6 (lisp): Add env.elc.
Gerd Moellmann <gerd@gnu.org>
parents: 28744
diff changeset
409 ${lispsource}env.elc \
18061
fff99dc53d81 (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o.
Richard M. Stallman <rms@gnu.org>
parents: 18048
diff changeset
410 ${lispsource}faces.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
411 ${lispsource}files.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
412 ${lispsource}format.elc \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
413 ${lispsource}facemenu.elc \
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
414 ${MOUSE_SUPPORT} \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
415 ${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
416 ${lispsource}frame.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
417 ${lispsource}help.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
418 ${lispsource}indent.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
419 ${lispsource}isearch.elc \
66908
3a70e0ff7404 (lisp, shortlisp): Add rfn-eshadow.
Luc Teirlinck <teirllm@auburn.edu>
parents: 66679
diff changeset
420 ${lispsource}rfn-eshadow.elc \
13461
8371f44b7099 (lisp): Add loadup.el.
Richard M. Stallman <rms@gnu.org>
parents: 13355
diff changeset
421 ${lispsource}loadup.el \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
422 ${lispsource}bindings.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
423 ${lispsource}emacs-lisp/map-ynp.elc \
17684
e486cbd2419d (MOUSE_SUPPORT): Delete menu-bar.elc.
Richard M. Stallman <rms@gnu.org>
parents: 17455
diff changeset
424 ${lispsource}menu-bar.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
425 ${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
426 ${lispsource}international/mule-conf.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
427 ${lispsource}international/mule-cmds.elc \
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
428 ${lispsource}international/characters.elc \
90093
0d7dcacdcd19 (lisp): Include charprop.el.
Kenichi Handa <handa@m17n.org>
parents: 90054
diff changeset
429 ${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
430 ${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
431 ${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
432 ${lispsource}language/cyrillic.elc \
106400
18230cebbf17 (lisp, shortlisp): Replace indian.el with indian.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 106293
diff changeset
433 ${lispsource}language/indian.elc \
92065
5938b98d39c4 (lisp): Remove devanagari.el, kannada.el,
Kenichi Handa <handa@m17n.org>
parents: 91765
diff changeset
434 ${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
435 ${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
436 ${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
437 ${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
438 ${lispsource}language/czech.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
439 ${lispsource}language/slovak.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
440 ${lispsource}language/romanian.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
441 ${lispsource}language/greek.el \
109354
09daf1538316 Improve Hebrew rendering.
Kenichi Handa <handa@etlken>
parents: 109169
diff changeset
442 ${lispsource}language/hebrew.elc \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
443 ${lispsource}language/japanese.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
444 ${lispsource}language/korean.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
445 ${lispsource}language/lao.el \
91363
8c86686b6fa4 (lisp): Add cham.el.
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
446 ${lispsource}language/cham.el \
90941
e64d2905643a (lisp): Add ${lispsource}language/tai-viet.el.
Kenichi Handa <handa@m17n.org>
parents: 90936
diff changeset
447 ${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
448 ${lispsource}language/thai.el \
17329
4d2c79262170 (lisp, shortlisp): Include english.elc and tibetan.elc.
Kenichi Handa <handa@m17n.org>
parents: 17100
diff changeset
449 ${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
450 ${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
451 ${lispsource}language/misc-lang.el \
42156
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
452 ${lispsource}language/utf-8-lang.el \
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
453 ${lispsource}language/georgian.el \
91311
3299d8db5775 (lisp): Add kherm.el and myanmar.el.
Kenichi Handa <handa@m17n.org>
parents: 91204
diff changeset
454 ${lispsource}language/khmer.el \
91386
5afe9b1dcd05 (shortlisp): Update for rename of
Andreas Schwab <schwab@suse.de>
parents: 91367
diff changeset
455 ${lispsource}language/burmese.el \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
456 ${lispsource}paths.el \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
457 ${lispsource}register.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
458 ${lispsource}replace.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
459 ${lispsource}simple.elc \
93885
6c6216b3b878 * lisp/minibuffer.el: New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 92470
diff changeset
460 ${lispsource}minibuffer.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
461 ${lispsource}startup.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
462 ${lispsource}subr.elc \
26729
f5dded41adcc Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents: 26404
diff changeset
463 ${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
464 ${lispsource}font-core.elc \
66679
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
465 ${lispsource}emacs-lisp/syntax.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
466 ${lispsource}font-lock.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
467 ${lispsource}jit-lock.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
468 ${lispsource}textmodes/fill.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
469 ${lispsource}textmodes/page.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
470 ${lispsource}textmodes/paragraphs.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
471 ${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
472 ${lispsource}emacs-lisp/timer.elc \
62110
48e3a972c107 (lisp, shortlisp): Add jka-cmpr-hook.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 61782
diff changeset
473 ${lispsource}jka-cmpr-hook.elc \
108976
abd6714f59e4 * Makefile.in (lisp, shortlisp): Use new location of vc-hooks and ediff-hook.
Romain Francoise <romain@orebokech.com>
parents: 108882
diff changeset
474 ${lispsource}vc/vc-hooks.elc \
abd6714f59e4 * Makefile.in (lisp, shortlisp): Use new location of vc-hooks and ediff-hook.
Romain Francoise <romain@orebokech.com>
parents: 108882
diff changeset
475 ${lispsource}vc/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
476 ${lispsource}epa-hook.elc \
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
477 ${TOOLTIP_SUPPORT} \
108555
c3df6042f1d6 Replace some msdos cpp.
Glenn Morris <rgm@gnu.org>
parents: 108554
diff changeset
478 ${MSDOS_SUPPORT} \
108554
2a91d2a1b873 Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents: 108546
diff changeset
479 ${WINDOW_SUPPORT} \
108147
40b36ac1946f Move NS_OBJ, NS_SUPPORT from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108136
diff changeset
480 ${NS_SUPPORT} \
18563
96aacd871a54 (lisp, shortlisp): Add widget.elc.
Richard M. Stallman <rms@gnu.org>
parents: 18470
diff changeset
481 ${lispsource}widget.elc \
12539
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
482 ${lispsource}window.elc \
7f0e41dec3f0 (lispsource): Renamed from lispdir.
Karl Heuer <kwzh@gnu.org>
parents: 12401
diff changeset
483 ${lispsource}version.el
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
484
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
485 ## List of relative names for those files from $lisp that are loaded
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
486 ## unconditionally (i.e. on all platforms). Files from $lisp that
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
487 ## are only loaded on some platforms should instead be placed in
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
488 ## SOME_MACHINE_LISP. The only reason this variable exists is to prevent
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
489 ## 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
490 shortlisp= \
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
491 ../lisp/loaddefs.el \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
492 ../lisp/abbrev.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
493 ../lisp/buff-menu.elc \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
494 ../lisp/button.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
495 ../lisp/emacs-lisp/byte-run.elc \
89281
c0c4ea6bf780 (lisp, shortlisp): Add composite.elc
Kenichi Handa <handa@m17n.org>
parents: 89165
diff changeset
496 ../lisp/composite.elc \
48872
cbe850fcc07e (lisp, shortlisp): Add cus-face and timer.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 48541
diff changeset
497 ../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
498 ../lisp/cus-start.elc \
17898
d690264cd13a (shortlisp): Add custom.elc and cus-start.elc.
Richard M. Stallman <rms@gnu.org>
parents: 17885
diff changeset
499 ../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
500 ../lisp/emacs-lisp/backquote.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
501 ../lisp/emacs-lisp/lisp-mode.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
502 ../lisp/emacs-lisp/lisp.elc \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
503 ../lisp/facemenu.elc \
18061
fff99dc53d81 (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o.
Richard M. Stallman <rms@gnu.org>
parents: 18048
diff changeset
504 ../lisp/faces.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
505 ../lisp/files.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
506 ../lisp/emacs-lisp/float-sup.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
507 ../lisp/format.elc \
28585
844bad68a120 New variable.
Dave Love <fx@gnu.org>
parents: 28570
diff changeset
508 ../lisp/frame.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
509 ../lisp/help.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
510 ../lisp/indent.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
511 ../lisp/isearch.elc \
66908
3a70e0ff7404 (lisp, shortlisp): Add rfn-eshadow.
Luc Teirlinck <teirllm@auburn.edu>
parents: 66679
diff changeset
512 ../lisp/rfn-eshadow.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
513 ../lisp/loadup.el \
39648
5c997194d7ed (lisp, shortlisp): Add `button.elc'.
Miles Bader <miles@gnu.org>
parents: 39481
diff changeset
514 ../lisp/bindings.elc \
51372
810f6674ff1d (lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington <jpw@pobox.com>
parents: 50917
diff changeset
515 ../lisp/emacs-lisp/map-ynp.elc \
39369
e1efdbb477f7 (shortlisp): Add env. From Markus Rost.
Eli Zaretskii <eliz@gnu.org>
parents: 38253
diff changeset
516 ../lisp/env.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
517 ../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
518 ../lisp/international/mule-conf.elc \
18470
be79ecce0e02 (lisp, shortlisp): Some files are in international/.
Richard M. Stallman <rms@gnu.org>
parents: 18141
diff changeset
519 ../lisp/international/mule-cmds.elc \
18680
370715716969 (shortlisp): Fix typo.
Richard M. Stallman <rms@gnu.org>
parents: 18596
diff changeset
520 ../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
521 ../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
522 ../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
523 ../lisp/language/cyrillic.elc \
106400
18230cebbf17 (lisp, shortlisp): Replace indian.el with indian.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 106293
diff changeset
524 ../lisp/language/indian.elc \
92065
5938b98d39c4 (lisp): Remove devanagari.el, kannada.el,
Kenichi Handa <handa@m17n.org>
parents: 91765
diff changeset
525 ../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
526 ../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
527 ../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
528 ../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
529 ../lisp/language/czech.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
530 ../lisp/language/slovak.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
531 ../lisp/language/romanian.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
532 ../lisp/language/greek.el \
109354
09daf1538316 Improve Hebrew rendering.
Kenichi Handa <handa@etlken>
parents: 109169
diff changeset
533 ../lisp/language/hebrew.elc \
42144
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
534 ../lisp/language/japanese.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
535 ../lisp/language/korean.el \
15ce952e3f47 (lisp, shortlisp): Synchronize with changes to lisp/Makefile.in:DONTCOMPILE.
Eli Zaretskii <eliz@gnu.org>
parents: 42092
diff changeset
536 ../lisp/language/lao.el \
91363
8c86686b6fa4 (lisp): Add cham.el.
Kenichi Handa <handa@m17n.org>
parents: 91327
diff changeset
537 ../lisp/language/cham.el \
90941
e64d2905643a (lisp): Add ${lispsource}language/tai-viet.el.
Kenichi Handa <handa@m17n.org>
parents: 90936
diff changeset
538 ../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
539 ../lisp/language/thai.el \
17329
4d2c79262170 (lisp, shortlisp): Include english.elc and tibetan.elc.
Kenichi Handa <handa@m17n.org>
parents: 17100
diff changeset
540 ../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
541 ../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
542 ../lisp/language/misc-lang.el \
42156
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
543 ../lisp/language/utf-8-lang.el \
c119497cf832 (lisp, shortlisp): Add language/utf-8-lang.el,
Dave Love <fx@gnu.org>
parents: 42144
diff changeset
544 ../lisp/language/georgian.el \
91311
3299d8db5775 (lisp): Add kherm.el and myanmar.el.
Kenichi Handa <handa@m17n.org>
parents: 91204
diff changeset
545 ../lisp/language/khmer.el \
91386
5afe9b1dcd05 (shortlisp): Update for rename of
Andreas Schwab <schwab@suse.de>
parents: 91367
diff changeset
546 ../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
547 ../lisp/menu-bar.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
548 ../lisp/paths.el \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
549 ../lisp/register.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
550 ../lisp/replace.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
551 ../lisp/simple.elc \
93885
6c6216b3b878 * lisp/minibuffer.el: New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 92470
diff changeset
552 ../lisp/minibuffer.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
553 ../lisp/startup.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
554 ../lisp/subr.elc \
26729
f5dded41adcc Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents: 26404
diff changeset
555 ../lisp/term/tty-colors.elc \
45447
1a887b257603 (shortlisp): Add font-core.el.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
556 ../lisp/font-core.elc \
66679
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
557 ../lisp/emacs-lisp/syntax.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
558 ../lisp/font-lock.elc \
d697ddc33195 (lisp, shortlisp): Add emacs-lisp/syntax.elc,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 65578
diff changeset
559 ../lisp/jit-lock.elc \
18596
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
560 ../lisp/textmodes/fill.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
561 ../lisp/textmodes/page.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
562 ../lisp/textmodes/paragraphs.elc \
350a4dffed95 (lisp, shortlisp): Some files moved to subdirs.
Richard M. Stallman <rms@gnu.org>
parents: 18570
diff changeset
563 ../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
564 ../lisp/emacs-lisp/timer.elc \
108976
abd6714f59e4 * Makefile.in (lisp, shortlisp): Use new location of vc-hooks and ediff-hook.
Romain Francoise <romain@orebokech.com>
parents: 108882
diff changeset
565 ../lisp/vc/vc-hooks.elc \
abd6714f59e4 * Makefile.in (lisp, shortlisp): Use new location of vc-hooks and ediff-hook.
Romain Francoise <romain@orebokech.com>
parents: 108882
diff changeset
566 ../lisp/vc/ediff-hook.elc \
62110
48e3a972c107 (lisp, shortlisp): Add jka-cmpr-hook.elc.
Eli Zaretskii <eliz@gnu.org>
parents: 61782
diff changeset
567 ../lisp/jka-cmpr-hook.elc \
94752
73a86a36a458 Renamed lisp/epa-file-hook.el to lisp/epa-hook.el.
Eli Zaretskii <eliz@gnu.org>
parents: 94568
diff changeset
568 ../lisp/epa-hook.elc \
18563
96aacd871a54 (lisp, shortlisp): Add widget.elc.
Richard M. Stallman <rms@gnu.org>
parents: 18470
diff changeset
569 ../lisp/widget.elc \
13761
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
570 ../lisp/window.elc \
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
571 ../lisp/version.el
e4e1091af4d7 (LIBXT): Handle LIBXT_STATIC.
Karl Heuer <kwzh@gnu.org>
parents: 13658
diff changeset
572
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
573 ## Like $shortlisp, but includes only those files from $lisp that are loaded
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
574 ## conditionally (i.e., only on some platforms).
95461
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
575 SOME_MACHINE_LISP = ../lisp/mouse.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
576 ../lisp/select.elc ../lisp/scroll-bar.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
577 ../lisp/ls-lisp.elc ../lisp/dos-fns.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
578 ../lisp/w32-fns.elc ../lisp/dos-w32.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
579 ../lisp/disp-table.elc ../lisp/dos-vars.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
580 ../lisp/tooltip.elc ../lisp/image.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
581 ../lisp/fringe.elc ../lisp/dnd.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
582 ../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
583 ../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
584 ../lisp/international/ccl.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
585 ../lisp/international/fontset.elc \
b4b6d87a7fb5 (dot, dotdot): Remove, update users.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 95130
diff changeset
586 ../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
587 ../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
588 ../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
589 ../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
590 ../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
591 ../lisp/emacs-lisp/easymenu.elc
11776
4327a076f8b3 (VMS_SUPPORT): Add missing `.elc'.
Richard M. Stallman <rms@gnu.org>
parents: 11689
diff changeset
592
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
593 ## Construct full set of libraries to be linked.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
594 ## Note that SunOS needs -lm to come before -lc; otherwise, you get
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
595 ## duplicated symbols. If the standard libraries were compiled
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
596 ## with GCC, we might need LIB_GCC again after them.
108809
ff6d69344057 * src/Makefile.in (LIBES): Remove $LOADLIBES, it is never set.
Glenn Morris <rgm@gnu.org>
parents: 108798
diff changeset
597 LIBES = $(LIBS) $(LIBX_BASE) $(LIBX_OTHER) $(LIBSOUND) \
109859
68616bb3ae25 merged from trunk
Joakim <joakim@localhost.localdomain>
parents: 109853 108976
diff changeset
598 $(RSVG_LIBS) ${IMAGEMAGICK_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
599 $(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
600 $(FREETYPE_LIBS) $(FONTCONFIG_LIBS) $(LIBOTF_LIBS) $(M17N_FLT_LIBS) \
108691
5a44435f0c71 Set linker-related things with configure.
Glenn Morris <rgm@gnu.org>
parents: 108636
diff changeset
601 $(LIB_GCC) $(LIB_MATH) $(LIB_STANDARD) $(LIB_GCC)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
602
105052
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
603 all: emacs${EXEEXT} $(OTHER_FILES)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
604
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
605 ## Does anyone ever pay attention to the load-path-shadows output here?
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
606 ## The dumped Emacs is as functional and more efficient than
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
607 ## bootstrap-emacs, so we replace the latter with the former.
105479
4a9dc19db3b9 (emacs${EXEEXT}): Remove direct dependence on SOME_MACHINE_LISP (this
Glenn Morris <rgm@gnu.org>
parents: 105214
diff changeset
608 emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
108727
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
609 if test "${CANNOT_DUMP}" = "yes"; then \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
610 ln -f temacs${EXEEXT} emacs${EXEEXT}; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
611 EMACSLOADPATH=${lispsource} ./emacs -q -batch \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
612 -f list-load-path-shadows || true; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
613 else \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
614 LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump || exit 1; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
615 ln -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
616 ./emacs -q -batch -f list-load-path-shadows || true; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
617 fi
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
618
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
619 ## We run make-docfile twice because the command line may get too long
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
620 ## on some systems.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
621 ## ${SOME_MACHINE_OBJECTS} comes before ${obj} because some files may
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
622 ## or may not be included in ${obj}, but they are always included in
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
623 ## ${SOME_MACHINE_OBJECTS}. Since a file is processed when it is mentioned
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
624 ## for the first time, this prevents any variation between configurations
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
625 ## in the contents of the DOC file.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
626 ## Likewise for ${SOME_MACHINE_LISP}.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
627 ## Most of this Makefile refers to Lisp files via ${lispsource}, so
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
628 ## we also use ${lisp} rather than ${shortlisp} for the dependency since
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
629 ## the Makefile uses string equality to decide when we talk about identical
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
630 ## files. Apparently we pass ${shortlisp} rather than ${lisp} to make-docfile
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
631 ## only in order to reduce the command line length. --Stef
96505
bbe6c9643969 (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96328
diff changeset
632 ${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
633 -rm -f ${etc}DOC
11689
fa8b13d1a665 (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
Richard M. Stallman <rms@gnu.org>
parents: 11541
diff changeset
634 ${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
635 ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp}
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
636
49652
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
637 ${libsrc}make-docfile${EXEEXT}:
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
638 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT}
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
639
104619
90578b9cc2d2 * Makefile.in (buildobj.h): New target.
Ken Raeburn <raeburn@raeburn.org>
parents: 104558
diff changeset
640 buildobj.h: Makefile
105052
fe2a0bec5d65 * puresize.h (BASE_PURESIZE): Increase to 1290000.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 104619
diff changeset
641 echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h
104619
90578b9cc2d2 * Makefile.in (buildobj.h): New target.
Ken Raeburn <raeburn@raeburn.org>
parents: 104558
diff changeset
642
108691
5a44435f0c71 Set linker-related things with configure.
Glenn Morris <rgm@gnu.org>
parents: 108636
diff changeset
643
109169
5df3f77a9df9 Remove src/prefix-args.c.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 109073
diff changeset
644 temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj}
5df3f77a9df9 Remove src/prefix-args.c.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 109073
diff changeset
645 $(LD) ${TEMACS_LDFLAGS} ${TEMACS_LDFLAGS2} \
108623
6b62ba6da320 Simplify temacs build rule.
Glenn Morris <rgm@gnu.org>
parents: 108622
diff changeset
646 -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES}
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
647
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
648 ## The following oldxmenu-related rules are only (possibly) used if
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
649 ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
650 ## (provided we take a little care that OLDXMENU is never empty).
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
651 really-lwlib:
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
652 cd ${lwlibdir}; ${MAKE} ${MFLAGS} \
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
653 CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}'
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
654 @true # make -t should not create really-lwlib.
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
655 .PHONY: really-lwlib
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
656
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
657 really-oldXMenu:
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
658 cd ${oldXMenudir}; ${MAKE} ${MFLAGS} \
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
659 CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}'
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
660 @true # make -t should not create really-oldXMenu.
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
661 .PHONY: really-oldXMenu
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
662
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
663 ## We do not really need this when OLDXMENU_DEPS is empty, but as
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
664 ## things stand we need something to satisfy the temacs dependency.
108631
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
665 stamp-oldxmenu: ${OLDXMENU_DEPS}
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
666 touch stamp-oldxmenu
a53949523193 Combine the two stamp-oldxmenu cases.
Glenn Morris <rgm@gnu.org>
parents: 108629
diff changeset
667
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
668 ## Supply an ordering for parallel make.
18963
f0f6d5dc8e09 (${lispsource}TAGS): Specify ETAGS var in inner make.
Richard M. Stallman <rms@gnu.org>
parents: 18680
diff changeset
669 ../src/$(OLDXMENU): ${OLDXMENU}
16912
44afc0b3c741 (stamp-oldxmenu): New target.
Richard M. Stallman <rms@gnu.org>
parents: 16797
diff changeset
670
108584
3c49e77f15b7 Choose dependency of oldxmenu using configure.
Glenn Morris <rgm@gnu.org>
parents: 108580
diff changeset
671 $(OLDXMENU): $(OLDXMENU_TARGET)
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
672
24411
ba82dd1081e3 paths.h and paths.in renamed to epaths.h and epaths.in.
Richard M. Stallman <rms@gnu.org>
parents: 24350
diff changeset
673 ../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
674 @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
675 @echo "Please run the `configure' script again."
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
676 exit 1
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
677
15900
ef4bd60e99ce (paths.h, config.h): Targets deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15257
diff changeset
678 ../config.status:: config.in
12576
1f9d9b409ac4 (paths.h): Depend on paths.in.
Richard M. Stallman <rms@gnu.org>
parents: 12539
diff changeset
679 @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
680 @echo "Please run the `configure' script again."
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
681 exit 1
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
682
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
683 ecrt0.o: ecrt0.c $(config_h)
108708
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
684 @$(MKDEPDIR)
107857
d1934720d87a Reduce cpp use in Makefile.in.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107835
diff changeset
685 $(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
686 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
687
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
688
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
689 ## If HAVE_NS, some ns-specific rules (for OTHER_FILES) are inserted here.
108730
c554bb2aba83 Handle some HAVE_NS Makefile conditionals with configure.
Glenn Morris <rgm@gnu.org>
parents: 108729
diff changeset
690 @ns_frag@
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
691
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44347
diff changeset
692
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
693 mostlyclean:
109169
5df3f77a9df9 Remove src/prefix-args.c.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 109073
diff changeset
694 rm -f temacs${EXEEXT} core *.core \#* *.o libXMenu11.a liblw.a
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
695 rm -f ../etc/DOC
74393
cf9019dcbe9b (version): New variable, set by configure.
Glenn Morris <rgm@gnu.org>
parents: 72889
diff changeset
696 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
697 rm -f buildobj.h
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
698 clean: mostlyclean
92470
1d403e495bb9 (clean): Remove emacs-*.*.* instead of emacs-*.
Andreas Schwab <schwab@suse.de>
parents: 92433
diff changeset
699 rm -f emacs-*.*.*${EXEEXT} emacs${EXEEXT}
108708
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
700 -rm -rf ${DEPDIR}
108628
b2427c1dfdcb * src/Makefile.in (clean): Get rid of HAVE_NS conditional.
Glenn Morris <rgm@gnu.org>
parents: 108626
diff changeset
701 test "X${ns_appdir}" = "X" || rm -rf ${ns_appdir}
b2427c1dfdcb * src/Makefile.in (clean): Get rid of HAVE_NS conditional.
Glenn Morris <rgm@gnu.org>
parents: 108626
diff changeset
702
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
703 ## bootstrap-clean is used to clean up just before a bootstrap.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
704 ## It should remove all files generated during a compilation/bootstrap,
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
705 ## 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
706 bootstrap-clean: clean
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
707 rm -f epaths.h config.h config.stamp stamp-oldxmenu ../etc/DOC-*
96244
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
708 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
709 mv ./.gdbinit ./.gdbinit.save; \
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
710 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
711 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
712 fi
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
713 ## This is used in making a distribution.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
714 ## 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
715 distclean: bootstrap-clean
6d4da22a2b95 (bootstrap-clean): Do what distclean does but don't remove
Andreas Schwab <schwab@suse.de>
parents: 96243
diff changeset
716 rm -f Makefile
10684
91798dbdac12 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10585
diff changeset
717 maintainer-clean: distclean
91798dbdac12 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10585
diff changeset
718 @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
719 @echo "it deletes files that may require special tools to rebuild."
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
720 rm -f TAGS
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
721 versionclean:
92470
1d403e495bb9 (clean): Remove emacs-*.*.* instead of emacs-*.
Andreas Schwab <schwab@suse.de>
parents: 92433
diff changeset
722 -rm -f emacs${EXEEXT} emacs-*.*.*${EXEEXT} ../etc/DOC*
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
723 extraclean: distclean
5035
2906af83fe85 (extraclean): Prevent wildcard from starting comment.
Richard M. Stallman <rms@gnu.org>
parents: 5030
diff changeset
724 -rm -f *~ \#* m/?*~ s/?*~
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
725
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
726 ## Arrange to make a tags table TAGS-LISP for ../lisp,
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
727 ## 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
728
103146
e09d4e825e2f (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 101773
diff changeset
729 ctagsfiles1 = [xyzXYZ]*.[hcm]
e09d4e825e2f (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 101773
diff changeset
730 ctagsfiles2 = [a-wA-W]*.[hcm]
38253
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
731
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
732 TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
28000
0521dc31dac0 (tags): Include ../lwlib/TAGS in TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 27727
diff changeset
733 ../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
734 --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
25027
f36ec150350e (ctagsfiles): Split so that files starting
Gerd Moellmann <gerd@gnu.org>
parents: 24630
diff changeset
735 $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
21923
58f3869d37d5 (TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents: 21802
diff changeset
736 frc:
58f3869d37d5 (TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents: 21802
diff changeset
737 TAGS-LISP: frc
41654
bcda42f1f3db (lispdir): New variable, referring to build dir.
Richard M. Stallman <rms@gnu.org>
parents: 41544
diff changeset
738 $(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
739
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
740 $(lwlibdir)TAGS:
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
741 (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
742
f88331f76b3e (tags): Depend on $(lwlibdir)/TAGS.
Gerd Moellmann <gerd@gnu.org>
parents: 37965
diff changeset
743 tags: TAGS TAGS-LISP $(lwlibdir)TAGS
4796
75ca3ef23e37 Initial revision
Brian Fox <bfox@gnu.org>
parents:
diff changeset
744 .PHONY: tags
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
745
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
746
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
747 ### Bootstrapping.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
748
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
749 ## Bootstrapping right is difficult because of the circular dependencies.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
750 ## Furthermore, we have to deal with the fact that many compilation targets
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
751 ## such as loaddefs.el or *.elc can typically be produced by any old
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
752 ## Emacs executable, so we would like to avoid rebuilding them whenever
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
753 ## we build a new Emacs executable.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
754 ## To solve the circularity, we use 2 different Emacs executables,
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
755 ## "emacs" is the main target and "bootstrap-emacs" is the one used
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
756 ## to build the *.elc and loaddefs.el files.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
757 ## To solve the freshness issue, we used to use a third file "witness-emacs"
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
758 ## which was used to witness the fact that there is a bootstrap-emacs
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
759 ## executable, and then have dependencies on witness-emacs rather than
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
760 ## bootstrap-emacs, but that lead to problems in parallel builds (because
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
761 ## witness-emacs needed to be free from dependencies (to avoid rebuilding
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
762 ## it), so it was compiled in parallel, leading typically to having 2
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
763 ## processes dumping bootstrap-emacs at the same time).
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
764 ## So instead, we replace the witness-emacs dependencies by conditional
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
765 ## bootstrap-dependencies (via ${BOOTSTRAPEMACS}). Of course, since we do
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
766 ## not want to rely on GNU Make features, we have to rely on an external
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
767 ## script to do the conditional part of the dependency
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
768 ## (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
769
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
770 .SUFFIXES: .elc .el
26147
733f9b6c7af2 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Gerd Moellmann <gerd@gnu.org>
parents: 26088
diff changeset
771
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
772 ## These suffix rules do not allow additional dependencies, sadly, so
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
773 ## instead of adding a $(BOOTSTRAPEMACS) dependency here, we add it
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
774 ## separately below.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
775 ## 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
776 .el.elc:
96154
0bca382a18f3 * src/Makefile.in (PRECOMP): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96142
diff changeset
777 @cd ../lisp; $(MAKE) $(MFLAGS) compile-onefile \
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
778 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
779
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
780 ## Since the .el.elc rule cannot specify an extra dependency, we do it here.
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
781 ${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS)
96137
eae2eee28ad3 Make "make" do a bootstrap if needed.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96134
diff changeset
782
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
783 ## VCSWITNESS points to the file that holds info about the current checkout.
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
784 ## We use it as a heuristic to decide when to rebuild loaddefs.el.
108633
745476df64ef * Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 108631
diff changeset
785 ${lispsource}loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS)
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
786 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
787
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
788 ## Dump an Emacs executable named bootstrap-emacs containing the
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
789 ## files from loadup.el in source form.
49652
5127a1bf36db (EXEEXT): Define to @EXEEXT@ and use this variable
Andreas Schwab <schwab@suse.de>
parents: 49549
diff changeset
790 bootstrap-emacs${EXEEXT}: temacs${EXEEXT}
96196
568f14ebb684 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96194
diff changeset
791 cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs
108727
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
792 if test "${CANNOT_DUMP}" = "yes"; then \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
793 ln -f temacs${EXEEXT} bootstrap-emacs${EXEEXT}; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
794 else \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
795 $(RUN_TEMACS) --batch --load loadup bootstrap || exit 1; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
796 mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}; \
d8f404311eaf Handle CANNOT_DUMP (partially) with configure.
Glenn Morris <rgm@gnu.org>
parents: 108708
diff changeset
797 fi
96154
0bca382a18f3 * src/Makefile.in (PRECOMP): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 96142
diff changeset
798 @: Compile some files earlier to speed up further compilation.
104553
86a609c04ee2 (bootstrap_exe): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103653
diff changeset
799 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
800
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
801 ## Insert either autodeps.mk (if AUTO_DEPEND), else deps.mk.
108708
12c5e713faa1 Handle auto-depend with configure.
Glenn Morris <rgm@gnu.org>
parents: 108691
diff changeset
802 @deps_frag@
108798
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
803
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
804
dedcf813aa69 Do not preprocess src/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents: 108792
diff changeset
805 ### Makefile.in ends here