]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/amd/include/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.sbin / amd / include / Makefile
1 # ex:ts=8
2 #
3 # $FreeBSD$
4 #
5 # Makefile for amd
6 #       This file is under a "BSD" copyright (c) by David O'Brien 1998.
7 #       Portions derived from amd/libamu/Makefile
8 #       $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $
9
10 .include <bsd.own.mk>
11
12 SRCS=   config_local.h
13 .if ${MK_NIS} == "no"
14 SRCS+=  localconfig.h
15 .endif
16 CLEANFILES=     ${SRCS}
17
18 all depend: ${SRCS}
19
20 config_local.h: newvers.sh
21         @rm -f ${.TARGET}
22         sh ${.ALLSRC} ${.CURDIR}/../../../sys/conf/newvers.sh > ${.TARGET}
23
24 localconfig.h:
25         @rm -f ${.TARGET}
26         @echo "/* NIS disabled by WITHOUT_NIS src.conf option */" >> ${.TARGET}
27         @echo "#undef HAVE_MAP_NIS" >> ${.TARGET}
28
29 .include <bsd.prog.mk>