From 084f76ff7ff28d6a111740a7c5ad197a91f15b52 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 21 Jan 1997 05:26:30 +0000 Subject: [PATCH] (stamp-oldxmenu): New target. (temacs): Depend on stamp-oldxmenu, not on ${OLDXMENU}. --- src/Makefile.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Makefile.in b/src/Makefile.in index 15f87f643bc..cb13ecfc7fa 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 -- 2.39.5