mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
96caabce70
Stolen from: jmz
17 lines
346 B
Makefile
17 lines
346 B
Makefile
.PATH: ${.CURDIR}/../../sys/i386/isa
|
|
KMOD = qcam_mod
|
|
SRCS = qcam.c qcam.h
|
|
MAN8 = qcam.8
|
|
|
|
CFLAGS += -I. -I/sys -DQCAM_MODULE -DACTUALLY_LKM_NOT_KERNEL
|
|
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>
|