3 .if ${MACHINE_ARCH} == "ia64"
4 _open_disk= open_ia64_disk.c
7 _open_disk= open_disk.c
11 SRCS= blocks.c ${_change} chunk.c create_chunk.c disk.c ${_open_disk} \
13 .if ${MACHINE} == "sun4v"
14 SRCS+= write_sparc64_disk.c
16 SRCS+= write_${MACHINE}_disk.c
23 CFLAGS+= -I${.CURDIR}/../../sys/geom
25 .if ${MACHINE} == "pc98"
29 CLEANFILES+= tmp.c tst01 tst01.o
37 tst01: tst01.o libdisk.a
38 cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a
40 ad0: all install tst01
43 da0: all install tst01
46 da1: all install tst01