summaryrefslogtreecommitdiffstats
path: root/sys/modules/apm/Makefile
blob: c3503536d198e2488376904f8e13531d806e5629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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>
OpenPOWER on IntegriCloud