author | llornkcor <llornkcor> | 2004-04-08 00:54:39 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-08 00:54:39 (UTC) |
commit | 4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5 (patch) (unidiff) | |
tree | 48fb1d070ccca46cc13dfed7982bf35666abe6c6 /core | |
parent | 5badc8e0aba089d73fdbfb1b1383b937aa30a301 (diff) | |
download | opie-4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5.zip opie-4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5.tar.gz opie-4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5.tar.bz2 |
use contains
-rw-r--r-- | core/multimedia/opieplayer/libmad/libmad.pro | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmad.pro b/core/multimedia/opieplayer/libmad/libmad.pro index 08717da..b676d5a 100644 --- a/core/multimedia/opieplayer/libmad/libmad.pro +++ b/core/multimedia/opieplayer/libmad/libmad.pro | |||
@@ -1,20 +1,20 @@ | |||
1 | QMAKE_CFLAGS += $(if $(CONFIG_TARGET_X86),-DFPM_INTEL) \ | ||
2 | $(if $(CONFIG_TARGET_IPAQ),-DFPM_ARM) \ | ||
3 | $(if $(CONFIG_TARGET_SHARP),-DFPM_ARM) | ||
4 | QMAKE_CXXFLAGS += $(if $(CONFIG_TARGET_X86),-DFPM_INTEL) \ | ||
5 | $(if $(CONFIG_TARGET_IPAQ),-DFPM_ARM) \ | ||
6 | $(if $(CONFIG_TARGET_SHARP),-DFPM_ARM) | ||
7 | TEMPLATE = lib | 1 | TEMPLATE = lib |
8 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
9 | 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 \ |
10 | 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 |
11 | 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 \ |
12 | layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp | 6 | layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp |
13 | TARGET = madplugin | 7 | TARGET = madplugin |
14 | DESTDIR = $(OPIEDIR)/plugins/codecs | 8 | DESTDIR = $(OPIEDIR)/plugins/codecs |
15 | INCLUDEPATH += $(OPIEDIR)/include .. | 9 | INCLUDEPATH += $(OPIEDIR)/include .. |
16 | DEPENDPATH += ../$(OPIEDIR)/include .. | 10 | DEPENDPATH += ../$(OPIEDIR)/include .. |
17 | LIBS += -lqpe -lm | 11 | LIBS += -lqpe -lm |
18 | VERSION = 1.0.0 | 12 | VERSION = 1.0.0 |
19 | 13 | ||
14 | contains(QMAKE_CXX, -DQT_QWS_IPAQ) | contains(QMAKE_CXX, -DQT_QWS_SHARP) { | ||
15 | DEFINES += FPM_ARM | ||
16 | } else { | ||
17 | DEFINES += FPM_INTEL | ||
18 | } | ||
19 | |||
20 | include ( $(OPIEDIR)/include.pro ) | 20 | include ( $(OPIEDIR)/include.pro ) |