summaryrefslogtreecommitdiff
path: root/src/libac3/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libac3/Makefile.am')
-rw-r--r--src/libac3/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/libac3/Makefile.am b/src/libac3/Makefile.am
new file mode 100644
index 000000000..6318b3255
--- /dev/null
+++ b/src/libac3/Makefile.am
@@ -0,0 +1,47 @@
+CFLAGS = @BUILD_LIB_STATIC@ @GLOBAL_CFLAGS@
+
+noinst_LTLIBRARIES = libac3.la
+
+libac3_la_SOURCES = bitstream.c bit_allocate.c \
+ decode.c coeff.c exponent.c parse.c crc.c rematrix.c \
+ dither.c sanity_check.c srfft.c imdct.c downmix.c
+
+noinst_HEADERS = ac3.h ac3_internal.h bitstream.h \
+ imdct.h coeff.h exponent.h bit_allocate.h parse.h \
+ crc.h rematrix.h downmix.h dither.h \
+ sanity_check.h srfft.h srfftp.h cmplx.h decode.h \
+ bswap.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)"
+
+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