Added GNU Configure script to build Makefiles.
[yaz-moved-to-github.git] / odr / Makefile
diff --git a/odr/Makefile b/odr/Makefile
deleted file mode 100644 (file)
index f1a697f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright (C) 1995-1998, Index Data I/S 
-# All rights reserved.
-# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.28 1998-03-20 14:45:01 adam Exp $
-
-SHELL=/bin/sh
-INCLUDE=-I../include -I.
-LIBDIR=../lib
-LIBINCLUDE=-L$(LIBDIR)
-DEFS=$(INCLUDE) $(CDEFS) # -DODR_DEBUG
-LIB=$(LIBDIR)/libodr.a
-LIBS=-lodr
-PO = odr_bool.o ber_bool.o ber_len.o ber_tag.o odr_util.o odr_null.o \
-       ber_null.o odr_int.o ber_int.o odr_tag.o odr_cons.o odr_seq.o\
-       odr_oct.o ber_oct.o odr_bit.o ber_bit.o odr_oid.o ber_oid.o odr_use.o \
-       odr_choice.o odr_any.o ber_any.o odr.o odr_mem.o dumpber.o odr_enum.o
-CPP=$(CC) -E
-RANLIB=ranlib
-
-all: $(LIBDIR) $(INCDIR) $(LIB)
-
-test: test.o $(LIB)
-       $(CC) $(CFLAGS) $(LIBINCLUDE) -o test test.o $(LIBS)
-
-alll:
-
-$(LIB): $(PO)
-       rm -f $(LIB)
-       ar qc $(LIB) $(PO)
-       $(RANLIB) $(LIB)
-
-$(LIBDIR):
-       mkdir $(LIBDIR)
-
-.c.o:
-       $(CC) -c $(DEFS) $(CFLAGS) $<
-
-clean:
-       rm -f *.[oa] test core mon.out gmon.out errlist
-
-depend: depend2
-
-depend1:
-       sed '/^#Depend/q' <Makefile >Makefile.tmp
-       $(CPP) $(DEFS) -M *.c >>Makefile.tmp
-       mv -f Makefile.tmp Makefile
-
-depend2:
-       $(CPP) $(DEFS) -M *.c >.depend  
-
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
-
-#Depend --- DOT NOT DELETE THIS LINE