freebsd-nq/sbin/camcontrol/Makefile
Joerg Wunsch 6437601ca1 Provide an option to make camcontrol `minimalistic': if the (env/make)
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
2002-01-17 20:26:14 +00:00

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>