blob: a563d71b928d5814f22e2c1367ae930e1ee2b193 (
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
|
--- Makefile.orig 2004-04-22 01:49:59.000000000 -0700
+++ Makefile 2004-04-22 01:51:18.000000000 -0700
@@ -1,6 +1,6 @@
CC = gcc
VERSION = 0.99
-OPTIONS = -Wall -shared -O3 -march=pentium --fast-math -DPOSIX -D_REENTRANT -DREENTRANT -I.. -DMPP_ENCODER
+OPTIONS = -Wall -shared $(CFLAGS) -DPOSIX -D_REENTRANT -DREENTRANT -I.. -DMPP_ENCODER
SOURCE = in_mpc.c bitstream.c huffsv46.c huffsv7.c requant.c synth_filter.c mpc_dec.c equalizer.c equal.c tags.c
@@ -13,25 +13,25 @@
install-test: all
ln -f -s \
- `pwd`/xmms-musepack-`echo $(VERSION)`.so
- ~/.xmms/Plugins/xmms-musepack-`echo $(VERSION)`.so
+ `pwd`/xmms-musepack-$(VERSION).so
+ ~/.xmms/Plugins/xmms-musepack-$(VERSION).so
install: all
install -g root -o root -m 755 \
- ./xmms-musepack-`echo $(VERSION)`.so \
- `xmms-config --input-plugin-dir`/xmms-musepack-`echo $(VERSION)`.so
+ ./xmms-musepack-$(VERSION).so \
+ `xmms-config --input-plugin-dir`/xmms-musepack-$(VERSION).so
xmms-musepack-$(VERSION).so: $(SOURCE) $(HEADER) $(EQUAL) Makefile
@echo
@echo
- $(CC) -s -DVERSION=\"$(VERSION)\" $(OPTIONS) `xmms-config --cflags --libs` `gtk-config --cflags --libs` -o xmms-musepack-`echo $(VERSION)`.so $(SOURCE) 2>&1 | grep -v '/usr/'
+ $(CC) -s -DVERSION=\"$(VERSION)\" $(OPTIONS) `xmms-config --cflags --libs` `gtk-config --cflags --libs` -o xmms-musepack-$(VERSION).so $(SOURCE) 2>&1 | grep -v '/usr/'
clean:
- rm -f *.o xmms-musepack-`echo $(VERSION)`.so
+ rm -f *.o xmms-musepack-$(VERSION).so
uninstall:
- rm -f `xmms-config --input-plugin-dir`/xmms-musepack-`echo $(VERSION)`.so
+ rm -f `xmms-config --input-plugin-dir`/xmms-musepack-$(VERSION).so
|