aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/apm/Makefile
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2005-04-17 10:41:59 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2005-04-17 10:41:59 +0000
commitda7b97560b3f8114d057be7b0539425508a9c655 (patch)
tree5249fc862910fdd2c011ee49f6f6aea6ebc55a5f /sys/modules/apm/Makefile
parent19983c91ba19fb1e5f9450d9a9ef382cd1c523fb (diff)
Notes
Diffstat (limited to 'sys/modules/apm/Makefile')
-rw-r--r--sys/modules/apm/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/modules/apm/Makefile b/sys/modules/apm/Makefile
index 6d82b9049f4c..c3503536d198 100644
--- a/sys/modules/apm/Makefile
+++ b/sys/modules/apm/Makefile
@@ -1,12 +1,23 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../i386/bios
+.if ${MACHINE} == "pc98"
+.PATH: ${.CURDIR}/../../pc98/apm
+.endif
KMOD= apm
-SRCS= apm.c apm.h \
- device_if.h bus_if.h
+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>