summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-06 06:58:57 (UTC)
committer kergoth <kergoth>2002-11-06 06:58:57 (UTC)
commitb914ee28517e2be6b27a48e6d9fb9734c99d6e24 (patch) (side-by-side diff)
treeaf843f774b8af7e1d8ce550f329ff66bb9067c34
parentcf67639169c3afdfbdb820682f2207451c19b5e0 (diff)
downloadopie-b914ee28517e2be6b27a48e6d9fb9734c99d6e24.zip
opie-b914ee28517e2be6b27a48e6d9fb9734c99d6e24.tar.gz
opie-b914ee28517e2be6b27a48e6d9fb9734c99d6e24.tar.bz2
libmad opts from root configure script. this is so much cleaner :)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmad/libmad.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmad.pro b/core/multimedia/opieplayer/libmad/libmad.pro
index 3787464..976b626 100644
--- a/core/multimedia/opieplayer/libmad/libmad.pro
+++ b/core/multimedia/opieplayer/libmad/libmad.pro
@@ -1,13 +1,18 @@
+QMAKE_CFLAGS += $(if $(CONFIG_TARGET_X86),-DFPM_INTEL) \
+ $(if $(CONFIG_TARGET_IPAQ),-DFPM_ARM) \
+ $(if $(CONFIG_TARGET_SHARP),-DFPM_ARM)
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = libmad_version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h \
layer12.h layer3.h huffman.h libmad_global.h mad.h libmadplugin.h libmadpluginimpl.h
-SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c \
+SOURCES = $(if $(CONFIG_TARGET_IPAQ),idmt_arm.S) \
+ $(if $(CONFIG_TARGET_SHARP),idmt_arm.S) \
+ version.c fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c \
layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp
TARGET = madplugin
DESTDIR = $(OPIEDIR)/plugins/codecs
INCLUDEPATH += $(OPIEDIR)/include ..
DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe -lm
VERSION = 1.0.0