~ubuntu-branches/ubuntu/vivid/rpcbind/vivid

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
36
37
38
39
40
41
42
43
44
AM_CPPFLAGS = \
	-DCHECK_LOCAL \
	-DPORTMAP \
	-DFACILITY=LOG_MAIL \
	-DSEVERITY=LOG_INFO \
	-DINET6 \
	-DRPCBIND_STATEDIR="\"$(statedir)\"" \
	-DRPCBIND_USER="\"$(rpcuser)\"" \
	-D_GNU_SOURCE \
	$(TIRPC_CFLAGS)

if DEBUG
AM_CPPFLAGS +=	-DRPCBIND_DEBUG -DSVC_RUN_DEBUG -DDEBUG_RMTCALL
AM_CPPFLAGS +=	-DND_DEBUG -DBIND_DEBUG
endif

if WARMSTART
AM_CPPFLAGS +=	-DWARMSTART
endif

if LIBWRAP
AM_CPPFLAGS +=	-DLIBWRAP
endif

bin_PROGRAMS = rpcbind rpcinfo

rpcbind_SOURCES = \
	src/check_bound.c \
	src/pmap_svc.c \
	src/rpcb_stat.c \
	src/rpcb_svc.c \
	src/rpcb_svc_4.c \
	src/rpcb_svc_com.c \
	src/rpcbind.c \
	src/rpcbind.h \
	src/security.c \
	src/util.c \
	src/warmstart.c
rpcbind_LDADD = $(TIRPC_LIBS)

rpcinfo_SOURCES =       src/rpcinfo.c
rpcinfo_LDADD   =       $(TIRPC_LIBS)

dist_man8_MANS = man/rpcbind.8 man/rpcinfo.8