summaryrefslogtreecommitdiff
path: root/src/post/goom/Makefile.am
blob: 41a5eb7ae328805b25687b856c27396a5e8315dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
include $(top_srcdir)/misc/Makefile.common

EXTRA_DIST = zoom_filter_mmx.c zoom_filter_xmmx.c ppc_zoom_ultimate.s

libdir = $(XINE_PLUGINDIR)/post

lib_LTLIBRARIES = xineplug_post_goom.la

if PPC_ARCH
## DON T WORK  extra_files = ppc_zoom_ultimate.s
else
## only compile if MMX is supported.
if HAVE_FFMMX
extra_files = zoom_filter_mmx.c zoom_filter_xmmx.c
MMX_CFLAG = -DHAVE_MMX
endif
endif

## -fomit-frame-pointer segfaults here
CFLAGS = $(MMX_CFLAG) `echo @CFLAGS@ | sed -e 's/-fomit-frame-pointer//g;s/-Os//g'`

xineplug_post_goom_la_SOURCES = $(extra_files) xine_goom.c \
			        goom_core.c \
			        filters.c \
			        lines.c \
			        ifs_display.c \
				ifs.c \
			        graphic.c \
			        gfontlib.c \
				gfontrle.c \
				surf3d.c \
				surface.c \
				tentacle3d.c

xineplug_post_goom_la_LIBADD = $(XINE_LIB)
xineplug_post_goom_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@

noinst_HEADERS = drawmethods.h goom_config.h graphic.h mathtools.h surface.h xmmx.h \
	filters.h goom_core.h ifs.h mmx.h tentacle3d.h zoom_filter_mmx.h gfontlib.h \
	goom_tools.h lines.h surf3d.h v3d.h