mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 15:24:40 -05:00
options.h to config.h.in and set via ./configure when built normally. Export some of the build knobs to the Makefile here, overridable from /etc/make.conf. Also get the version strings right. config.h was repocopied to config.h.proto, and we do a limited sed on it at build time now.
21 lines
404 B
Makefile
21 lines
404 B
Makefile
# $FreeBSD$
|
|
|
|
MAINTAINER= peter@FreeBSD.org
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
.PATH: ${CVSDIR}/src
|
|
.PATH: ${CVSDIR}/man
|
|
.PATH: ${CVSDIR}
|
|
|
|
SCRIPTS= cvsbug
|
|
MAN= cvsbug.8
|
|
|
|
CLEANFILES+= cvsbug
|
|
VERSION!= sed < ${CVSDIR}/configure \
|
|
-e '/^[ ]*VERSION=/!d' -e 's/.*=\(.*\)/\1/' -e q
|
|
|
|
cvsbug: cvsbug.in
|
|
sed -e "s,@VERSION@,${VERSION}-FreeBSD,g" ${.ALLSRC} > ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|