summaryrefslogtreecommitdiff
path: root/src/libflac/Makefile.am
blob: 6c3a4e05a0f6a003b21da1f27fb81bbe09a9729b (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
#
# the Makefile for flac plugins
#

AM_CFLAGS = $(LIBFLAC_CFLAGS)

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

if HAVE_FLAC
flac_module = xineplug_flac.la
endif

libdir = $(XINE_PLUGINDIR)
XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la

lib_LTLIBRARIES = $(flac_module)

xineplug_flac_la_SOURCES = demux_flac.c decoder_flac.c
xineplug_flac_la_LIBADD = $(LIBFLAC_LIBS)
xineplug_flac_la_LDFLAGS = -avoid-version -module -lFLAC @XINE_PLUGIN_MIN_SYMS@


# noinst_HEADERS = 

$(XINE_LIB):
	@cd $(top_builddir)/src/xine-engine && $(MAKE)

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