1# Copyright © 2009-2020 Inria.  All rights reserved.
2# Copyright © 2009-2010 Université Bordeaux
3# Copyright © 2009-2014 Cisco Systems, Inc.  All rights reserved.
4# See COPYING in top-level directory.
5
6AM_CFLAGS = $(HWLOC_CFLAGS)
7AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
8AM_LDFLAGS = $(HWLOC_LDFLAGS)
9
10# Add your output files here.
11xml_outputs = \
12        8intel64-4n2t-memattrs.xml \
13        16amd64-8n2c-cpusets.xml \
14        16amd64-4distances.xml \
15        16amd64-4distances.console.output \
16        16em64t-4s2c2t.xml \
17        16em64t-4s2c2t-offlines.xml \
18        16em64t-4s2c2t.console.output \
19        16-2gr2gr2n2c+misc.xml \
20        16-2gr2gr2n2c+misc.console.output \
21        16intel64-manyVFs.xml \
22        16intel64-manyVFs.console.output \
23        16intel64-manyVFs.console.nocollapse.output \
24        24em64t-2n6c2t-pci.xml \
25        32em64t-2n8c2t-pci-noio.xml \
26        32em64t-2n8c2t-pci-normalio.xml \
27        32em64t-2n8c2t-pci-wholeio.xml \
28        64intel64-3g2n+2n-irregulargroups+pci.xml \
29        64intel64-3g2n+2n-irregulargroups+pci.console.output \
30        8intel64-fakeKNL-A2A-hybrid.rootattachednumas.xml \
31        64intel64-fakeKNL-SNC4-hybrid.xml \
32        96em64t-4n4d3ca2co-pci.xml \
33        192em64t-12gr2n8c2t.xml \
34        192em64t-24n8c2t.xml \
35        fakeheterodistances.xml \
36        fakecpukinds.xml \
37        8em64t-2p2ca2co-nonodesets.v1tov2.xml \
38        8ia64-2n2s2c+1n.v1tov2.xml \
39        16amd64-4distances.v1tov2.xml \
40        16amd64-4distances.v2tov1.xml \
41        2intel64-1n2c-numaroot.v1tov2.xml \
42        28intel64-2p2g7c-CoDgroups.v1tov2.xml \
43        28intel64-2p2g7c-CoD.nogroups.v1tov2.xml \
44        8intel64-fakeKNL-A2A-hybrid.rootattachednumas.v1tov2.xml \
45        8intel64-fakeKNL-A2A-hybrid.rootattachednumas.v2tov1.xml \
46        64intel64-fakeKNL-SNC4-hybrid.v1tov2.xml \
47        64intel64-fakeKNL-SNC4-hybrid.v2tov1.xml
48
49# Each output `xyz.xml' may have a corresponding `xyz.source' file specifying
50# its source file.
51# Each output `xyz.output' must have a corresponding `xyz.xml' source file,
52# or a `xyz.source' file specifying its source file.
53xml_source = \
54        16amd64-4distances.console.source \
55        16em64t-4s2c2t.console.source \
56        16-2gr2gr2n2c+misc.console.source \
57        16intel64-manyVFs.console.source \
58        16intel64-manyVFs.console.nocollapse.source \
59        32em64t-2n8c2t-pci-noio.source \
60        32em64t-2n8c2t-pci-normalio.source \
61        64intel64-3g2n+2n-irregulargroups+pci.console.source \
62        8em64t-2p2ca2co-nonodesets.v1tov2.source \
63        8em64t-2p2ca2co-nonodesets.v1.xml \
64        8ia64-2n2s2c+1n.v1tov2.source \
65        8ia64-2n2s2c+1n.v1.xml \
66        16amd64-4distances.v1tov2.source \
67        16amd64-4distances.v2tov1.source \
68        16amd64-4distances.v1.xml \
69        2intel64-1n2c-numaroot.v1tov2.source \
70        2intel64-1n2c-numaroot.v1.xml \
71        28intel64-2p2g7c-CoDgroups.v1tov2.source \
72        28intel64-2p2g7c-CoD.nogroups.v1tov2.source \
73        28intel64-2p2g7c-CoDgroups.v1.xml \
74        8intel64-fakeKNL-A2A-hybrid.rootattachednumas.v1tov2.source \
75        8intel64-fakeKNL-A2A-hybrid.rootattachednumas.v2tov1.source \
76        64intel64-fakeKNL-SNC4-hybrid.v1tov2.source \
77        64intel64-fakeKNL-SNC4-hybrid.v2tov1.source
78
79# Each output `xyz.xml' or `xyz.output' may have a corresponding `xyz.options'
80# file modifying the behavior of lstopo
81xml_options = \
82        16amd64-4distances.console.options \
83        16em64t-4s2c2t.console.options \
84        16intel64-manyVFs.console.options \
85        16intel64-manyVFs.console.nocollapse.options \
86        16-2gr2gr2n2c+misc.console.options \
87        32em64t-2n8c2t-pci-noio.options \
88        32em64t-2n8c2t-pci-wholeio.options \
89        64intel64-3g2n+2n-irregulargroups+pci.options \
90        64intel64-3g2n+2n-irregulargroups+pci.console.options \
91        16amd64-4distances.v2tov1.options \
92        28intel64-2p2g7c-CoD.nogroups.v1tov2.options \
93        8intel64-fakeKNL-A2A-hybrid.rootattachednumas.v2tov1.options \
94        64intel64-fakeKNL-SNC4-hybrid.v2tov1.options
95
96# Each output `xyz.xml' or `xyz.output' may have a corresponding `xyz.env'
97# modifying the environment of lstopo
98xml_envs = \
99        16amd64-4distances.console.env \
100        64intel64-3g2n+2n-irregulargroups+pci.console.env
101
102# Only run the tests if we're building standalone, because the tests
103# call hwloc executables.
104TESTS = $(xml_outputs)
105
106EXTRA_DIST = $(xml_outputs) $(xml_source) $(xml_options) $(xml_envs)
107
108LOG_COMPILER = $(HWLOC_top_builddir)/tests/hwloc/xml/test-topology.sh
109