summaryrefslogtreecommitdiff
path: root/src/libxvid/Makefile.am
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-04-20 18:42:35 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-04-20 18:42:35 +0000
commit157cc496c6378df5899b9e9ade8a37a1ee9706a7 (patch)
tree2cf32df0332fc4bbe4532ece780574ae40498997 /src/libxvid/Makefile.am
parent2d46a96efe82d911a106c316d6d11ac9a64cd9e0 (diff)
downloadxine-lib-157cc496c6378df5899b9e9ade8a37a1ee9706a7.tar.gz
xine-lib-157cc496c6378df5899b9e9ade8a37a1ee9706a7.tar.bz2
clean up use of global CFLAGS, add xvid patch contributed by Tomas Kovar
CVS patchset: 1749 CVS date: 2002/04/20 18:42:35
Diffstat (limited to 'src/libxvid/Makefile.am')
-rw-r--r--src/libxvid/Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libxvid/Makefile.am b/src/libxvid/Makefile.am
new file mode 100644
index 000000000..f96609875
--- /dev/null
+++ b/src/libxvid/Makefile.am
@@ -0,0 +1,30 @@
+CFLAGS = @CFLAGS@ @XVID_CFLAGS@
+
+LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
+
+libdir = $(XINE_PLUGINDIR)
+
+
+if HAVE_XVID
+xvid_modules = xineplug_decode_xvid.la
+endif
+
+lib_LTLIBRARIES = $(xvid_modules)
+
+xineplug_decode_xvid_la_SOURCES = xine_decoder.c
+xineplug_decode_xvid_la_LIBADD = @XVID_LIBS@
+xineplug_decode_xvid_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