NetBSD/usr.sbin/amd/amq/Makefile

23 lines
557 B
Makefile
Raw Normal View History

# %W% (Berkeley) %G%
PROG = amq
SRCS = amq.c amq_clnt.c misc_rpc.c
MAN8 = amq.0
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-DARCH_REP=\"${MACHINE}\"
CFLAGS+=-DOS_REP=\"${OS}\"
CFLAGS+=-DOS_HDR=\"os-${OS}.h\"
# arguably XXX -- for broken (?) rpcgen #include lines
1994-05-20 11:25:36 +04:00
CFLAGS+=-I${DESTDIR}/usr/include/rpcsvc
DPADD+= ${LIBRPCSVC}
LDADD+= -lrpcsvc
.PATH: ${.CURDIR}/../amd
1994-05-20 11:25:36 +04:00
amq_clnt.c: ${DESTDIR}/usr/include/rpcsvc/amq.x
rpcgen -l -o ${.TARGET} ${.ALLSRC}
CLEANFILES+=amq_clnt.c
.include "../../Makefile.inc"
.include <bsd.prog.mk>