diff options
Diffstat (limited to 'lkm/qcam/Makefile')
-rw-r--r-- | lkm/qcam/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lkm/qcam/Makefile b/lkm/qcam/Makefile new file mode 100644 index 0000000..d4fd422 --- /dev/null +++ b/lkm/qcam/Makefile @@ -0,0 +1,16 @@ +.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> |