blob: 94786db62039a4d50553e057b8324820abf306b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
$NetBSD: patch-aa,v 1.12 1999/10/12 04:43:12 simonb Exp $
--- Makefile.orig Wed Jun 16 06:39:06 1999
+++ Makefile Tue Oct 12 13:57:53 1999
@@ -39,6 +39,10 @@
@echo "make aix-tk3play IBM AIX"
@echo "make os2 IBM OS/2"
@echo "make netbsd NetBSD"
+ @echo "make netbsd-arm32 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"
@@ -362,6 +366,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='-Wall -ansi -pedantic -O4 -m486 -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='-Wall -ansi -pedantic -O3 -fomit-frame-pointer \
+ -ffast-math -DREAL_IS_FLOAT \
+ -DUSE_MMAP -DNETBSD -DM68K_ASSEM -DTERM_CONTROL' \
+ mpg123-make
+
+netbsd-arm32:
+ $(MAKE) CC=cc LDFLAGS= \
+ OBJECTS='decode.o dct64.o audio_sun.o term.o' \
+ 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' \
@@ -481,18 +513,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='-Wall -ansi -pedantic -O3 -fomit-frame-pointer \
-funroll-all-loops -ffast-math \
- -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD' \
+ -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' \
+ OBJECTS='decode_i386.o dct64_i386.o audio_sun.o term.o' \
CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \
-funroll-all-loops -ffast-math -DROT_I386 \
- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD' \
+ -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DTERM_CONTROL -DNETBSD' \
mpg123-make
bsdos:
|