summaryrefslogtreecommitdiff
path: root/libdyn/Makefile.old
diff options
context:
space:
mode:
Diffstat (limited to 'libdyn/Makefile.old')
-rw-r--r--libdyn/Makefile.old42
1 files changed, 42 insertions, 0 deletions
diff --git a/libdyn/Makefile.old b/libdyn/Makefile.old
new file mode 100644
index 0000000..3d98582
--- /dev/null
+++ b/libdyn/Makefile.old
@@ -0,0 +1,42 @@
+# This file is part of libdyn.a, the C Dynamic Object library. It
+# contains the Makefile.
+#
+# There are no restrictions on this code; however, if you make any
+# changes, I request that you document them so that I do not get
+# credit or blame for your modifications.
+#
+# Written by Barr3y Jaspan, Student Information Processing Board (SIPB)
+# and MIT-Project Athena, 1989.
+
+DESTDIR = /afs/.athena.mit.edu/contrib/sipb/$(MACHINE)lib
+CC = hc2 -H+w
+CFLAGS = -O
+DEST = libdyn.a
+
+SRCS = dyn_create.c dyn_put.c dyn_debug.c dyn_delete.c dyn_size.c \
+ dyn_append.c dyn_realloc.c dyn_paranoid.c dyn_insert.c
+OBJS = dyn_create.o dyn_put.o dyn_debug.o dyn_delete.o dyn_size.o \
+ dyn_append.o dyn_realloc.o dyn_paranoid.o dyn_insert.o
+HDRS = dyn.h dynP.h
+
+$(DEST): $(OBJS)
+ rm -f $(DEST)
+ ar rc $(DEST) $(OBJS)
+ ranlib $(DEST)
+
+all: $(DEST) test
+
+test: $(DEST) test.o
+ $(CC) -o test test.o $(DEST)
+
+depend:
+ makedepend -- $(CLFAGS) -- $(HDRS) $(SRCS)
+
+bin_install: $(DEST)
+ install -c $(DEST) $(DESTDIR)
+ ranlib $(DESTDIR)/$(DEST)
+
+clean:
+ -rm -f $(OBJS) $(DEST) test *~
+
+# DO NOT DELETE THIS LINE -- make depend depends on it.