mirror of
https://github.com/opnsense/src.git
synced 2026-03-29 06:03:14 -04:00
If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
27 lines
603 B
Makefile
27 lines
603 B
Makefile
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
|
# $FreeBSD$
|
|
|
|
PROG= bootparamd
|
|
MAN= bootparams.5 bootparamd.8
|
|
SRCS= bootparamd.c main.c ${GENSRCS}
|
|
GENSRCS=bootparam_prot.h bootparam_prot_svc.c bootparam_prot_xdr.c
|
|
|
|
CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I.
|
|
.if !defined(NO_NIS)
|
|
CFLAGS+= -DYP
|
|
.endif
|
|
|
|
CLEANFILES= ${GENSRCS}
|
|
|
|
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
|
|
|
|
bootparam_prot_svc.c: ${RPCSRC}
|
|
rpcgen -C -m -o ${.TARGET} ${RPCSRC}
|
|
|
|
bootparam_prot_xdr.c: ${RPCSRC}
|
|
rpcgen -C -c -o ${.TARGET} ${RPCSRC}
|
|
|
|
bootparam_prot.h: ${RPCSRC}
|
|
rpcgen -C -h -o ${.TARGET} ${RPCSRC}
|
|
|
|
.include <bsd.prog.mk>
|