blob: 9c528cf10a2b9b6f77f1e672ae3a12a0aa3c12b2 (
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
74
75
76
|
$NetBSD: patch-aa,v 1.16 2002/02/27 23:22:49 simonb 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-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"
@@ -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-arm32:
+ $(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:
|