summaryrefslogtreecommitdiff
path: root/src/libflac/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libflac/Makefile.am')
-rw-r--r--src/libflac/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/libflac/Makefile.am b/src/libflac/Makefile.am
new file mode 100644
index 000000000..9fe261d85
--- /dev/null
+++ b/src/libflac/Makefile.am
@@ -0,0 +1,33 @@
+#
+# the Makefile for flac plugins
+#
+
+LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
+
+libdir = $(XINE_PLUGINDIR)
+XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la
+
+lib_LTLIBRARIES = xineplug_flac.la
+
+xineplug_flac_la_SOURCES = demux_flac.c decoder_flac.c
+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