1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.25 1995-05-30 10:25:46 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
18 PO = eventl.o seshigh.o statserv.o requestq.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 sed '/^#Depend/q' <Makefile >Makefile.tmp
48 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
49 mv -f Makefile.tmp Makefile
52 $(CPP) $(INCLUDE) -M *.c >.depend
54 ifeq (.depend,$(wildcard .depend))
58 #Depend --- DOT NOT DELETE THIS LINE