]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in (fini.o): Don't define USE_HCONFIG here.
authorCraig Burley <burley@gnu.org>
Sat, 5 Sep 1998 10:26:44 +0000 (06:26 -0400)
committerDave Love <fx@gcc.gnu.org>
Sat, 5 Sep 1998 10:26:44 +0000 (10:26 +0000)
Fri Sep  4 18:35:52 1998  Craig Burley  <burley@gnu.org>
* Makefile.in (fini.o): Don't define USE_HCONFIG here.
* fini.c: Define USE_HCONFIG here instead, so deps-kinda
picks up correct dependency.
* Makefile.in (proj-h.o): Fix dependencies list.

From-SVN: r22246

gcc/f/ChangeLog
gcc/f/Makefile.in
gcc/f/fini.c

index 3b9b7aa542faa0ed2d0c0ed8ff04b02a06198497..c2da7a02c65a90045d6aa787f7367eb14b9bdc5a 100644 (file)
@@ -3,6 +3,14 @@
        * Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.
        (F771_LDFLAGS): Variable dispensed with.
 
+Fri Sep  4 18:35:52 1998  Craig Burley  <burley@gnu.org>
+
+       * Makefile.in (fini.o): Don't define USE_HCONFIG here.
+       * fini.c: Define USE_HCONFIG here instead, so deps-kinda
+       picks up correct dependency.
+
+       * Makefile.in (proj-h.o): Fix dependencies list.
+
 Wed Sep 02 09:25:29 1998  Nick Clifton  <nickc@cygnus.com>
 
        * lex.c (ffe_lex_hash):  Change how HANDLE_PRAGMA and
index f81c355c206b836b0650698de5596276746fcd78..639d633b5e56b5c68b6be09b88fb38c3d84e6a37 100644 (file)
@@ -459,10 +459,11 @@ fini: fini.o proj-h.o
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o fini fini.o proj-h.o
 
 fini.o:
-       $(HOST_CC) -c -DUSE_HCONFIG $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
+       $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
              `echo $(srcdir)/fini.c | sed 's,^\./,,'` -o $@
 
-proj-h.o: proj.o
+# Like proj.o, but depends on hconfig.h instead of config.h.
+proj-h.o: proj.c proj.h $(HCONFIG_H) $(SYSTEM_H) $(ASSERT_H) $(GLIMITS_H)
        $(HOST_CC) -c -DUSE_HCONFIG $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
              `echo $(srcdir)/proj.c | sed 's,^\./,,'` -o $@
 
index 439eccad90b80db0a03bea55a00492f5178efd1b..3b98949524b8a1070a0318e6040ae7dddfce1cd6 100644 (file)
@@ -19,6 +19,8 @@ along with GNU Fortran; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.  */
 
+#define USE_HCONFIG
+
 #include "proj.h"
 #include "malloc.h"