aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-01-21 05:26:30 +0000
committerRichard M. Stallman <[email protected]>1997-01-21 05:26:30 +0000
commit084f76ff7ff28d6a111740a7c5ad197a91f15b52 (patch)
tree51301775d2643fb8f6692c427ac119d2994eb3cb
parente7017ef969390a58ba1ae53894804ed6755eced1 (diff)
(stamp-oldxmenu): New target.
(temacs): Depend on stamp-oldxmenu, not on ${OLDXMENU}.
-rw-r--r--src/Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 15f87f643b..cb13ecfc7f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -760,7 +760,7 @@ ${libsrc}make-docfile:
#define MAKE_PARALLEL
#endif
-temacs: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) $(OLDXMENU) ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args
+temacs: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args
$(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \
-o temacs ${STARTFILES} ${obj} ${otherobj} \
OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
@@ -807,6 +807,13 @@ shortnames:
#if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS)
+/* We use stamp-xmenu with these two deps
+ to both ensure that lwlib gets remade based on its dependencies
+ in its own makefile,
+ and remake temacs if lwlib gets changed by this. */
+stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU)
+ touch stamp-oldxmenu
+
#ifdef USE_X_TOOLKIT
$(OLDXMENU): really-lwlib