assym is only to be included by other .s files, and should never actually be assembled by itself. Reviewed by: imp, bdrewery (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14180
15 lines
299 B
Makefile
15 lines
299 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/amd64/sgx
|
|
|
|
KMOD= sgx
|
|
SRCS= sgx.c sgxvar.h sgx_support.S
|
|
SRCS+= opt_compat.h opt_hwpmc_hooks.h opt_kstack_pages.h
|
|
DPSRCS= assym.inc
|
|
|
|
sgx_support.o: assym.inc
|
|
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
|
${.IMPSRC} -o ${.TARGET}
|
|
|
|
.include <bsd.kmod.mk>
|