1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.4 1996-02-20 12:52:09 quinn Exp $
9 #LIBOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
13 INCLUDE=-I../include -I. -I../../xtimosi/src
14 LIBINCLUDE=-L$(LIBDIR) -L../../xtimosi/src
15 #CFLAGS=-Wall -pedantic -g
17 DEFS=$(INCLUDE) # -DTRACE_TCPIP
18 LIB= $(LIBDIR)/libcomstack.a
19 LIBS=$(LIBDIR)/libasn.a $(LIBDIR)/libodr.a $(LIBDIR)/libcomstack.a \
20 ../lib/ccl.a $(LIBDIR)/libutil.a $(LIBMOSI)
21 PO = comstack.o tcpip.o waislen.o $(XMOSI)
29 $(CC) $(CFLAGS) $(LIBINCLUDE) -o cli tst.o $(LIBINCLUDE) $(LIBS)
41 $(CC) -c $(DEFS) $(CFLAGS) $<
44 rm -f *.[oa] test core mon.out gmon.out errlist tst cli
49 sed '/^#Depend/q' <Makefile >Makefile.tmp
50 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
51 mv -f Makefile.tmp Makefile
54 $(CPP) $(INCLUDE) -M *.c >.depend
56 ifeq (.depend,$(wildcard .depend))
60 #Depend --- DOT NOT DELETE THIS LINE