xref: /freebsd/usr.sbin/bsdinstall/include/Makefile (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1OSNAME?=	FreeBSD
2GENHDRS=	opt_osname.h
3SRCS+=		${GENHDRS}
4CLEANFILES+=	${GENHDRS}
5
6opt_osname.h: ${META_NOPHONY}
7	@if ! grep -q "^#define OSNAME \"${OSNAME}\"$"" ${.TARGET} 2> /dev/null; then \
8		echo "#define OSNAME \"${OSNAME}\"" > ${.TARGET}; \
9	fi
10
11MK_STAGING= no
12
13.include <bsd.prog.mk>
14