]> granicus.if.org Git - graphviz/commitdiff
Add old makefile for rbtree
authorerg <devnull@localhost>
Thu, 30 Oct 2008 22:14:14 +0000 (22:14 +0000)
committererg <devnull@localhost>
Thu, 30 Oct 2008 22:14:14 +0000 (22:14 +0000)
lib/rbtree/Makefile.old [new file with mode: 0644]

diff --git a/lib/rbtree/Makefile.old b/lib/rbtree/Makefile.old
new file mode 100644 (file)
index 0000000..4a403d7
--- /dev/null
@@ -0,0 +1,30 @@
+all:    librbtree.a
+ROOT=../..
+include $(ROOT)/Config.mk
+include $(ROOT)/makearch/$(ARCH)
+
+INCS =  -I. -I$(ROOT) 
+
+DEFINES = -DHAVE_CONFIG_H
+
+HDRS = misc.h red_black_tree.h stack.h
+
+OBJS = misc.o red_black_tree.o stack.o
+
+librbtree.a : $(OBJS)
+       $(RM) librbtree.a
+       $(AR) cr librbtree.a $(OBJS)
+       $(RANLIB) librbtree.a
+
+install: librbtree.a 
+#      $(MKPATH) $(INCDIR)
+#      $(INSTALL) $(INST_HDRS) $(INCDIR)
+       $(MKPATH) $(LIBDIR)
+       $(INSTALL) librbtree.a $(LIBDIR)
+
+clean:
+       $(RM) core *.o
+
+distclean: clean
+       $(RM) *.a
+