1#
2#    Copyright 2015-2016 Nest Labs Inc. All Rights Reserved.
3#
4#    Licensed under the Apache License, Version 2.0 (the "License");
5#    you may not use this file except in compliance with the License.
6#    You may obtain a copy of the License at
7#
8#    http://www.apache.org/licenses/LICENSE-2.0
9#
10#    Unless required by applicable law or agreed to in writing, software
11#    distributed under the License is distributed on an "AS IS" BASIS,
12#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13#    See the License for the specific language governing permissions and
14#    limitations under the License.
15#
16
17#
18#    Description:
19#      This file is the automake footer for installing header files
20#      independently of the rest of a package.
21#
22#      Packages that wish to avail themselves of this target may wish
23#      to add the following goals and dependencies:
24#
25#        install-headers: install-includeHEADERS
26#
27#      in places where the package uses and defines 'include_HEADERS' or
28#
29#        install-headers: install-data
30#
31#      where the package uses and defines a more complex 'dist_*_HEADERS'.
32#
33#      This represents the minimum integration with GNU autotools
34#      (automake inparticular) such that 'make install-headers' may be
35#      invoked at the top of the tree and all the prerequisites occur
36#      such that it executes successfully with no intervening make
37#      target invocations.
38#
39
40.PHONY: install-headers install-headers-recursive
41
42install-headers: $(BUILT_SOURCES) install-headers-recursive
43
44install-headers-recursive:
45	$(nl-make-subdirs)
46