blob: 035248474712bed23110a137a7697d610c56c9f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $OpenBSD: Makefile,v 1.1 2001/06/27 18:23:16 kjc Exp $
# $NetBSD: Makefile,v 1.3 2001/01/11 13:15:06 enami Exp $
.include <bsd.own.mk>
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
DPADD+= ${LIBM}
.include <bsd.prog.mk>
|