# HG changeset patch # User Richard M. Stallman # Date 853824390 0 # Node ID 44afc0b3c7416d21f4b5e1af966a6c5311a25158 # Parent 123d19079d9f65806834100be7b4fc9d697d7a3f (stamp-oldxmenu): New target. (temacs): Depend on stamp-oldxmenu, not on ${OLDXMENU}. diff -r 123d19079d9f -r 44afc0b3c741 src/Makefile.in --- a/src/Makefile.in Tue Jan 21 04:43:45 1997 +0000 +++ b/src/Makefile.in Tue Jan 21 05:26:30 1997 +0000 @@ -760,7 +760,7 @@ #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 @@ #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