freebsd-skq/sys/modules/apm/Makefile
Yoshihiro Takahashi da7b97560b Fix the apm module on pc98.
Pointed out by:	Kuwamura Shinya <kuwa at lares dot dti dot ne dot jp>
MFC after:	1 day
2005-04-17 10:41:59 +00:00

24 lines
413 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../i386/bios
.if ${MACHINE} == "pc98"
.PATH: ${.CURDIR}/../../pc98/apm
.endif
KMOD= apm
SRCS= apm.c apm.h
.if ${MACHINE} == "pc98"
SRCS+= apm_bioscall.s
.endif
SRCS+= device_if.h bus_if.h
EXPORT_SYMS= apm_display \
apm_softc
.if ${MACHINE} == "pc98"
apm_bioscall.o: apm_bioscall.s
${CC} -x assembler-with-cpp -DLOCORE ${CFLAGS} -c ${.IMPSRC}
.endif
.include <bsd.kmod.mk>