summaryrefslogtreecommitdiff
path: root/src/post/goom/Makefile.am
blob: 285f458fea86eb54dc7fc39afe3aed5a20837bd4 (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
include $(top_srcdir)/misc/Makefile.common

libdir = $(XINE_PLUGINDIR)/post

EXTRA_DIST = mmx.c xmmx.c ppc_drawings.s ppc_zoom_ultimate.s diff_against_release.patch

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

lib_LTLIBRARIES = xineplug_post_goom.la

## doesn't work
#if PPC_ARCH
#extra_files = ppc_drawings.s ppc_zoom_ultimate.s
#AM_CPPFLAGS = -DCPU_POWERPC
#endif

if HAVE_FFMMX
extra_files = mmx.c xmmx.c
AM_CPPFLAGS = -DHAVE_MMX
endif

xineplug_post_goom_la_SOURCES = $(extra_files) xine_goom.c \
	config_param.c convolve_fx.c cpu_info.c drawmethods.c filters.c flying_stars_fx.c \
	gfontlib.c gfontrle.c goom_core.c goom_tools.c goomsl.c goomsl_hash.c goomsl_heap.c \
	goomsl_lex.c goomsl_yacc.c graphic.c ifs.c lines.c mathtools.c \
	plugin_info.c sound_tester.c surf3d.c tentacle3d.c v3d.c
xineplug_post_goom_la_LIBADD = $(XINE_LIB) $(GOOM_LIBS)
xineplug_post_goom_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)

noinst_HEADERS = cpu_info.h default_scripts.h drawmethods.h gfontlib.h gfontrle.h goom.h \
	goom_config.h goom_config_param.h goom_filters.h goom_fx.h goom_graphic.h \
	goom_plugin_info.h goom_tools.h goom_typedefs.h goom_visual_fx.h goomsl.h goomsl_hash.h \
	goomsl_heap.h goomsl_private.h goomsl_yacc.h ifs.h lines.h mathtools.h mmx.h \
	ppc_drawings.h ppc_zoom_ultimate.h sound_tester.h surf3d.h tentacle3d.h v3d.h \
	motif_goom1.h motif_goom2.h