Debian Codegraph @

include/Makefile.am

raw
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright © 2009-2021 Inria. All rights reserved.
3 # Copyright © 2009-2010 Université Bordeaux
4 # Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
5 # Copyright © 2011 Oracle and/or its affiliates. All rights reserved.
6 # See COPYING in top-level directory.
7
8 # Only install the headers if we're in standalone mode (meaning:
9 # *don't* install the headers if we're in embedded mode).
10
11 if HWLOC_BUILD_STANDALONE
12 include_HEADERS = hwloc.h
13
14 include_hwlocdir = $(includedir)/hwloc
15 include_hwloc_HEADERS = \
16 hwloc/bitmap.h \
17 hwloc/helper.h \
18 hwloc/inlines.h \
19 hwloc/memattrs.h \
20 hwloc/cpukinds.h \
21 hwloc/diff.h \
22 hwloc/shmem.h \
23 hwloc/distances.h \
24 hwloc/export.h \
25 hwloc/openfabrics-verbs.h \
26 hwloc/opencl.h \
27 hwloc/cuda.h \
28 hwloc/cudart.h \
29 hwloc/nvml.h \
30 hwloc/rsmi.h \
31 hwloc/amdsmi.h \
32 hwloc/levelzero.h \
33 hwloc/plugins.h \
34 hwloc/gl.h \
35 hwloc/rename.h \
36 hwloc/deprecated.h
37 include_hwloc_autogendir = $(includedir)/hwloc/autogen
38 nodist_include_hwloc_autogen_HEADERS = hwloc/autogen/config.h
39
40 noinst_HEADERS = \
41 private/private.h \
42 private/debug.h \
43 private/misc.h \
44 private/xml.h \
45 private/components.h \
46 private/internal-components.h \
47 private/cpuid-x86.h \
48 private/windows.h
49
50 if HWLOC_HAVE_LINUX
51 include_hwloc_HEADERS += \
52 hwloc/linux.h \
53 hwloc/linux-libnuma.h
54 endif HWLOC_HAVE_LINUX
55
56 if HWLOC_HAVE_SOLARIS
57 include_hwloc_HEADERS += \
58 private/solaris-chiptype.h
59 endif HWLOC_HAVE_SOLARIS
60
61 if HWLOC_HAVE_SCHED_SETAFFINITY
62 include_hwloc_HEADERS += hwloc/glibc-sched.h
63 endif HWLOC_HAVE_SCHED_SETAFFINITY
64
65 if HWLOC_HAVE_WINDOWS
66 include_hwloc_HEADERS += \
67 hwloc/windows.h
68 endif HWLOC_HAVE_WINDOWS
69
70 endif HWLOC_BUILD_STANDALONE