diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-01-04 01:03:47 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-01-04 01:03:47 +0000 |
commit | cb5b42cecdedada4b3b00411ee6fc02facd11728 (patch) | |
tree | 4db3d087766fd7dd9ddab444f70b3bae10e7f9db | |
parent | 076adfd806b9989aae0499c2de193e89282df9e5 (diff) | |
download | xine-lib-cb5b42cecdedada4b3b00411ee6fc02facd11728.tar.gz xine-lib-cb5b42cecdedada4b3b00411ee6fc02facd11728.tar.bz2 |
remove omit-fram-pointer to cflags. Don't compile zoom_mmx on all non PPC arch
CVS patchset: 3769
CVS date: 2003/01/04 01:03:47
-rw-r--r-- | src/post/goom/Makefile.am | 42 |
1 files changed, 17 insertions, 25 deletions
diff --git a/src/post/goom/Makefile.am b/src/post/goom/Makefile.am index 780c82f4a..2674fea30 100644 --- a/src/post/goom/Makefile.am +++ b/src/post/goom/Makefile.am @@ -6,39 +6,31 @@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ @ANSI_FLAGS@ LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic -# FIXME -# -fomit-frame-pointer segfaults here -#CFLAGS = -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -mcpu=pentiumpro +## -fomit-frame-pointer segfaults here +CFLAGS = `echo @CFLAGS@ | sed -e 's/-fomit-frame-pointer//g'` libdir = $(XINE_PLUGINDIR)/post lib_LTLIBRARIES = xineplug_post_goom.la -if !PPC_ARCH - xineplug_post_goom_la_SOURCES = \ - xine_goom.c \ - goom_core.c goom_core.h \ - goom_tools.h goom_config.h \ - filters.c filters.h\ - lines.c lines.h \ - ifs_display.c ifs.c ifs.h \ - graphic.c graphic.h \ - drawmethods.h \ - zoom_filter_mmx.c - +if PPC_ARCH +## DON T WORK extra_files = ppc_zoom_ultimate.s else - xineplug_post_goom_la_SOURCES = \ - xine_goom.c \ - goom_core.c goom_core.h \ - goom_tools.h goom_config.h \ - filters.c filters.h \ - lines.c lines.h \ - ifs_display.c ifs.c ifs.h \ - graphic.c graphic.h \ - drawmethods.h -# ppc_zoom_ultimate.s +## only compile if MMX is supported. +if HAVE_FFMMX + extra_files = zoom_filter_mmx.c +endif endif +xineplug_post_goom_la_SOURCES = xine_goom.c \ + goom_core.c goom_core.h \ + goom_tools.h goom_config.h \ + filters.c filters.h \ + lines.c lines.h \ + ifs_display.c ifs.c ifs.h \ + graphic.c graphic.h \ + drawmethods.h $(extra_files) + xineplug_post_goom_la_LIBADD = $(XINE_LIB) xineplug_post_goom_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ |