diff options
author | phk <phk@FreeBSD.org> | 2002-10-29 12:13:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-29 12:13:36 +0000 |
commit | 9ac588fcdc62b97e03cc79a1fec7c4d7d3db67e7 (patch) | |
tree | bd294afda02938a99937d9c7ff93f81898710561 /lib/libdisk/Makefile | |
parent | 3957c08bfc58678219af04363a20d93436d1bc01 (diff) | |
download | FreeBSD-src-9ac588fcdc62b97e03cc79a1fec7c4d7d3db67e7.zip FreeBSD-src-9ac588fcdc62b97e03cc79a1fec7c4d7d3db67e7.tar.gz |
Since make release is toast anyway, add wood to the pyre:
This significantly rewamps libdisks discovery of existing disk
layout.
Please send me reports if this does not work as expected on
i386 or sparc64 platforms.
I need to sort out alpha, pc98 and ia64 (in that order) before
testing on those platforms make a lot of sense.
Belived to work for: i386 sparc64
Unknown state: pc98 alpha ia64
Diffstat (limited to 'lib/libdisk/Makefile')
-rw-r--r-- | lib/libdisk/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libdisk/Makefile b/lib/libdisk/Makefile index 95e6444..7ac8042 100644 --- a/lib/libdisk/Makefile +++ b/lib/libdisk/Makefile @@ -24,6 +24,10 @@ SRCS += write_ia64_disk.c SRCS += write_alpha_disk.c .endif +.if ${MACHINE_ARCH} == "sparc64" +SRCS += write_sparc64_disk.c +.endif + CLEANFILES+= tmp.c tst01 tst01.o NOPROFILE= yes NOPIC= yes @@ -34,3 +38,12 @@ MAN= libdisk.3 tst01: tst01.o libdisk.a cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a + +ad0: all install tst01 + ./tst01 ad0 + +da0: all install tst01 + ./tst01 da0 + +da1: all install tst01 + ./tst01 da1 |