6437601ca1
variable RELEASE_BUILD_FIXIT is defined, a camcontrol binary will be built that only knows the "rescan" and "reset" subcommands. The resulting code is small enough to still fit onto the boot floppy. Reviewed by: ken MFC after: 1 week
21 lines
362 B
Makefile
21 lines
362 B
Makefile
# $FreeBSD$
|
|
MAINTAINER=ken@FreeBSD.ORG
|
|
|
|
PROG= camcontrol
|
|
SRCS= camcontrol.c util.c
|
|
.if !defined(RELEASE_BUILD_FIXIT)
|
|
SRCS+= modeedit.c
|
|
.endif
|
|
MAN= camcontrol.8
|
|
SDIR= ${.CURDIR}/../../sys
|
|
|
|
CFLAGS+= -I${SDIR}
|
|
.if defined(RELEASE_BUILD_FIXIT)
|
|
CFLAGS+= -DMINIMALISTIC
|
|
.endif
|
|
WARNS= 0
|
|
DPADD= ${LIBCAM} ${LIBSBUF}
|
|
LDADD+= -lcam -lsbuf
|
|
|
|
.include <bsd.prog.mk>
|