X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=rfc1006%2FMakefile;fp=rfc1006%2FMakefile;h=a71aa0defd83fae55d8ecdb819a63548980157ce;hp=0000000000000000000000000000000000000000;hb=031f86a3dea0a26278eb9efcce46c1b4d3835a79;hpb=e5e0b0c0af410a18ee3f57bdcfdc5e68265f0343 diff --git a/rfc1006/Makefile b/rfc1006/Makefile new file mode 100644 index 0000000..a71aa0d --- /dev/null +++ b/rfc1006/Makefile @@ -0,0 +1,53 @@ +# Copyright (C) 1994, Index Data I/S +# All rights reserved. +# Sebastian Hammer, Adam Dickmeiss +# $Id: Makefile,v 1.1 1995-03-30 14:03:17 quinn Exp $ + +SHELL=/bin/sh +INCLUDE=-I../include -I. -I../../xtimosi/src +LIBDIR=../../lib +LIBINCLUDE=-L$(LIBDIR) +CFLAGS= -g -Wall -pedantic -ansi +DEFS=$(INCLUDE) +LIB=$(LIBDIR)/librfc.a +LIBS=-lodr +PO = rfct.o makensap.o +CPP=$(CC) -E + +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: + mv Makefile Makefile.tmp + sed '/^#Depend/q' Makefile + $(CPP) $(INCLUDE) -M *.c >>Makefile + -rm Makefile.tmp + +depend2: + $(CPP) $(INCLUDE) -M *.c >.depend + +ifeq (.depend,$(wildcard .depend)) +include .depend +endif + +#Depend --- DOT NOT DELETE THIS LINE