Sync mly(4) with FreeBSD.
[dragonfly.git] / sbin / dhclient / Makefile.inc
blob7c2883a422b8bbc13c0f8e13d982a1a0afc09a83
1 # $FreeBSD: src/sbin/dhclient/Makefile.inc,v 1.2.2.1 2002/04/11 10:21:20 murray Exp $
2 # $DragonFly: src/sbin/dhclient/Attic/Makefile.inc,v 1.6 2005/01/04 19:58:54 joerg Exp $
4 WARNS=          0
5 CFLAGS+=        -I.. -I../includes -I${DIST_DIR} -I${DIST_DIR}/includes
7 CLIENTBINDIR=   /sbin
8 RUNDIR=         /var/run
9 ETCDIR=         /etc
10 DBDIR=          /var/db
12 MANFILTER= sed -e 's\#DBDIR\#${DBDIR}\#g;s\#ETCDIR\#${ETCDIR}\#g;s\#CLIENTBINDIR\#${CLIENTBINDIR}\#g;s\#RUNDIR\#${RUNDIR}\#g;'
14 .if exists(${.OBJDIR}/../common)
15 LIBDHCP=        ${.OBJDIR}/../common/libdhcp.a
16 .else
17 LIBDHCP=        ${.CURDIR}/../common/libdhcp.a
18 .endif
20 .if exists(${.OBJDIR}/../minires)
21 LIBRES=         ${.OBJDIR}/../minires/libres.a
22 .else
23 LIBRES=         ${.CURDIR}/../minires/libres.a
24 .endif
26 .if exists(${.OBJDIR}/../omapip)
27 LIBOMAPI=       ${.OBJDIR}/../omapip/libomapi.a
28 .else
29 LIBOMAPI=       ${.CURDIR}/../omapip/libomapi.a
30 .endif
32 .if exists(${.OBJDIR}/../dst)
33 LIBDST=         ${.OBJDIR}/../dst/libdst.a
34 .else
35 LIBDST=         ${.CURDIR}/../dst/libdst.a
36 .endif
38 .include "../Makefile.inc"