From cb5b42cecdedada4b3b00411ee6fc02facd11728 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sat, 4 Jan 2003 01:03:47 +0000 Subject: 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 --- src/post/goom/Makefile.am | 42 +++++++++++++++++------------------------- 1 file changed, 17 insertions(+), 25 deletions(-) (limited to 'src') 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@ -- cgit v1.2.3