freebsd-nq/usr.sbin/authpf/Makefile
Max Laier 278445ba35 Add skeleton build dirs for pf userland:
libexec/ftp-proxy	- ftp proxy for pf
 sbin/pfctl		- equivalent to sbin/ipf
 sbin/pflogd		- deamon logging packets via if_pflog in pcap format
 usr.sbin/authpf	- authentification shell to modify pf rulesets

Bring along some altq headers used to satisfy pfctl/authpf compile. This
helps to keep the diff down and will make it easy to have a altq-patchset
use the full powers of pf.

Also make sure that the pf headers are installed.

This does not link anything to the build. There will be a NO_PF switch for
make.conf once pf userland is linked.

Approved by:	bms(mentor)
2004-02-28 21:50:50 +00:00

27 lines
504 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/pf/authpf
.PATH: ${.CURDIR}/../../contrib/pf/pfctl
PROG= authpf
MAN= authpf.8
BINOWN= root
BINGRP= authpf
BINMODE= 6555
SRCS= authpf.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
SRCS+= pfctl_radix.c pfctl_osfp.c
CFLAGS+= -I${.CURDIR}/../../contrib/pf/pfctl -Wall -Werror
# XXX ALTQ:
#CFLAGS+= -DENABLE_ALTQ
CFLAGS+= -I${.CURDIR}/../../sbin/pfctl/missing
LDADD+= -lm -lmd
DPADD+= ${LIBM} ${LIBMD}
CLEANFILES+=y.tab.h
.include <bsd.prog.mk>