blob: 6fb4cb9da4a7ab956a4c14153daa2308ee775de4 (
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
25
26
27
|
# $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 <bsd.own.mk>
.include <bsd.obj.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 -lutil
DPADD+= ${LIBM} ${LIBUTIL}
.include <bsd.prog.mk>
|