diff options
Diffstat (limited to 'lib/libdisk/Makefile')
-rw-r--r-- | lib/libdisk/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libdisk/Makefile b/lib/libdisk/Makefile index ebc5991..01a7f85 100644 --- a/lib/libdisk/Makefile +++ b/lib/libdisk/Makefile @@ -9,7 +9,13 @@ _open_disk= open_disk.c LIB= disk SRCS= blocks.c ${_change} chunk.c create_chunk.c disk.c ${_open_disk} \ - rules.c write_disk.c write_${MACHINE}_disk.c + rules.c write_disk.c +.if ${TARGET} == "sun4v" +SRCS+= write_sparc64_disk.c +.else +SRCS+= write_${MACHINE}_disk.c +.endif + INCS= libdisk.h WARNS?= 2 |