freebsd-dev/usr.bin/rpcgen/Makefile
Chuck Robey 9b294c6e32 Fix a build problem when upgrading from 9 month old sources. There's
a circular dependency problem, wherein rpcgen depends on the latest
includes, but those same includes depend on rpcgen to build
include/rpcsvc.  This was causing the build or librpcsvc to fail
(like I said, only on upgrades of 9 month old sources).

If there's stylistic problems, tell me, I'll learn and fix them.
I did a buildworld with this, it should be safe.
1999-01-04 03:14:48 +00:00

14 lines
437 B
Makefile

SRCS= rpc_main.c rpc_clntout.c rpc_cout.c rpc_hout.c rpc_parse.c \
rpc_sample.c rpc_scan.c rpc_svcout.c rpc_tblout.c rpc_util.c
PROG= rpcgen
MAN1= rpcgen.1
#
# This is a kludge to work around the fact that this program
# uses 'inline' as a variable name.
#
CFLAGS+=-Dinline=rpcgen_inline -I${.CURDIR}/../../include -I${.CURDIR}/../../sys/i386/include -I${.CURDIR}/../../include/rpc -I${.CURDIR}/../../sys/sys
.include <bsd.prog.mk>