Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/wtap/Makefile
Show All 10 Lines | |||||
.PATH: ${.CURDIR}/../../dev/wtap/wtap_hal | .PATH: ${.CURDIR}/../../dev/wtap/wtap_hal | ||||
SRCS += hal.c | SRCS += hal.c | ||||
.PATH: ${.CURDIR}/../../dev/wtap/plugins | .PATH: ${.CURDIR}/../../dev/wtap/plugins | ||||
SRCS += visibility.c | SRCS += visibility.c | ||||
SRCS += opt_global.h | SRCS += opt_global.h | ||||
.if defined(KERNBUILDDIR) | .if !defined(KERNBUILDDIR) | ||||
MKDEP= -include ${KERNBUILDDIR}/opt_global.h | |||||
.else | |||||
CFLAGS+= -include opt_global.h | CFLAGS+= -include opt_global.h | ||||
MKDEP= -include opt_global.h | |||||
opt_global.h: | opt_global.h: | ||||
echo "#define VIMAGE 1" > ${.TARGET} | echo "#define VIMAGE 1" > ${.TARGET} | ||||
.endif | .endif | ||||
# Include kernel module makefile | # Include kernel module makefile | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |