Annotation of embedaddon/freevrrpd/Makefile, revision 1.1.1.1
1.1 misho 1: # $Id: Makefile,v 1.14 2004/04/02 13:12:52 spe Exp $
2:
3: PROG= freevrrpd
4: SRCS= vrrp_misc.c vrrp_multicast.c vrrp_main.c vrrp_thread.c vrrp_state.c vrrp_network.c vrrp_interface.c vrrp_conf.c vrrp_signal.c vrrp_list.c vrrp_vlanlist.c vrrp_moncircuit.c md5.c vrrp_ah.c vrrp_netgraph.c
5: # Add -DENABLE_VRRP_AH to enable simple implementation of Authentication Header
6: CFLAGS= -O3 -Wall -ansi -pedantic -fomit-frame-pointer -D_REENTRANT -Wall -ggdb
7: # use for AH only - currently in progress
8: #CFLAGS+= -D_REENTRANT -Wall -ggdb -DENABLE_VRRP_AH -DKAME_BASED
9: #CFLAGS+= -D_REENTRANT -Wall -ggdb -DENABLE_VRRP_AH
10: #LDADD= -fomit-frame-pointer -ansi -lm -pthread -lipsec
11: # end of AH
12: LDADD= -static -lm -pthread -lutil -lnetgraph
13: WARNS= 0
14: BINDIR= /usr/local/sbin
15: MANDIR= /usr/local/man/man
16:
17: # Must write a man page
18: MAN= freevrrpd.8
19: MAN8= freevrrpd.8
20:
21: beforeinstall:
22: @echo "Installing files..."
23: install -c -o root -g wheel -m 644 freevrrpd.conf.sample /usr/local/etc
24: install -c -o root -g wheel -m 755 freevrrpd.sh.sample /usr/local/etc/rc.d
25: @echo "#####################################################################"
26: @echo "# !! WARNING !! You must copy /usr/local/etc/vrrpd.conf.sample to #"
27: @echo "# /usr/local/etc/vrrpd.conf and configure /usr/local/etc/vrrpd.conf #"
28: @echo "# before running vrrpd. to run vrrpd type /usr/local/sbin/vrrpd #"
29: @echo "#####################################################################"
30:
31: .include <bsd.prog.mk>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>