summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-04-08 00:54:39 (UTC)
committer llornkcor <llornkcor>2004-04-08 00:54:39 (UTC)
commit4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5 (patch) (side-by-side diff)
tree48fb1d070ccca46cc13dfed7982bf35666abe6c6
parent5badc8e0aba089d73fdbfb1b1383b937aa30a301 (diff)
downloadopie-4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5.zip
opie-4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5.tar.gz
opie-4a0765bf2e8914ff3c2d58c7a44d8a194277dcd5.tar.bz2
use contains
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmad/libmad.pro12
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,9 +1,3 @@
-QMAKE_CFLAGS += $(if $(CONFIG_TARGET_X86),-DFPM_INTEL) \
- $(if $(CONFIG_TARGET_IPAQ),-DFPM_ARM) \
- $(if $(CONFIG_TARGET_SHARP),-DFPM_ARM)
-QMAKE_CXXFLAGS += $(if $(CONFIG_TARGET_X86),-DFPM_INTEL) \
- $(if $(CONFIG_TARGET_IPAQ),-DFPM_ARM) \
- $(if $(CONFIG_TARGET_SHARP),-DFPM_ARM)
TEMPLATE = lib
CONFIG += qt warn_on
HEADERS = libmad_version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h \
@@ -17,4 +11,10 @@ DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe -lm
VERSION = 1.0.0
+contains(QMAKE_CXX, -DQT_QWS_IPAQ) | contains(QMAKE_CXX, -DQT_QWS_SHARP) {
+DEFINES += FPM_ARM
+} else {
+DEFINES += FPM_INTEL
+}
+
include ( $(OPIEDIR)/include.pro )