summaryrefslogtreecommitdiff
path: root/include/Makefile.am
blob: b0a7e6a9176e14e0f65f481dd737d2cc804a2ad1 (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
EXTRA_DIST = xine.h.in

if GENERATED_INTTYPES_H
inttypes_h = inttypes.h
endif

include_HEADERS = xine.h

noinst_HEADERS = config.h
nodist_noinst_HEADERS = configure.h

CONFIG_CLEAN_FILES = xine.h $(inttypes_h)

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 configure.h.in

install-data-local: install-includeHEADERS
	sed -e '/^\/\*_x_/d' xine.h > $(DESTDIR)$(includedir)/xine.h
if GENERATED_INTTYPES_H
	$(INSTALL) inttypes.h $(DESTDIR)$(includedir)
endif