e5a56eba6c
r336019 introduced ${SRCTOP}/sys to the include paths in order to pull in a new sys/{c,}nv.h. This is wrong, because the build tree's ABI isn't guaranteed to match what's running on the host system. Fix instead by removing -I${SRCTOP}/sys and installing the libnv headers with `make -C lib/libnv includes`... this may or may not get re-worked in the future so that a userland lib isn't installing includes from sys/. Reported by: bdrewery
28 lines
490 B
Makefile
28 lines
490 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
SRCDIR:=${.PARSEDIR:tA}
|
|
|
|
PROG= config
|
|
MAN= config.5 config.8
|
|
SRCS= config.y main.c lang.l mkmakefile.c mkheaders.c \
|
|
mkoptions.c y.tab.h kernconf.c
|
|
|
|
FILE2C?=file2c
|
|
|
|
kernconf.c: kernconf.tmpl
|
|
${FILE2C} 'char kernconfstr[] = {' ',0};' < \
|
|
${SRCDIR}/kernconf.tmpl > kernconf.c
|
|
|
|
CFLAGS+= -I. -I${SRCDIR}
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
LIBADD= l nv sbuf
|
|
|
|
CLEANFILES+= kernconf.c
|
|
|
|
mkmakefile.o: configvers.h
|
|
|
|
.include <bsd.prog.mk>
|