mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
38 lines
1.3 KiB
Text
38 lines
1.3 KiB
Text
Index: bgpd/Makefile
|
|
===================================================================
|
|
RCS file: /home/cvs/private/hrs/openbgpd/bgpd/Makefile,v
|
|
retrieving revision 1.1.1.2
|
|
retrieving revision 1.8
|
|
diff -u -p -r1.1.1.2 -r1.8
|
|
--- bgpd/Makefile 9 Jul 2009 16:49:54 -0000 1.1.1.2
|
|
+++ bgpd/Makefile 3 Jul 2011 04:46:36 -0000 1.8
|
|
@@ -1,15 +1,25 @@
|
|
-# $OpenBSD: Makefile,v 1.28 2009/06/25 14:14:54 deraadt Exp $
|
|
+# $OpenBSD: Makefile,v 1.29 2010/05/26 16:44:32 nicm Exp $
|
|
+
|
|
+.PATH: ${.CURDIR}/.. ${.CURDIR}/../openbsd-compat
|
|
+
|
|
+CONFFILE?= ${PREFIX}/etc/bgpd.conf
|
|
|
|
PROG= bgpd
|
|
-SRCS= bgpd.c buffer.c session.c log.c parse.y config.c imsg.c \
|
|
+SRCS= bgpd.c session.c log.c parse.y config.c \
|
|
rde.c rde_rib.c rde_decide.c rde_prefix.c mrt.c kroute.c \
|
|
- control.c pfkey.c rde_update.c rde_attr.c printconf.c \
|
|
- rde_filter.c pftable.c name2id.c util.c carp.c timer.c
|
|
+ control.c pfkey_compat.c rde_update.c rde_attr.c printconf.c \
|
|
+ rde_filter.c pftable.c name2id.c util.c carp.c timer.c \
|
|
+ imsg.c imsg-buffer.c
|
|
CFLAGS+= -Wall -I${.CURDIR}
|
|
+CFLAGS+= -I${.CURDIR}/../openbsd-compat
|
|
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
|
|
CFLAGS+= -Wmissing-declarations
|
|
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
|
|
CFLAGS+= -Wsign-compare
|
|
+CFLAGS+= -DCONFFILE=\"${CONFFILE}\"
|
|
+.if defined(IPV6_LINKLOCAL_PEER)
|
|
+CFLAGS+= -DIPV6_LINKLOCAL_PEER
|
|
+.endif
|
|
YFLAGS=
|
|
MAN= bgpd.8 bgpd.conf.5
|
|
|