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
@@ -1,23 +1,53 @@
1 TEMPLATE = lib 1 TEMPLATE = lib
2 CONFIG += qt warn_on 2 CONFIG += qt warn_on
3 HEADERS = libmad_version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h \ 3 HEADERS = libmad_version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h \
4 layer12.h layer3.h huffman.h libmad_global.h mad.h libmadplugin.h libmadpluginimpl.h 4 layer12.h layer3.h huffman.h libmad_global.h mad.h libmadplugin.h libmadpluginimpl.h
5 SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c \ 5 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