]> granicus.if.org Git - graphviz/commitdiff
missing Makefile.old
authorellson <devnull@localhost>
Thu, 31 Jul 2008 10:33:47 +0000 (10:33 +0000)
committerellson <devnull@localhost>
Thu, 31 Jul 2008 10:33:47 +0000 (10:33 +0000)
lib/sparse/Makefile.old [new file with mode: 0644]

diff --git a/lib/sparse/Makefile.old b/lib/sparse/Makefile.old
new file mode 100644 (file)
index 0000000..77964e5
--- /dev/null
@@ -0,0 +1,37 @@
+all:   libcommon.a
+ROOT=../..
+include $(ROOT)/Config.mk
+include $(ROOT)/makearch/$(ARCH)
+
+INCS =  -I. \
+        -I$(ROOT) \
+        -I../cdt \
+       -I../gvc 
+
+DEFINES = -DHAVE_CONFIG_H
+
+AWKDIR = $(ROOT)/awk
+
+NOINST_HDRS = SparseMatrix.h
+
+OBJS = SparseMatrix.o
+
+libsparse.a : $(OBJS)
+       $(RM) libsparse.a
+       $(AR) cr libsparse.a $(OBJS)
+       $(RANLIB) libsparse.a
+
+install: libsparse.a 
+       $(MKPATH) $(INCDIR)
+       $(INSTALL) $(INST_HDRS) $(INCDIR)
+       $(MKPATH) $(LIBDIR)
+       $(INSTALL) libsparse.a $(LIBDIR)
+
+$(OBJS) : $(INST_HDRS) $(NOINST_HDRS)
+SparseMatrix.o : SparseMatrix.h
+
+clean:
+       $(RM) core *.o 
+
+distclean: clean
+       $(RM) *.a