summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: cc0a85b66e7c73cf6edccb98c45e60b63171b145 (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
28
29
30
31
32
33
34
INCLUDES = -I$(srcdir)/tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \
                                                -D_GNU_SOURCE -Wall -pipe
if DEBUG
INCLUDES +=	-DRPCBIND_DEBUG -DSVC_RUN_DEBUG -DDEBUG_RMTCALL
INCLUDES +=	-DND_DEBUG -DBIND_DEBUG
endif

if WARMSTART
INCLUDES +=	-DWARMSTART
endif

if LIBWRAP
INCLUDES +=	-DLIBWRAP
endif


bin_PROGRAMS = rpcbind rpcinfo

rpcbind_SOURCES =       check_bound.c rpcbind.c \
                        rpcb_svc_4.c rpcb_svc_com.c \
                        util.c pmap_svc.c rpcb_stat.c \
                        rpcb_svc.c security.c warmstart.c \
                        rpcbind.h

rpcinfo_SOURCES =       rpcinfo.c
rpcinfo_LDFLAGS =       -lpthread -ltirpc
rpcinfo_LDADD   =       $(LIB_TIRPC)


rpcbind_LDFLAGS = -lpthread -ltirpc
rpcbind_LDADD = $(LIB_TIRPC)
AM_CPPFLAGS = -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
                       -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO