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