1
2PublicHeaders = \
3	attribute.h \
4	document.h \
5	element.h \
6	entity.h \
7	path.h \
8	types.h \
9	parser.h \
10	world.h
11PrivateHeaders =
12ObsoleteHeaders =
13
14##$ BEGIN TEMPLATE Make-Include-Common(cxml, C/XML)
15# **************************************************************************
16# This template depends on the following variables having been set up before
17# its invokation.
18#
19# PublicHeaders    - header files that should be installed
20# PrivateHeaders   - source files that should be distributed, but not
21#                    installed - including source-included source files.
22# ObsoletedHeaders - header files that should be removed upon installation
23
24# Everything below is autogenerated from a macro, so don't modify
25# within the Makefile.am itself. 19991201 mortene.
26
27EXTRA_DIST = $(PrivateHeaders)
28
29if MAC_FRAMEWORK
30libcxmlincdir = $(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/Headers/C/XML
31# hack to change libdir value when installing Mac OS X compiler framework
32lib@nop@dir = $(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/Libraries
33else
34libcxmlincdir = $(includedir)/Inventor/C/XML
35endif
36libcxmlinc_HEADERS = $(PublicHeaders)
37
38install-libcxmlincHEADERS: $(libcxmlinc_HEADERS)
39	@$(NORMAL_INSTALL)
40	@if test x"$(libcxmlinc_HEADERS)" = x""; then :; else \
41	  echo " $(mkinstalldirs) $(DESTDIR)$(libcxmlincdir)"; \
42	  $(mkinstalldirs) $(DESTDIR)$(libcxmlincdir); \
43	fi
44	@list='$(libcxmlinc_HEADERS)'; for p in $$list; do \
45	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
46	  f="`echo $$p | sed -e 's|^.*/||'`"; \
47	  src="$$d$$p"; dst="$(DESTDIR)$(libcxmlincdir)/$$f"; \
48	  if cmp -s "$$src" "$$dst"; then :; else \
49	    echo " $(INSTALL_HEADER) $$src $$dst"; \
50	    $(INSTALL_HEADER) "$$src" "$$dst" || exit 1; \
51	  fi \
52	done
53	@list='$(ObsoletedHeaders)'; for f in $$list; do \
54	  file="$(DESTDIR)$(libcxmlincdir)/$$f"; \
55	  if test -x "$$file"; then \
56	    echo " rm -f $$file"; \
57	    rm -f "$$file"; \
58	  fi \
59	done; \
60	:
61
62##$ END TEMPLATE Make-Include-Common
63