# $OpenBSD: Makefile,v 1.5 2002/02/07 23:13:53 art Exp $ # $NetBSD: Makefile,v 1.3 2001/01/11 13:15:06 enami Exp $ SUBDIR=altq.conf.samples .include .include PROG= altqd MAN= altqd.8 altq.conf.5 SRCS= altqd.c libaltq2.c CPPFLAGS+= -DALTQ -I${.CURDIR}/../libaltq .if exists(${.CURDIR}/../libaltq/${__objdir}) LDADD+= -L${.CURDIR}/../libaltq/${__objdir} -laltq DPADD+= ${.CURDIR}/../libaltq/${__objdir}/libaltq.a .else LDADD+= -L${.CURDIR}/../libaltq -laltq DPADD+= ${.CURDIR}/../libaltq/libaltq.a .endif LDADD+= -lm -lutil DPADD+= ${LIBM} ${LIBUTIL} .include