libf2c rearrangement

Richard Henderson rth@cygnus.com
Thu Jan 29 13:44:00 GMT 1998


On Wed, Jan 28, 1998 at 10:51:16PM -0700, Jeffrey A Law wrote:
> Very cool.  Builds great.  No install targets though :(   If we
> can get the install target stuff hammered out, then this should
> go in.

Oops.  Blush.  How about this.


r~


--- Makefile.in.i	Thu Jan 29 00:52:59 1998
+++ Makefile.in	Thu Jan 29 00:57:10 1998
@@ -192,6 +192,12 @@
 
 f2c.h: $(srcdir)/f2c.h.in
 
+install:
+	$(INSTALL_DATA) $(lib) $(libdir)/$(lib).n
+	( cd $(libdir) ; $(RANLIB) $(lib).n )
+	mv -f $(libdir)/$(lib).n $(libdir)/$(lib)
+	$(INSTALL_DATA) f2c.h $(includedir)/f2c.h
+
 mostlyclean:
 	-rm -f stamp-*
 	for i in libI77 libF77 libU77; do \



More information about the Gcc mailing list