changeset 2545:8ddee13d19f9

[project @ 1996-11-20 05:12:55 by jwe]
author jwe
date Wed, 20 Nov 1996 05:12:55 +0000
parents a33bbd3fadd7
children 9b7cd3ff8891
files libcruft/ChangeLog libcruft/Makerules.in libcruft/misc/Makefile.in
diffstat 3 files changed, 28 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libcruft/ChangeLog
+++ b/libcruft/ChangeLog
@@ -1,3 +1,17 @@
+Tue Nov 19 23:04:24 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* Makerules.in (install, uninstall): Make these double colon rules.
+
+	* f77-fcn.c, f77-fcn.h: New files, from liboctave.
+
+	* misc/Makefile.in (SPECIAL_DEPEND): Add f77-fcn.o.
+	(SPECIAL): Add f77-fcn.c and f77-fcn.h.
+	(CPICDEP): Add pic/f77-fcn.o.
+	(install): Install f77-fcn.h in $(octincludedir).
+	(uninstall): Delete f77-fcn.h from $(octincludedir).
+
+	* Makerules.in (CRUFT_CSRC): Delete unsed variable.
+
 Thu Nov 14 00:07:00 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* Version 1.92.
--- a/libcruft/Makerules.in
+++ b/libcruft/Makerules.in
@@ -16,7 +16,6 @@
 
 CRUFT_FSRC = $(wildcard $(srcdir)/*.f)
 CRUFT_BASE = $(notdir $(CRUFT_FSRC))
-CRUFT_CSRC = $(patsubst %.f, %.c, $(CRUFT_BASE))
 CRUFT_OBJ = $(patsubst %.f, %.o, $(CRUFT_BASE))
 
 ifeq ($(SHARED_LIBS), true)
@@ -68,10 +67,10 @@
 	fi
 	touch stamp-picdir
 
-install: all
+install:: all
 .PHONY: install
 
-uninstall:
+uninstall::
 .PHONY: uninstall
 
 tags: $(SOURCES)
--- a/libcruft/misc/Makefile.in
+++ b/libcruft/misc/Makefile.in
@@ -12,9 +12,11 @@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
 
-SPECIAL := machar.c d1mach-tst.for dostop.c f77-extern.cc lo-error.cc
+SPECIAL := machar.c d1mach-tst.for dostop.c f77-extern.cc \
+	f77-fcn.c f77-fcn.h lo-error.cc
 
-SPECIAL_DEPEND := d1mach.o machar.o dostop.o f77-extern.o lo-error.o
+SPECIAL_DEPEND := d1mach.o machar.o dostop.o f77-extern.o \
+	f77-fcn.o lo-error.o
 
 EXTERNAL_DISTFILES = $(DISTFILES)
 
@@ -22,7 +24,7 @@
 
 ifeq ($(SHARED_LIBS), true)
   ifdef CPICFLAG
-    CPICDEP := pic/machar.o pic/dostop.o
+    CPICDEP := pic/machar.o pic/dostop.o pic/f77-fcn.o
   endif
   ifdef CXXPICFLAG
     CXXPICDEP := pic/f77-extern.o pic/lo-error.o
@@ -32,6 +34,13 @@
 
 include ../Makerules
 
+install::
+	$(top_srcdir)/mkinstalldirs $(octincludedir)
+	$(INSTALL_DATA) $(srcdir)/f77-fcn.h $(octincludedir)/f77-fcn.h
+
+uninstall::
+	rm -f $(octincludedir)/f77-fcn.h
+
 # Don't optimize.
 
 XCC = $(patsubst -O%, , $(CC))