aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-04-29 18:36:42 -0700
committerGlenn Morris2010-04-29 18:36:42 -0700
commit7eb1ac33ed4ecb150dd0755292c2d74fb36400e3 (patch)
tree0c368ed07d2a9b4c73f2b458986f7c8528a4df64 /src
parent517d086b62543b90b17ceb3ae26c2ca273f7ac94 (diff)
downloademacs-7eb1ac33ed4ecb150dd0755292c2d74fb36400e3.tar.gz
emacs-7eb1ac33ed4ecb150dd0755292c2d74fb36400e3.zip
Replace some cpp with autoconf.
* configure.in (OTHER_OBJ): New output variable. * src/Makefile.in (mallocobj): Remove. (otherobj): Simplify using @OTHER_OBJ@.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/Makefile.in19
2 files changed, 8 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e758fdb55f8..8fe14886af9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-04-30 Glenn Morris <rgm@gnu.org> 12010-04-30 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (mallocobj): Remove.
4 (otherobj): Simplify using @OTHER_OBJ@.
5
3 * Makefile.in (dispnew.o, frame.o, fringe.o, font.o, fontset.o) 6 * Makefile.in (dispnew.o, frame.o, fringe.o, font.o, fontset.o)
4 (keyboard.o, window.o, xdisp.o, xfaces.o, menu.o): 7 (keyboard.o, window.o, xdisp.o, xfaces.o, menu.o):
5 Don't bother making nsgui.h dependency platform-specific. 8 Don't bother making nsgui.h dependency platform-specific.
diff --git a/src/Makefile.in b/src/Makefile.in
index 8c7c7a4e29e..c49543b181c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -435,7 +435,6 @@ termcapobj = tparam.o
435 435
436 436
437#ifndef SYSTEM_MALLOC 437#ifndef SYSTEM_MALLOC
438
439#ifndef DOUG_LEA_MALLOC 438#ifndef DOUG_LEA_MALLOC
440gmallocobj = gmalloc.o 439gmallocobj = gmalloc.o
441#endif 440#endif
@@ -443,20 +442,12 @@ gmallocobj = gmalloc.o
443#ifdef REL_ALLOC 442#ifdef REL_ALLOC
444rallocobj = ralloc.o 443rallocobj = ralloc.o
445#endif 444#endif
445#endif /* !SYSTEM_MALLOC */
446 446
447mallocobj = $(gmallocobj) $(rallocobj) vm-limit.o 447/* List of object files that make-docfile should not be told about. */
448 448/* OTHER_OBJ = $(gmallocobj) $(rallocobj), with trailing/leading
449#endif /* SYSTEM_MALLOC */ 449 lastfile.o on Cygwin/other. */
450 450otherobj= $(termcapobj) @OTHER_OBJ@ vm-limit.o $(WIDGET_OBJ) $(LIBOBJS)
451
452/* define otherobj as list of object files that make-docfile
453 should not be told about. */
454#ifdef CYGWIN
455/* Cygwin differs because of its unexec(). */
456otherobj= $(termcapobj) $(gmallocobj) $(rallocobj) lastfile.o vm-limit.o $(WIDGET_OBJ) $(LIBOBJS)
457#else
458otherobj= $(termcapobj) lastfile.o $(mallocobj) $(WIDGET_OBJ) $(LIBOBJS)
459#endif
460 451
461#ifdef HAVE_MOUSE 452#ifdef HAVE_MOUSE
462#define MOUSE_SUPPORT ${lispsource}mouse.elc \ 453#define MOUSE_SUPPORT ${lispsource}mouse.elc \