1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 eal_inc += include_directories('.', 'include',
5 join_paths('include/arch', arch_subdir))
8 common_sources = files(
10 'eal_common_cpuflags.c',
11 'eal_common_devargs.c',
14 'eal_common_hexdump.c',
15 'eal_common_launch.c',
18 'eal_common_memory.c',
19 'eal_common_memzone.c',
20 'eal_common_options.c',
22 'eal_common_string_fns.c',
23 'eal_common_tailqs.c',
24 'eal_common_thread.c',
34 # get architecture specific sources and objs
35 eal_common_arch_sources = []
36 eal_common_arch_objs = []
37 subdir(join_paths('arch', arch_subdir))
38 common_sources += eal_common_arch_sources
39 common_objs += eal_common_arch_objs
41 common_headers = files(
42 'include/rte_alarm.h',
43 'include/rte_branch_prediction.h',
45 'include/rte_bitmap.h',
46 'include/rte_common.h',
47 'include/rte_debug.h',
48 'include/rte_devargs.h',
51 'include/rte_eal_memconfig.h',
52 'include/rte_eal_interrupts.h',
53 'include/rte_errno.h',
54 'include/rte_hexdump.h',
55 'include/rte_interrupts.h',
56 'include/rte_keepalive.h',
57 'include/rte_launch.h',
58 'include/rte_lcore.h',
60 'include/rte_malloc.h',
61 'include/rte_malloc_heap.h',
62 'include/rte_memory.h',
63 'include/rte_memzone.h',
64 'include/rte_pci_dev_feature_defs.h',
65 'include/rte_pci_dev_features.h',
66 'include/rte_per_lcore.h',
67 'include/rte_random.h',
68 'include/rte_reciprocal.h',
69 'include/rte_service.h',
70 'include/rte_service_component.h',
71 'include/rte_string_fns.h',
72 'include/rte_tailq.h',
74 'include/rte_version.h')
76 # special case install the generic headers, since they go in a subdir
77 generic_headers = files(
78 'include/generic/rte_atomic.h',
79 'include/generic/rte_byteorder.h',
80 'include/generic/rte_cpuflags.h',
81 'include/generic/rte_cycles.h',
82 'include/generic/rte_io.h',
83 'include/generic/rte_memcpy.h',
84 'include/generic/rte_pause.h',
85 'include/generic/rte_prefetch.h',
86 'include/generic/rte_rwlock.h',
87 'include/generic/rte_spinlock.h',
88 'include/generic/rte_vect.h')
89 install_headers(generic_headers, subdir: 'generic')
91 # get and install the architecture specific headers
92 subdir(join_paths('include/arch', arch_subdir))