aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-05-16 22:15:03 -0700
committerGlenn Morris2010-05-16 22:15:03 -0700
commit16455a8509026404dcba9a1adfe389883b3ef990 (patch)
treec29427ab4994ddc976477d27919d63934b5912ac /src
parent00681a3c86cde16a08be8ec7358942437cd857b3 (diff)
downloademacs-16455a8509026404dcba9a1adfe389883b3ef990.tar.gz
emacs-16455a8509026404dcba9a1adfe389883b3ef990.zip
Combine the two stamp-oldxmenu cases.
* configure.in (OLDXMENU_DEPS): New output variable. * configure: Regenerate. * src/Makefile.in (OLDXMENU_DEPS): New, set by configure. (stamp-oldxmenu): Use $OLDXMENU_DEPS. * msdos/sed1v2.inp (OLDXMENU_DEPS): Edit to empty. * msdos/sed1x.inp (OLDXMENU_DEPS): Edit to ${OLDXMENU} ../src/${OLDXMENU}.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/Makefile.in23
2 files changed, 17 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8c7bcad885b..eedd0474dc2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-05-17 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (OLDXMENU_DEPS): New, set by configure.
4 (stamp-oldxmenu): Use $OLDXMENU_DEPS.
5
12010-05-16 Glenn Morris <rgm@gnu.org> 62010-05-16 Glenn Morris <rgm@gnu.org>
2 7
3 * Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules. 8 * Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules.
diff --git a/src/Makefile.in b/src/Makefile.in
index 5136ca4ca57..c99c7ae65d2 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -180,6 +180,12 @@ OLDXMENU_TARGET=@OLDXMENU_TARGET@
180## Else ${oldXMenudir}libXMenu11.a. 180## Else ${oldXMenudir}libXMenu11.a.
181OLDXMENU=@OLDXMENU@ 181OLDXMENU=@OLDXMENU@
182 182
183## If HAVE_X11 && !USE_GTK, ${OLDXMENU} ../src/${OLDXMENU}; else empty.
184## We use stamp-xmenu with these two deps to both ensure that lwlib
185## gets remade based on its dependencies in its own makefile,
186## and remake temacs if lwlib gets changed by this.
187OLDXMENU_DEPS=@OLDXMENU_DEPS@
188
183## If !HAVE_X11 && HAVE_X_WINDOWS, -lXMenu (this case no longer possible). 189## If !HAVE_X11 && HAVE_X_WINDOWS, -lXMenu (this case no longer possible).
184## Else if !HAVE_X11 || USE_GTK, empty. 190## Else if !HAVE_X11 || USE_GTK, empty.
185## Else $(OLDXMENU). 191## Else $(OLDXMENU).
@@ -706,23 +712,18 @@ really-oldXMenu:
706 @true /* make -t should not create really-oldXMenu. */ 712 @true /* make -t should not create really-oldXMenu. */
707.PHONY: really-oldXMenu 713.PHONY: really-oldXMenu
708 714
715/* We don''t really need this when OLDXMENU_DEPS is empty, but as
716 things stand we need something to satisfy the temacs dependency. */
717stamp-oldxmenu: ${OLDXMENU_DEPS}
718 touch stamp-oldxmenu
719
709/* HAVE_X11 implies HAVE_X_WINDOWS and HAVE_MENUS. */ 720/* HAVE_X11 implies HAVE_X_WINDOWS and HAVE_MENUS. */
710#if defined (HAVE_X11) && ! defined (USE_GTK) 721#if defined (HAVE_X11) && ! defined (USE_GTK)
711/* We use stamp-xmenu with these two deps to both ensure that lwlib
712 gets remade based on its dependencies in its own makefile,
713 and remake temacs if lwlib gets changed by this. */
714stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU)
715 touch stamp-oldxmenu
716/* Supply an ordering for parallel make. */ 722/* Supply an ordering for parallel make. */
717../src/$(OLDXMENU): ${OLDXMENU} 723../src/$(OLDXMENU): ${OLDXMENU}
718 724
719$(OLDXMENU): $(OLDXMENU_TARGET) 725$(OLDXMENU): $(OLDXMENU_TARGET)
720 726#endif /* HAVE_X11 && !USE_GTK */
721#else /* !HAVE_X11 || USE_GTK */
722/* We don''t really need this, but satisfy the dependency. */
723stamp-oldxmenu:
724 touch stamp-oldxmenu
725#endif /* HAVE_X11 && !USE_GTK */
726 727
727../config.status:: epaths.in 728../config.status:: epaths.in
728 @echo "The file epaths.h needs to be set up from epaths.in." 729 @echo "The file epaths.h needs to be set up from epaths.in."