Changeset View
Changeset View
Standalone View
Standalone View
head/sys/modules/sgx/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.PATH: ${SRCTOP}/sys/amd64/sgx | .PATH: ${SRCTOP}/sys/amd64/sgx | ||||
KMOD= sgx | KMOD= sgx | ||||
SRCS= sgx.c sgxvar.h sgx_support.S | SRCS= sgx.c sgxvar.h sgx_support.S | ||||
SRCS+= opt_compat.h opt_hwpmc_hooks.h opt_kstack_pages.h | SRCS+= opt_compat.h opt_hwpmc_hooks.h opt_kstack_pages.h | ||||
DPSRCS= assym.s | DPSRCS= assym.inc | ||||
sgx_support.o: assym.s | sgx_support.o: assym.inc | ||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ | ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ | ||||
${.IMPSRC} -o ${.TARGET} | ${.IMPSRC} -o ${.TARGET} | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |