-rw-r--r-- | core/multimedia/opieplayer/libmpeg3/libmpeg3.pro | 8 |
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 +1,5 @@ +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 @@ -3,3 +7,3 @@ 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 \ @@ -37,3 +41,3 @@ SOURCES = libmpeg3plugin.cpp libmpeg3pluginimpl.cpp \ TARGET = mpeg3plugin -TMAKE_CC=g++ +TMAKE_CC=$(CXX) DESTDIR = $(OPIEDIR)/plugins/codecs |