summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-06 06:49:30 (UTC)
committer kergoth <kergoth>2002-11-06 06:49:30 (UTC)
commit6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8 (patch) (side-by-side diff)
tree1212d1fe28e79557cf04d3a187bc1e830f5b642d
parent915029461454cd28ee312948bbe7b4565d2173c0 (diff)
downloadopie-6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8.zip
opie-6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8.tar.gz
opie-6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8.tar.bz2
Set libmpeg compile params .. converting configure script stuffs over
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmpeg3/libmpeg3.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro b/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro
index a465f8a..586bb1c 100644
--- a/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro
+++ b/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro
@@ -1,7 +1,11 @@
+QMAKE_CFLAGS += $(if $(CONFIG_TARGET_X86),-DHAVE_MMX -DHAVE_CSS) \
+ $(if $(CONFIG_TARGET_IPAQ),-DUSE_FIXED_POINT) \
+ $(if $(CONFIG_TARGET_SHARP),-DUSE_FIXED_POINT)
+QMAKE_CC = $(CXX)
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = libmpeg3plugin.h libmpeg3pluginimpl.h
-SOURCES = libmpeg3plugin.cpp libmpeg3pluginimpl.cpp \
+SOURCES = $(if $(CONFIG_TARGET_X86),video/mmxidct.S video/reconmmx.s) libmpeg3plugin.cpp libmpeg3pluginimpl.cpp \
bitstream.c \
libmpeg3.c \
mpeg3atrack.c \
@@ -35,7 +39,7 @@ SOURCES = libmpeg3plugin.cpp libmpeg3pluginimpl.cpp \
video/slice.c \
video/vlc.c
TARGET = mpeg3plugin
-TMAKE_CC=g++
+TMAKE_CC=$(CXX)
DESTDIR = $(OPIEDIR)/plugins/codecs
INCLUDEPATH += $(OPIEDIR)/include ..
DEPENDPATH += ../$(OPIEDIR)/include ..