1993-11-28 00:16:51 +03:00
|
|
|
# %W% (Berkeley) %G%
|
|
|
|
|
|
|
|
PROG = amq
|
|
|
|
SRCS = amq.c amq_clnt.c misc_rpc.c
|
1994-03-19 10:59:01 +03:00
|
|
|
MAN8 = amq.0
|
1993-11-28 00:16:51 +03:00
|
|
|
CFLAGS+=-I${.CURDIR}/../config
|
|
|
|
CFLAGS+=-I${.CURDIR}/../include
|
|
|
|
CFLAGS+=-DARCH_REP=\"${MACHINE}\"
|
1993-11-28 00:38:26 +03:00
|
|
|
CFLAGS+=-DOS_REP=\"${OS}\"
|
|
|
|
CFLAGS+=-DOS_HDR=\"os-${OS}.h\"
|
1994-01-22 05:55:43 +03:00
|
|
|
# arguably XXX -- for broken (?) rpcgen #include lines
|
|
|
|
CFLAGS+=-I/usr/include/rpcsvc
|
1993-11-28 00:16:51 +03:00
|
|
|
DPADD+= ${LIBRPCSVC}
|
|
|
|
LDADD+= -lrpcsvc
|
|
|
|
.PATH: ${.CURDIR}/../amd
|
|
|
|
|
|
|
|
amq_clnt.c: /usr/include/rpcsvc/amq.x
|
|
|
|
rpcgen -l -o ${.TARGET} ${.ALLSRC}
|
|
|
|
CLEANFILES+=amq_clnt.c
|
|
|
|
|
|
|
|
.include "../../Makefile.inc"
|
|
|
|
.include <bsd.prog.mk>
|