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