59c945452a
configuration file (although it is meant to be used mostly with std.${ARCH}), and prints out a configuration file that includes it and select every single option and parameter, and define an instance for every single possible attachment. IOW, selects everything, into a would-be "LINT" config. The resulting config really isn't meant to be runnable, but should be somewhat buildable on most archs. It still needs adjustments because some options are peculiar (e.g., ACPI_DSDT_FILE wants an existing file as its value), so it's not yet possible to do "config -L; config; build" in an automated way.
20 lines
435 B
Makefile
20 lines
435 B
Makefile
# $NetBSD: Makefile,v 1.6 2007/01/08 16:08:08 cube Exp $
|
|
# from: @(#)Makefile 8.2 (Berkeley) 4/19/94
|
|
|
|
PROG= config
|
|
SRCS= files.c gram.y hash.c lint.c main.c mkdevsw.c mkheaders.c mkioconf.c \
|
|
mkmakefile.c mkswap.c pack.c scan.l sem.c util.c
|
|
MAN= config.1
|
|
MAN+= config.5 config.samples.5
|
|
YHEADER=1
|
|
CPPFLAGS+=-I${.CURDIR} -I.
|
|
|
|
.ifndef HOSTPROG
|
|
LDADD+=-lutil
|
|
DPADD+=${LIBUTIL}
|
|
.endif
|
|
|
|
CWARNFLAGS+=-Wno-format-y2k
|
|
|
|
.include <bsd.prog.mk>
|