1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.15 1995-03-30 09:39:44 quinn Exp $
7 INCLUDE=-I../include -I. -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 \
15 $(LIBDIR)/libcomstack.a ../../egate/lib/util.a\
16 ../../xtimosi/src/libmosi.a ../yazlib/rfct.o ../yazlib/makensap.o \
18 PO = eventl.o seshigh.o statserv.o
23 all: $(LIBDIR) $(LIB) $(PROG)
25 $(PROG): $(LIB) $(PROGO)
26 $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
39 $(CC) -c $(DEFS) $(CFLAGS) $<
42 rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
47 mv Makefile Makefile.tmp
48 sed '/^#Depend/q' <Makefile.tmp >Makefile
49 $(CPP) $(INCLUDE) -M *.c >>Makefile
53 $(CPP) $(INCLUDE) -M *.c >.depend
55 ifeq (.depend,$(wildcard .depend))
59 #Depend --- DOT NOT DELETE THIS LINE