$NetBSD: patch-aa,v 1.17 2002/04/25 16:34:16 abs Exp $ --- Makefile.orig Thu Feb 28 10:17:44 2002 +++ Makefile Thu Feb 28 10:19:04 2002 @@ -54,6 +54,10 @@ @echo "make aix-tk3play IBM AIX" @echo "make os2 IBM OS/2" @echo "make netbsd NetBSD" + @echo "make netbsd-arm NetBSD for strongarm" + @echo "make netbsd-i386 NetBSD optimized for i386" + @echo "make netbsd-i386-elf NetBSD optimized for i386, ELF format" + @echo "make netbsd-m68k NetBSD optimized for m68k" @echo "make bsdos BSDI BSD/OS" @echo "make bsdos4 BSDI BSD/OS 4.0" @echo "make bsdos-nas BSDI BSD/OS with NAS support" @@ -377,6 +381,34 @@ -funroll-all-loops -finline-functions' \ mpg123-make +netbsd-i386-elf: + $(MAKE) CC=cc LDFLAGS= \ + OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \ + audio_sun.o term.o' \ + CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -fomit-frame-pointer \ + -funroll-all-loops -ffast-math -DROT_I386 \ + -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DUSE_MMAP \ + -DREAD_MMAP -DNETBSD -DTERM_CONTROL' \ + mpg123-make + +netbsd-m68k: + $(MAKE) CC=cc LDFLAGS= \ + OBJECTS='decode.o dct64.o audio_sun.o term.o' \ + CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O3 -fomit-frame-pointer \ + -ffast-math -DREAL_IS_FLOAT -DREAD_MMAP \ + -DUSE_MMAP -DNETBSD -DM68K_ASSEM -DTERM_CONTROL' \ + mpg123-make + +netbsd-arm: + $(MAKE) CC=cc LDFLAGS= \ + OBJECTS='decode.o dct64.o audio_sun.o term.o' \ + CFLAGS='$(CFLAGS) -Wall -O6 -fomit-frame-pointer \ + -funroll-all-loops -finline-functions -ffast-math \ + -march=armv4 -mtune=strongarm -mcpu=strongarm \ + -DREAL_IS_FIXED -DUSE_MMAP -DREAD_MMAP -DTERM_CONTROL \ + -DNETBSD' \ + mpg123-make + solaris-gcc-esd: $(MAKE) CC=gcc LDFLAGS='-lsocket -lnsl' \ AUDIO_LIB='-lesd -lresolv' \ @@ -496,18 +528,18 @@ netbsd: $(MAKE) CC=cc LDFLAGS= \ - OBJECTS='decode.o dct64.o audio_sun.o' \ + OBJECTS='decode.o dct64.o audio_sun.o term.o' \ CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O3 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math \ - -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD' \ + -funroll-all-loops -ffast-math -DREAD_MMAP \ + -DREAL_IS_FLOAT -DUSE_MMAP -DTERM_CONTROL -DNETBSD' \ mpg123-make netbsd-i386: $(MAKE) CC=cc LDFLAGS= \ - OBJECTS='decode_i386.o dct64_i386.o audio_sun.o' \ - CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD' \ + OBJECTS='decode_i386.o dct64_i386.o audio_sun.o term.o' \ + CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -fomit-frame-pointer \ + -funroll-all-loops -ffast-math -DROT_I386 -DREAD_MMAP \ + -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DTERM_CONTROL -DNETBSD' \ mpg123-make bsdos: