summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmad/libmad.pro42
1 files changed, 36 insertions, 6 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmad.pro b/core/multimedia/opieplayer/libmad/libmad.pro
index bebcef4..8c5d06d 100644
--- a/core/multimedia/opieplayer/libmad/libmad.pro
+++ b/core/multimedia/opieplayer/libmad/libmad.pro
@@ -6,18 +6,48 @@ SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c
6 layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp 6 layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp
7 TARGET = madplugin 7 TARGET = madplugin
8 DESTDIR = $(OPIEDIR)/plugins/codecs 8 DESTDIR = $(OPIEDIR)/plugins/codecs
9INCLUDEPATH += $(OPIEDIR)/include .. 9INCLUDEPATH += $(OPIEDIR)/include ..
10DEPENDPATH += ../$(OPIEDIR)/include .. 10DEPENDPATH += ../$(OPIEDIR)/include ..
11LIBS += -lqpe -lm 11LIBS += -lqpe -lm
12VERSION = 1.0.0 12VERSION = 1.0.0
13 13
14contains(QMAKE_CXX, arm-linux-g++) | contains(QMAKE_CXX, arm-linux-gcc ){ 14include ( $(OPIEDIR)/include.pro )
15DEFINES += FPM_ARM 15
16} else { contains(QMAKE_CXX, mipsel-linux-g++ ) {
17DEFINES += FPM_MIPS
18} else {
19DEFINES += FPM_INTEL 16DEFINES += FPM_INTEL
17
18system(echo $QMAKESPEC | grep -s sharp) {
19 DEFINES -= FPM_INTEL
20 DEFINES += FPM_ARM
20} 21}
22
23system(echo $QMAKESPEC | grep -s ipaq) {
24 DEFINES -= FPM_INTEL
25 DEFINES += FPM_ARM
21} 26}
22 27
23include ( $(OPIEDIR)/include.pro ) 28system(echo $QMAKESPEC | grep -s mipsel) {
29 DEFINES -= FPM_INTEL
30 DEFINES += FPM_MIPS
31}
32
33system(echo $QMAKESPEC | grep -s ramses) {
34 DEFINES -= FPM_INTEL
35 DEFINES += FPM_ARM
36}
37
38system(echo $QMAKESPEC | grep -s arm) {
39 DEFINES -= FPM_INTEL
40 DEFINES += FPM_ARM
41}
42
43system(echo $QMAKESPEC | grep -s simpad) {
44 DEFINES -= FPM_INTEL
45 DEFINES += FPM_ARM
46}
47
48system(echo $QMAKESPEC | grep -s yopy) {
49 DEFINES -= FPM_INTEL
50 DEFINES += FPM_ARM
51}
52
53