1995-02-26 18:40:53 -05:00
|
|
|
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
1999-08-27 21:35:59 -04:00
|
|
|
# $FreeBSD$
|
1995-02-26 18:40:53 -05:00
|
|
|
|
|
|
|
|
PROG= callbootd
|
2014-04-13 01:21:56 -04:00
|
|
|
MAN=
|
1998-04-26 12:31:14 -04:00
|
|
|
SRCS= callbootd.c ${GENSRCS}
|
|
|
|
|
GENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
|
2001-07-20 02:20:32 -04:00
|
|
|
|
1995-03-01 03:04:40 -05:00
|
|
|
CFLAGS+= -I.
|
2001-07-20 02:20:32 -04:00
|
|
|
|
1998-04-26 12:31:14 -04:00
|
|
|
CLEANFILES= ${GENSRCS}
|
1995-02-26 18:40:53 -05:00
|
|
|
|
2017-06-19 16:47:24 -04:00
|
|
|
RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
|
1995-02-26 18:40:53 -05:00
|
|
|
|
1998-04-26 12:31:14 -04:00
|
|
|
bootparam_prot_clnt.c: ${RPCSRC}
|
2012-02-07 04:27:07 -05:00
|
|
|
RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC}
|
1995-02-26 18:40:53 -05:00
|
|
|
|
1998-04-26 12:31:14 -04:00
|
|
|
bootparam_prot_xdr.c: ${RPCSRC}
|
2012-02-07 04:27:07 -05:00
|
|
|
RPCGEN_CPP=${CPP:Q} rpcgen -C -c -o ${.TARGET} ${RPCSRC}
|
1995-07-04 04:39:27 -04:00
|
|
|
|
|
|
|
|
bootparam_prot.h: ${RPCSRC}
|
2012-02-07 04:27:07 -05:00
|
|
|
RPCGEN_CPP=${CPP:Q} rpcgen -C -h -o ${.TARGET} ${RPCSRC}
|
1995-02-26 18:40:53 -05:00
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|