Index: head/sys/modules/sgx/Makefile =================================================================== --- head/sys/modules/sgx/Makefile (revision 331053) +++ head/sys/modules/sgx/Makefile (revision 331054) @@ -1,13 +1,14 @@ # $FreeBSD$ .PATH: ${SRCTOP}/sys/amd64/sgx KMOD= sgx -SRCS= sgx.c sgxvar.h assym.s sgx_support.S +SRCS= sgx.c sgxvar.h sgx_support.S SRCS+= opt_compat.h opt_hwpmc_hooks.h opt_kstack_pages.h +DPSRCS= assym.s sgx_support.o: assym.s ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ ${.IMPSRC} -o ${.TARGET} .include