summaryrefslogtreecommitdiff
path: root/include/Makefile.am
blob: 9f16758c996e59f2e28aae446f83cd118a4d4dea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
##
## 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; \
	  if test "$$p" != "xine.h"; then \
	    echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p"; \
	    $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p; \
	  else \
	    echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
	    $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
	  fi; \
	done


##
## Remove them
##
uninstall-includeHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(include_HEADERS)'; for p in $$list; do \
	  if test "$$p" != "xine.h"; then \
	    rm -f $(DESTDIR)$(includedir)/xine/$$p; \
	  else \
	    rm -f $(DESTDIR)$(includedir)/$$p; \
	fi; \
	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