head     1.1;
branch   1.1.1;
access   ;
symbols  init:1.1.1.1 vendor:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2006.01.16.11.22.34;  author sctp;  state Exp;
branches 1.1.1.1;
next     ;

1.1.1.1
date     2006.01.16.11.22.34;  author sctp;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@include ../Make.defines

OBJS = main.o cleanup.o pcap.o udpcksum.o senddnsquery-raw.o udpread.o udpwrite.o
OBJSNET = main.o cleanup.o pcap.o udpcksum.o senddnsquery-libnet.o udpread.o
PROGS =	udpcksum udpcksum-libnet

all:	${PROGS}

udpcksum:	${OBJS}
		${CC} ${CFLAGS} -o $@@ ${OBJS} -L/usr/local/lib -lpcap ${LIBS}

# Include special linking flags from libnet-config program
udpcksum-libnet:	${OBJSNET}
		${CC} ${CFLAGS} -o $@@ ${OBJSNET} -L/usr/local/lib -lpcap ${LIBS} `libnet-config --libs`

# Include special compilation flags from libnet-config program
senddnsquery-libnet.o:	senddnsquery-libnet.c
		${CC} ${CFLAGS} `libnet-config --defines --cflags` -c -o $@@ $<

clean:
		rm -f ${PROGS} ${CLEANFILES}
@


1.1.1.1
log
@sctp test cvs
@
text
@@
