]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/bootparamd/bootparamd/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.sbin / bootparamd / bootparamd / Makefile
1 #       from: @(#)Makefile      5.8 (Berkeley) 7/28/90
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 PROG=   bootparamd
7 MAN=    bootparams.5 bootparamd.8
8 SRCS=   bootparamd.c main.c ${GENSRCS}
9 GENSRCS=bootparam_prot.h bootparam_prot_svc.c bootparam_prot_xdr.c
10
11 CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I.
12 .if ${MK_NIS} != "no"
13 CFLAGS+= -DYP
14 .endif
15
16 CLEANFILES= ${GENSRCS}
17
18 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
19
20 bootparam_prot_svc.c: ${RPCSRC}
21         RPCGEN_CPP=${CPP:Q} rpcgen -C -m -o ${.TARGET} ${RPCSRC}
22
23 bootparam_prot_xdr.c: ${RPCSRC}
24         RPCGEN_CPP=${CPP:Q} rpcgen -C -c -o ${.TARGET} ${RPCSRC}
25
26 bootparam_prot.h: ${RPCSRC}
27         RPCGEN_CPP=${CPP:Q} rpcgen -C -h -o ${.TARGET} ${RPCSRC}
28
29 .include <bsd.prog.mk>