1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
19 lines
335 B
Makefile
19 lines
335 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../sys/i386/isa
|
|
KMOD = qcam_mod
|
|
SRCS = qcam.c qcamio.c qcam.h
|
|
MAN8 = qcam.8
|
|
|
|
CFLAGS += -I. -DQCAM_MODULE
|
|
CLEANFILES += qcam.h
|
|
|
|
qcam.h:
|
|
echo "#define NQCAM 1" > qcam.h
|
|
|
|
afterinstall:
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${.CURDIR}/qcam ${DESTDIR}/usr/bin
|
|
|
|
.include <bsd.kmod.mk>
|