47f6a0b7f6
definition of QCAM_MODULE for everything involving LKM'ness. Makefile: Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path.
17 lines
322 B
Makefile
17 lines
322 B
Makefile
.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>
|