diff options
Diffstat (limited to 'audio/mpg123/Makefile.common')
-rw-r--r-- | audio/mpg123/Makefile.common | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/audio/mpg123/Makefile.common b/audio/mpg123/Makefile.common index 53b61e55a99..a2f23cc0000 100644 --- a/audio/mpg123/Makefile.common +++ b/audio/mpg123/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2003/04/03 18:31:22 jschauma Exp $ -*- Makefile -*- +# $NetBSD: Makefile.common,v 1.5 2003/04/03 22:47:16 grant Exp $ -*- Makefile -*- DISTNAME= mpg123-0.59r MPG123_VERSION= 0.59.18 CATEGORIES= audio @@ -18,7 +18,6 @@ DISTINFO_FILE= ${.CURDIR}/../../audio/mpg123/distinfo USE_BUILDLINK2= # defined -# for OBJECT_FMT .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" @@ -26,27 +25,27 @@ ALL_TARGET= solaris-gcc${TARGET_SUFFIX} .elif ${OPSYS} == "IRIX" ALL_TARGET= sgi .elif ${OPSYS} == "Linux" -. if (${MACHINE_ARCH} == "i386") +. if ${MACHINE_ARCH} == "i386" ALL_TARGET= linux -. elif (${MACHINE_ARCH} == "powerpc") +. elif ${MACHINE_ARCH} == "powerpc" ALL_TARGET= linux-ppc . else ALL_TARGET= ${LOWER_OPSYS}-${MACHINE_ARCH} . endif .else -. if (${MACHINE_ARCH} == "i386") -. if (${OBJECT_FMT} == "ELF") +. if ${MACHINE_ARCH} == "i386" +. if ${OBJECT_FMT} == "ELF" ALL_TARGET= netbsd-i386-elf${TARGET_SUFFIX} . else ALL_TARGET= netbsd-i386${TARGET_SUFFIX} . endif # ELF -. elif (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32") -. if defined(MPG123_ARM_FIXED64) && ${MPG123_ARM_FIXED64} == "YES" +. elif ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" +. if defined(MPG123_ARM_FIXED64) && ${MPG123_ARM_FIXED64} == "YES ALL_TARGET= netbsd-arm-64${TARGET_SUFFIX} . else ALL_TARGET= netbsd-arm${TARGET_SUFFIX} . endif # MPG123_ARM_FIXED64 -. elif (${MACHINE_ARCH} == "m68k") +. elif ${MACHINE_ARCH} == "m68k" ALL_TARGET= netbsd-m68k${TARGET_SUFFIX} . else ALL_TARGET= ${LOWER_OPSYS}${TARGET_SUFFIX} |