#
# Makefile for mtrace, the multicast traceroute program.
#
# Makefile,v 5.2 1998/12/04 04:48:14 fenner Exp
#
# If the multicast header files are not in the standard place on your system,
# define MCAST_INCLUDE to be an appropriate `-I' options for the C compiler.
#
#MCAST_INCLUDE=	-I/sys
#
CFLAGS=		-O ${MCAST_INCLUDE} 	## SunOS, OSF1, FreeBSD, IRIX
#CFLAGS=		-O ${MCAST_INCLUDE} -DRAW_OUTPUT_IS_RAW ## OpenBSD
#CFLAGS=		-O ${MCAST_INCLUDE} -D__BSD_SOURCE -DRAW_OUTPUT_IS_RAW -DRAW_INPUT_IS_RAW	## Linux
#CFLAGS=		-O ${MCAST_INCLUDE} -DSYSV -DSUNOS5	## Solaris 2.x
#LIBS=-lsocket -lnsl	## Solaris 2.x
MTRACE_SRCS=	mtrace.c
MTRACE_OBJS=	mtrace.o

mtrace: ${MTRACE_OBJS}
	rm -f $@
	${CC} ${LDFLAGS} -o $@ ${CFLAGS} ${IGMP_OBJS} ${MTRACE_OBJS} ${LIBS}

clean:
	rm -f ${MTRACE_OBJS} core mtrace
