summaryrefslogtreecommitdiff
path: root/src/libmpg123/Makefile.am
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-05-27 23:48:12 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-05-27 23:48:12 +0000
commite0dafdff5dc592fb47151894a6db3ce0ae045e26 (patch)
tree93b4a43ccfde5b0e7b3582ea176ca0b961cdb12f /src/libmpg123/Makefile.am
parent62386077f664574c0c2193bf0a9b408c1d55ee1a (diff)
downloadxine-lib-e0dafdff5dc592fb47151894a6db3ce0ae045e26.tar.gz
xine-lib-e0dafdff5dc592fb47151894a6db3ce0ae045e26.tar.bz2
mpg123 decoder plugin, 4/5-channel surround, ac3 pass-through (untested) and minor bugfixes
CVS patchset: 86 CVS date: 2001/05/27 23:48:12
Diffstat (limited to 'src/libmpg123/Makefile.am')
-rw-r--r--src/libmpg123/Makefile.am37
1 files changed, 31 insertions, 6 deletions
diff --git a/src/libmpg123/Makefile.am b/src/libmpg123/Makefile.am
index 854b992b1..04238af92 100644
--- a/src/libmpg123/Makefile.am
+++ b/src/libmpg123/Makefile.am
@@ -1,16 +1,41 @@
-CFLAGS = @BUILD_LIB_STATIC@ @GLOBAL_CFLAGS@
+CFLAGS = @GLOBAL_CFLAGS@
-EXTRA_DIST = main.c
+LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
-noinst_LTLIBRARIES = libmpg123.la
+libdir = $(XINE_PLUGINDIR)
-libmpg123_la_SOURCES = common.c decode_i386.c layer1.c layer3.c tabinit.c \
- dct64_i386.c interface.c layer2.c
-libmpg123_la_LIBADD = -lm
+lib_LTLIBRARIES = xineplug_decode_mpg123.la
+xineplug_decode_mpg123_la_SOURCES = common.c decode_i386.c layer1.c layer3.c tabinit.c \
+ dct64_i386.c interface.c layer2.c xine_decoder.c
+xineplug_decode_mpg123_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = huffman.h mpg123.h mpglib.h l2tables.h
+
+##
+## Install header files (default=$includedir/xine)
+##
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(includedir)/xine
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p; \
+ done
+
+
+##
+## Remove them
+##
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ list='$(include_HEADERS)'; for p in $$list; do \
+ rm -f $(DESTDIR)$(includedir)/xine/$$p; \
+ done
+
+
debug:
$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"