blob: ac4dcaed3e0f725faded5b4f85eea61ff4f646e0 (
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
|
$NetBSD: patch-ae,v 1.3 1999/05/16 11:00:16 simonb Exp $
--- Makefile.mid Thu Feb 18 18:37:11 1999
+++ Makefile Thu Feb 18 18:37:48 1999
@@ -33,6 +33,7 @@
@echo "make os2 IBM OS/2"
@echo "make netbsd NetBSD"
@echo "make netbsd-i386 NetBSD optimized for i386"
+ @echo "make netbsd-m68k NetBSD optimized for m68k"
@echo "make bsdos BSDI BSD/OS"
@echo "make generic try this one if your system isn't listed above"
@echo ""
@@ -226,6 +227,22 @@
-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= \
|