1# $FreeBSD: head/sys/boot/pc98/libpc98/Makefile 117160 2003-07-02 12:45:45Z ru $
2#
3LIB= pc98
4INTERNALLIB= true
5
6.PATH: ${.CURDIR}/../../i386/libi386
7
8SRCS= bioscd.c biosdisk.c biosmem.c biospnp.c biospci.c biossmap.c \
9 bootinfo.c bootinfo32.c comconsole.c devicename.c elf32_freebsd.c \
--- 17 unchanged lines hidden (view full) ---
27
28CFLAGS+= -DPC98
29CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
30 -I${.CURDIR}/../../i386/libi386 \
31 -I${.CURDIR}/../../.. -I.
32# the location of libstand
33CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
34
35# Make "machine" required for all objects
36# (based on the more complete case in sys/i386/boot/Makefile.inc)
37${SRCS:M*.c:R:S/$/.o/g}: machine
38
39# If it's not there, don't consider it a target
40.if exists(${.CURDIR}/../../../i386/include)
41beforedepend ${OBJS}: machine
42
43CLEANFILES+= machine
44machine:
45 ln -sf ${.CURDIR}/../../../i386/include machine
46
47.endif
48
49.include <bsd.lib.mk>
2#
3LIB= pc98
4INTERNALLIB= true
5
6.PATH: ${.CURDIR}/../../i386/libi386
7
8SRCS= bioscd.c biosdisk.c biosmem.c biospnp.c biospci.c biossmap.c \
9 bootinfo.c bootinfo32.c comconsole.c devicename.c elf32_freebsd.c \
--- 17 unchanged lines hidden (view full) ---
27
28CFLAGS+= -DPC98
29CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
30 -I${.CURDIR}/../../i386/libi386 \
31 -I${.CURDIR}/../../.. -I.
32# the location of libstand
33CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
34
35# Make "machine" required for all objects
36# (based on the more complete case in sys/i386/boot/Makefile.inc)
37${SRCS:M*.c:R:S/$/.o/g}: machine
38
39# If it's not there, don't consider it a target
40.if exists(${.CURDIR}/../../../i386/include)
41beforedepend ${OBJS}: machine
42
43CLEANFILES+= machine
44machine:
45 ln -sf ${.CURDIR}/../../../i386/include machine
46
47.endif
48
49.include <bsd.lib.mk>