summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: a2f3e34c762f0cdd3e205fe86ac833957f9c7bbb (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
35
INCLUDES = $(TIRPC_CFLAGS) -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
rpcinfo_LDADD   =       $(TIRPC_LIBS)


rpcbind_LDFLAGS = -lpthread
rpcbind_CFLAGS = $(TIRPC_CFLAGS)
rpcbind_LDADD = $(TIRPC_LIBS)
AM_CPPFLAGS = -DCHECK_LOCAL -DPORTMAP \
                       -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO