summaryrefslogtreecommitdiff
path: root/include/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'include/Makefile.am')
-rw-r--r--include/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
new file mode 100644
index 000000000..bdf7dcca3
--- /dev/null
+++ b/include/Makefile.am
@@ -0,0 +1,47 @@
+##
+## Process this file with automake to produce Makefile.in
+##
+
+EXTRA_DIST = xine.h.tmpl.in
+
+include_HEADERS = audio_out.h video_out.h xine.h
+
+
+xine.h: xine.h.tmpl
+ @echo "creating xine.h"; \
+ rm -f xine.h && \
+ echo '/* !! DO NO EDIT THIS FILE, it is automatically generated */' \
+ > xine.h && \
+ cat xine.h.tmpl >> xine.h
+
+
+debug:
+
+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
+
+
+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 xine.h