1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.9 1995-03-15 15:18:51 quinn Exp $
7 INCLUDE=-I../include -I. -I../asn -I../odr -I../yazlib -I../../egate/include\
8 -I../../xtimosi/src -I../../alex/include
10 LIBINCLUDE=-L$(LIBDIR)
11 #CFLAGS=-Wall -pedantic -g
13 LIB=$(LIBDIR)/libserver.a
14 LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a $(LIBDIR)/libcomstack.a ../../alex/lib/util.a ../../egate/lib/util.a
18 PROGO=statserv.o session.o
20 all: $(LIBDIR) $(LIB) $(PROG)
22 $(PROG): $(LIB) $(PROGO)
23 $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) pwrite.o
36 $(CC) -c $(DEFS) $(CFLAGS) $<
39 rm -f *.[oa] test core mon.out gmon.out errlist tst cli
44 mv Makefile Makefile.tmp
45 sed '/^#Depend/q' <Makefile.tmp >Makefile
46 $(CPP) $(INCLUDE) -M *.c >>Makefile
50 $(CPP) $(INCLUDE) -M *.c >.depend
52 ifeq (.depend,$(wildcard .depend))
56 #Depend --- DOT NOT DELETE THIS LINE