blob: ea6f52fd33b718ff4dd7d7f41979d52e1076ad78 (
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
|
$NetBSD: patch-aa,v 1.10 1999/06/28 00:35:33 thorpej Exp $
--- Makefile.orig Tue Jan 26 06:35:18 1999
+++ Makefile Wed Jun 23 19:45:35 1999
@@ -34,6 +34,9 @@
@echo "make aix IBM AIX (tested: 4.2)"
@echo "make os2 IBM OS/2"
@echo "make netbsd NetBSD"
+ @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 bsdos-nas BSDI BSD/OS with NAS support"
@echo "make mint MiNT on Atari"
@@ -365,6 +368,33 @@
-funroll-all-loops -ffast-math -DROT_I386 \
-DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD' \
mpg123-make
+
+netbsd-i386-elf:
+ $(MAKE) CC=cc LDFLAGS= \
+ OBJECTS='decode_i386.o dct64_i386.o getbits.o decode_i586.o \
+ audio_sun.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' \
+ mpg123-make
+
+netbsd-profile:
+ $(MAKE) CC=cc LDFLAGS='-pg -static'\
+ OBJECTS='decode.o dct64.o audio_sun.o' \
+ CFLAGS='-Wall -ansi -pedantic -O3 -pg \
+ -funroll-all-loops -ffast-math \
+ -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD -DM68K_ASSEM' \
+ mpg123-make
+
+netbsd-m68k:
+ $(MAKE) CC=cc LDFLAGS= \
+ OBJECTS='decode.o dct64.o audio_sun.o' \
+ CFLAGS='-Wall -ansi -pedantic -O3 -fomit-frame-pointer \
+ -ffast-math -DREAL_IS_FLOAT \
+ -DUSE_MMAP -DNETBSD -DM68K_ASSEM' \
+ mpg123-make
+
bsdos:
$(MAKE) CC=shlicc2 LDFLAGS= \
|