Home | History | Annotate | Line # | Download | only in rpcbind
Makefile revision 1.14.4.2
      1  1.14.4.2    martin #	$NetBSD: Makefile,v 1.14.4.2 2020/04/13 08:05:58 martin Exp $
      2       1.4     lukem 
      3       1.4     lukem .include <bsd.own.mk>
      4       1.1      fvdl 
      5      1.10       tls USE_FORT?= yes	# network client
      6       1.8       tls 
      7       1.1      fvdl PROG=	rpcbind
      8       1.1      fvdl MAN=	rpcbind.8
      9       1.1      fvdl SRCS=	check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
     10       1.9  christos 	rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c 
     11       1.1      fvdl 
     12       1.4     lukem LIBCDIR=        ${NETBSDSRCDIR}/lib/libc
     13       1.1      fvdl LIBCRPCDIR=     ${LIBCDIR}/rpc
     14       1.1      fvdl 
     15       1.9  christos CPPFLAGS+=	-I${LIBCRPCDIR} -DPORTMAP -DLIBWRAP
     16       1.6     lukem 
     17       1.6     lukem .if (${USE_INET6} != "no")
     18       1.5      matt CPPFLAGS+=	-DINET6
     19       1.5      matt .endif
     20       1.1      fvdl 
     21  1.14.4.1  christos .if (${USE_YP} != "no")
     22  1.14.4.1  christos CPPFLAGS+=	-DYP
     23  1.14.4.1  christos .endif
     24  1.14.4.1  christos 
     25      1.11       dsl # Uncomment these to get any useful output from 'rpcbind -d'
     26      1.11       dsl # CPPFLAGS+=	-DRPCBIND_DEBUG
     27      1.11       dsl # CPPFLAGS+=	-DSVC_RUN_DEBUG
     28      1.11       dsl 
     29       1.1      fvdl LDADD+= -lwrap -lutil
     30       1.1      fvdl DPADD+= ${LIBWRAP} ${LIBUTIL}
     31       1.1      fvdl 
     32  1.14.4.2    martin COPTS.rpcb_svc_4.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     33  1.14.4.2    martin COPTS.pmap_svc.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     34  1.14.4.2    martin COPTS.rpcb_svc.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     35  1.14.4.2    martin COPTS.rpcb_svc_com.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     36  1.14.4.2    martin 
     37       1.1      fvdl .PATH:  ${LIBCRPCDIR}
     38       1.1      fvdl 
     39       1.1      fvdl .include <bsd.prog.mk>
     40