1 # Copyright (C) 1995-1998, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.14 1998-01-07 12:59:27 adam Exp $
8 #LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
11 INCLUDE=-I../include -I. -I../../xtimosi/src
12 LIBINCLUDE=-L$(LIBDIR)
13 DEFS=$(INCLUDE) $(CDEFS) -DCCL2RPN=1
14 LIBS=$(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \
15 $(LIBDIR)/libcomstack.a ../lib/ccl.a $(LIBMOSI) $(LIBDIR)/libutil.a
22 $(PROG): $(LIB) $(PROGO) $(LIBS)
23 $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) $(ELIBS)
31 $(CC) -c $(DEFS) $(CFLAGS) $<
34 rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
39 sed '/^#Depend/q' <Makefile >Makefile.tmp
40 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
41 mv -f Makefile.tmp Makefile
44 $(CPP) $(DEFS) -M *.c >.depend
46 ifeq (.depend,$(wildcard .depend))
50 #Depend --- DOT NOT DELETE THIS LINE