* Makefile.in (gl-stamp): Don't scan $(SOME_MACHINE_OBJECTS)
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Sep 2012 14:26:47 +0000 (07:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Sep 2012 14:26:47 +0000 (07:26 -0700)
when building globals.h, as the objects that are not built on
this host are not needed to compile C files on this host.

src/ChangeLog
src/Makefile.in

index 2ea13df..4986726 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * Makefile.in (gl-stamp): Don't scan $(SOME_MACHINE_OBJECTS)
+       when building globals.h, as the objects that are not built on
+       this host are not needed to compile C files on this host.
+
 2012-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.h: Remove prototype for x_wm_set_size_hint.
index a809216..fe4cff5 100644 (file)
@@ -448,7 +448,7 @@ GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m)
 
 gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES)
        @rm -f gl-tmp
-       $(libsrc)/make-docfile -d $(srcdir) -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
+       $(libsrc)/make-docfile -d $(srcdir) -g $(obj) > gl-tmp
        $(srcdir)/../build-aux/move-if-change gl-tmp globals.h
        echo timestamp > $@