comparison src/Makefile.in.in @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents 38db05db9cb5
children 4bc4fecf15da
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
1 ## Makefile for src subdirectory in XEmacs. 1 ## Makefile for src subdirectory in XEmacs.
2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. 2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
3 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois 3 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
4 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. 4 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
5 ## Copyright (C) 1998, 1999 J. Kean Johnston. 5 ## Copyright (C) 1998, 1999 J. Kean Johnston.
6 ## Copyright (C) 2001, 2002 Ben Wing.
6 7
7 ## This file is part of XEmacs. 8 ## This file is part of XEmacs.
8 9
9 ## XEmacs is free software; you can redistribute it and/or modify it 10 ## XEmacs is free software; you can redistribute it and/or modify it
10 ## under the terms of the GNU General Public License as published by the 11 ## under the terms of the GNU General Public License as published by the
121 lwlib_libs = ../lwlib/liblw.a 122 lwlib_libs = ../lwlib/liblw.a
122 lwlib_deps = $(lwlib_libs) 123 lwlib_deps = $(lwlib_libs)
123 $(lwlib_libs) : 124 $(lwlib_libs) :
124 cd ../lwlib && $(RECURSIVE_MAKE) 125 cd ../lwlib && $(RECURSIVE_MAKE)
125 126
126 x_objs=console-x.o device-x.o event-Xt.o frame-x.o\ 127 # ifdef AIX4
127 glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o
128
129 #ifdef AIX4
130 LIBI18N = -li18n 128 LIBI18N = -li18n
131 #endif /* AIX4 */ 129 # endif
132 130
133 X11_libs = $(LIBI18N) 131 X11_libs = $(LIBI18N)
134 #endif /* HAVE_X_WINDOWS */ 132 #endif /* HAVE_X_WINDOWS */
135 133
134 #########################################################################
135
136 # Object files needed for compilation.
137
138 # NOTE: Some of the object files are specified in this file, and
139 # others in configure.in. The general rule is that they be specified
140 # here whenever they have clear dependencies on configure defines.
141 # They should be in configure.in when there is no configure define or
142 # when there is extremely hairy code to determine which files are
143 # needed (e.g. native sound support) and it would be pointless to
144 # duplicate that code.
145
146 gui_objs=
147 #ifdef HAVE_MENUBARS
148 gui_objs += menubar.o
149 #endif
150 #ifdef HAVE_SCROLLBARS
151 gui_objs += scrollbar.o
152 #endif
153 #ifdef HAVE_DIALOGS
154 gui_objs += dialog.o
155 #endif
156 #ifdef HAVE_TOOLBARS
157 gui_objs += toolbar.o
158 #endif
159 #ifdef HAVE_GUI_OBJECTS
160 gui_objs += gui.o
161 #endif
162
163 #ifdef HAVE_X_WINDOWS
164 x_objs=console-x.o device-x.o event-Xt.o frame-x.o \
165 glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o intl-x.o
166 x_gui_objs=$(gui_objs:.o=-x.o)
167 #ifdef HAVE_TOOLBARS
168 x_gui_objs += toolbar-common.o
169 #endif
170 #endif
171
172 #ifdef HAVE_MS_WINDOWS
173 mswindows_objs=console-msw.o device-msw.o event-msw.o frame-msw.o \
174 objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o
175 mswindows_gui_objs=$(gui_objs:.o=-msw.o)
176 #endif
177
178 #ifdef HAVE_TTY
179 tty_objs=console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o \
180 redisplay-tty.o cm.o
181 #endif
182
183 #ifdef HAVE_GTK
184 gtk_objs=console-gtk.o device-gtk.o event-gtk.o frame-gtk.o \
185 objects-gtk.o redisplay-gtk.o glyphs-gtk.o select-gtk.o gccache-gtk.o \
186 gtk-xemacs.o ui-gtk.o
187 gtk_gui_objs=$(gui_objs:.o=-gtk.o)
188 #ifdef HAVE_TOOLBARS
189 gtk_gui_objs += toolbar-common.o
190 #endif
191 #endif
192
193 #ifdef HAVE_BALLOON_HELP
194 balloon_help_objs=balloon_help.o balloon-x.o
195 #endif
196
197 #ifdef CLASH_DETECTION
198 clash_detection_objs=filelock.o
199 #endif
200
201 #ifdef HAVE_DATABASE
202 database_objs=database.o
203 #endif
204
205 #ifdef DEBUG_XEMACS
206 debug_objs=debug.o tests.o
207 #endif
208
209 #ifdef HAVE_UNIXOID_EVENT_LOOP
210 event_unixoid_objs=event-unixoid.o
211 #endif
212
213 #ifdef HAVE_GIF
214 gif_objs=dgif_lib.o gif_io.o
215 #endif
216
217 #ifdef HAVE_GPM
218 gpm_objs=gpmevent.o
219 #endif
220
221 #ifdef HAVE_LDAP
222 ldap_objs=eldap.o
223 #endif
224
225 #ifdef MULE
226 mule_objs=mule-ccl.o mule-charset.o mule-coding.o
227 #endif
228
229 #ifdef HAVE_CANNA
230 mule_canna_objs=mule-canna.o
231 #endif
232
233 #ifdef HAVE_WNN
234 mule_wnn_objs=mule-wnnfns.o
235 #endif
236
237 #ifdef HAVE_POSTGRESQL
238 postgresql_objs=postgresql.o
239 #endif
240
241 #ifdef HAVE_WIN32_PROCESSES
242 process_objs=process-nt.o
243 #elif defined (HAVE_UNIX_PROCESSES)
244 process_objs=process-unix.o
245 #endif
246
247 #ifdef HAVE_SETITIMER
248 profile_objs=profile.o
249 #endif
250
136 #if defined (HEAP_IN_DATA) && !defined (PDUMP) 251 #if defined (HEAP_IN_DATA) && !defined (PDUMP)
137 sheap_objs=sheap.o 252 sheap_objs=sheap.o
138 #endif 253 #endif
139 254
255 #ifdef HAVE_SHLIB
256 shlib_objs=sysdll.o emodules.o
257 #endif
258
259 #ifdef SUNPRO
260 sunpro_objs=sunpro.o
261 #endif
262
263 #ifdef TOOLTALK
264 tooltalk_objs=tooltalk.o
265 #endif
266
140 #if defined (WIN32_NATIVE) || defined (CYGWIN) 267 #if defined (WIN32_NATIVE) || defined (CYGWIN)
141 win32_objs=win32.o xemacs_res.o 268 win32_objs=win32.o intl-win32.o intl-auto-encap-win32.o intl-encap-win32.o \
142 #endif 269 xemacs_res.o
143
144 #ifdef HAVE_SETITIMER
145 profile_objs=profile.o
146 #endif 270 #endif
147 271
148 ## -Demacs is needed to make some files produce the correct version 272 ## -Demacs is needed to make some files produce the correct version
149 ## for use in Emacs. 273 ## for use in Emacs.
150 274
184 308
185 ## NOTE: The last line cannot be all macros, because make will barf 309 ## NOTE: The last line cannot be all macros, because make will barf
186 ## if they all come out null. 310 ## if they all come out null.
187 311
188 objs=\ 312 objs=\
189 abbrev.o alloc.o blocktype.o buffer.o bytecode.o\ 313 abbrev.o alloc.o $(balloon_help_objs) blocktype.o buffer.o bytecode.o\
190 callint.o callproc.o casefiddle.o casetab.o chartab.o\ 314 callint.o callproc.o casefiddle.o casetab.o chartab.o $(clash_detection_objs)\
191 cmdloop.o cmds.o console.o console-stream.o\ 315 cmdloop.o cmds.o $(coding_system_objs) console.o console-stream.o\
192 data.o device.o dired.o doc.o doprnt.o dynarr.o\ 316 data.o $(database_objs) $(debug_objs) device.o dired.o doc.o doprnt.o\
193 editfns.o elhash.o emacs.o\ 317 dynarr.o\
194 eval.o events.o $(extra_objs)\ 318 editfns.o elhash.o emacs.o eval.o events.o\
195 event-stream.o extents.o faces.o\ 319 event-stream.o $(event_unixoid_objs) $(extra_objs) extents.o\
196 fileio.o $(LOCK_OBJ) filemode.o floatfns.o fns.o font-lock.o\ 320 faces.o file-coding.o fileio.o $(LOCK_OBJ) filemode.o floatfns.o fns.o \
197 frame.o general.o glyphs.o glyphs-eimage.o glyphs-shared.o glyphs-widget.o\ 321 font-lock.o frame.o\
198 gui.o gutter.o $(gui_objs) hash.o imgproc.o indent.o insdel.o intl.o\ 322 general.o $(gif_objs) glyphs.o glyphs-eimage.o glyphs-shared.o\
199 keymap.o $(RTC_patch_objs) line-number.o lread.o lstream.o\ 323 glyphs-widget.o $(gpm_objs) $(gtk_objs) $(gtk_gui_objs) $(gui_objs) gutter.o\
200 macros.o marker.o md5.o minibuf.o objects.o opaque.o\ 324 hash.o imgproc.o indent.o insdel.o intl.o\
201 print.o process.o $(profile_objs)\ 325 keymap.o $(RTC_patch_objs) line-number.o $(ldap_objs) lread.o lstream.o\
202 rangetab.o redisplay.o redisplay-output.o regex.o\ 326 macros.o marker.o md5.o minibuf.o $(mswindows_objs) $(mswindows_gui_objs)\
203 search.o select.o $(sheap_objs) signal.o sound.o\ 327 $(mule_objs) $(mule_canna_objs) $(mule_wnn_objs) objects.o opaque.o\
204 specifier.o strftime.o symbols.o syntax.o sysdep.o\ 328 $(postgresql_objs) print.o process.o $(process_objs) $(profile_objs)\
205 undo.o $(x_objs) widget.o window.o $(win32_objs) 329 rangetab.o realpath.o redisplay.o redisplay-output.o regex.o\
330 search.o select.o $(sheap_objs) $(shlib_objs) signal.o sound.o\
331 specifier.o strftime.o $(sunpro_objs) symbols.o syntax.o sysdep.o\
332 text.o $(tooltalk_objs) $(tty_objs) undo.o unicode.o $(x_objs) $(x_gui_objs)\
333 widget.o window.o $(win32_objs)
206 334
207 obj_rtl = $(objs:.o=.c.rtl) 335 obj_rtl = $(objs:.o=.c.rtl)
208 336
209 #ifdef REL_ALLOC 337 #ifdef REL_ALLOC
210 rallocdocsrc = ralloc.c 338 rallocdocsrc = ralloc.c