1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.28 1995-08-17 12:45:22 quinn Exp $
8 #LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
11 INCLUDE=-I../include -I. -I../../xtimosi/src
12 LIBINCLUDE=-L$(LIBDIR)
13 #CFLAGS=-Wall -pedantic -g
15 LIB=$(LIBDIR)/libserver.a
16 LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \
17 $(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a $(ELIBS)
18 PO = eventl.o seshigh.o statserv.o requestq.o
21 PROGO=ztest.o read-grs.o
24 all: $(LIBDIR) $(LIB) $(PROG)
26 $(PROG): $(LIB) $(PROGO)
27 $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
40 $(CC) -c $(DEFS) $(CFLAGS) $<
43 rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
48 sed '/^#Depend/q' <Makefile >Makefile.tmp
49 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
50 mv -f Makefile.tmp Makefile
53 $(CPP) $(INCLUDE) -M *.c >.depend
55 ifeq (.depend,$(wildcard .depend))
59 #Depend --- DOT NOT DELETE THIS LINE