Added GNU Configure script to build Makefiles.
[yaz-moved-to-github.git] / asn / Makefile.in
diff --git a/asn/Makefile.in b/asn/Makefile.in
new file mode 100644 (file)
index 0000000..1deefa4
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright (C) 1995-1998, Index Data I/S 
+# All rights reserved.
+# Sebastian Hammer, Adam Dickmeiss
+# $Id: Makefile.in,v 1.1 1998-08-21 14:13:25 adam Exp $
+
+SHELL=/bin/sh
+
+CC=@CC@
+CPP=@CPP@
+RANLIB=@RANLIB@
+CDEFS=@DEFS@ @ODEFS@
+ELIBS=@LIBS@
+
+INCLUDE=-I../include -I.
+LIBDIR=../lib
+LIBINCLUDE=-L$(LIBDIR)
+
+DEFS=$(INCLUDE) $(CDEFS)
+LIB=$(LIBDIR)/libasn.a
+PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o prt-exp.o prt-ext.o \
+       prt-grs.o prt-exd.o prt-dia.o prt-esp.o prt-arc.o prt-add.o \
+       prt-dat.o prt-univ.o
+all: $(LIB)
+
+test: test.o $(LIB) ../odr/odr.a
+       $(CC) $(CFLAGS) $(INCLUDE) -o test test.o $(LIB) ../odr/odr.a $(ELIBS)
+
+alll:
+
+$(LIB): $(PO)
+       rm -f $(LIB)
+       ar qc $(LIB) $(PO)
+       $(RANLIB) $(LIB)
+
+.c.o:
+       $(CC) -c $(DEFS) $(CFLAGS) $<
+
+clean:
+       rm -f *.[oa] test core mon.out gmon.out errlist
+
+depend:
+       sed '/^#Depend/q' <Makefile >Makefile.tmp
+       $(CPP) $(DEFS) -M *.c >>Makefile.tmp
+       mv -f Makefile.tmp Makefile
+
+#Depend --- DOT NOT DELETE THIS LINE