summaryrefslogtreecommitdiff
path: root/src/dxr3/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxr3/Makefile.am')
-rw-r--r--src/dxr3/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/dxr3/Makefile.am b/src/dxr3/Makefile.am
new file mode 100644
index 000000000..4052eba9a
--- /dev/null
+++ b/src/dxr3/Makefile.am
@@ -0,0 +1,33 @@
+CFLAGS = @GLOBAL_CFLAGS@
+
+EXTRA_DIST = dxr3_decoder.c video_out_dxr3.c
+
+LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
+
+libdir = $(XINE_PLUGINDIR)
+
+if HAVE_DXR3
+dxr3_modules = xineplug_decode_dxr3.la xineplug_vo_out_dxr3.la
+endif
+
+lib_LTLIBRARIES = $(dxr3_modules)
+
+xineplug_decode_dxr3_la_SOURCES = dxr3_decoder.c
+xineplug_decode_dxr3_la_LDFLAGS = -avoid-version -module
+
+xineplug_vo_out_dxr3_la_SOURCES = video_out_dxr3.c
+xineplug_vo_out_dxr3_la_LDFLAGS = -avoid-version -module
+
+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