1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
22 lines
541 B
Makefile
22 lines
541 B
Makefile
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
|
# $FreeBSD$
|
|
|
|
PROG= callbootd
|
|
SRCS= bootparam_prot_xdr.c bootparam_prot_clnt.c callbootd.c
|
|
NOMAN=
|
|
CFLAGS+= -I.
|
|
CLEANFILES= bootparam_prot_clnt.c bootparam_prot_xdr.c bootparam_prot.h
|
|
|
|
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
|
|
|
|
bootparam_prot_clnt.c: ${RPCSRC} bootparam_prot.h
|
|
rpcgen -l -o ${.TARGET} ${RPCSRC}
|
|
|
|
bootparam_prot_xdr.c: ${RPCSRC} bootparam_prot.h
|
|
rpcgen -c -o ${.TARGET} ${RPCSRC}
|
|
|
|
bootparam_prot.h: ${RPCSRC}
|
|
rpcgen -h -o ${.TARGET} ${RPCSRC}
|
|
|
|
.include <bsd.prog.mk>
|