e6c64e055f
since only linux compat on i386 is installed, only that LKM is actually installed (LKMs are build for all platforms as appropriate though) further changes to compat code would need to happen to make this usable also for other plaforms or emulations
21 lines
592 B
Makefile
21 lines
592 B
Makefile
# $NetBSD: Makefile.inc,v 1.4 2000/12/08 20:15:12 jdolecek Exp $
|
|
|
|
S!= cd ${.CURDIR}/../../..;pwd
|
|
|
|
DPSRCS+= assym.h
|
|
|
|
.if exists($S/arch/${MACHINE}/${MACHINE}/genassym.cf)
|
|
GENASSYM_DIR?= $S/arch/${MACHINE}/${MACHINE}
|
|
.elif exists($S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}/genassym.cf)
|
|
GENASSYM_DIR?= $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
|
|
.else
|
|
GENASSYM_DIR?=
|
|
.endif
|
|
|
|
assym.h: ${S}/kern/genassym.sh ${GENASSYM_DIR}/genassym.cf
|
|
sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
|
|
< ${GENASSYM_DIR}/genassym.cf > assym.h.tmp && \
|
|
mv -f assym.h.tmp assym.h
|
|
|
|
.include "../Makefile.inc"
|