OSDN Git Service

Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org>
authorfx <fx@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Sep 1998 10:26:44 +0000 (10:26 +0000)
committerfx <fx@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Sep 1998 10:26:44 +0000 (10:26 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22246 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 3b9b7aa..c2da7a0 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 f81c355..639d633 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 439ecca..3b98949 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"