summaryrefslogtreecommitdiff
path: root/src/post/goom/Makefile.am
blob: f0037b7af59f07f9192ea08d0dd236795dca25f5 (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
41
42
43
44
45
46
47
48
49
50
51
52
##
## Process this file with automake to produce Makefile.in
##

DEBUG_CFLAGS = @DEBUG_CFLAGS@ @ANSI_FLAGS@

LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic

EXTRA_DIST = zoom_filter_mmx.c ppc_zoom_ultimate.s

## -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
## 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
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@

debug:
	@$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"

install-debug: debug
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

mostlyclean-generic:
	-rm -f *~ \#* .*~ .\#*

maintainer-clean-generic:
	-@echo "This command is intended for maintainers to use;"
	-@echo "it deletes files that may require special tools to rebuild."
	-rm -f Makefile.in