net/mlx5: fix ARM build
[dpdk.git] / lib / librte_eal / common / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 eal_inc += include_directories('.', 'include',
5                 join_paths('include/arch', arch_subdir))
6
7 common_objs = []
8 common_sources = files(
9         'eal_common_bus.c',
10         'eal_common_cpuflags.c',
11         'eal_common_devargs.c',
12         'eal_common_dev.c',
13         'eal_common_errno.c',
14         'eal_common_hexdump.c',
15         'eal_common_launch.c',
16         'eal_common_lcore.c',
17         'eal_common_log.c',
18         'eal_common_memory.c',
19         'eal_common_memzone.c',
20         'eal_common_options.c',
21         'eal_common_proc.c',
22         'eal_common_string_fns.c',
23         'eal_common_tailqs.c',
24         'eal_common_thread.c',
25         'eal_common_timer.c',
26         'malloc_elem.c',
27         'malloc_heap.c',
28         'rte_keepalive.c',
29         'rte_malloc.c',
30         'rte_reciprocal.c',
31         'rte_service.c'
32 )
33
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
40
41 common_headers = files(
42         'include/rte_alarm.h',
43         'include/rte_branch_prediction.h',
44         'include/rte_bus.h',
45         'include/rte_bitmap.h',
46         'include/rte_common.h',
47         'include/rte_debug.h',
48         'include/rte_devargs.h',
49         'include/rte_dev.h',
50         'include/rte_eal.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',
59         'include/rte_log.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',
73         'include/rte_time.h',
74         'include/rte_version.h')
75
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')
90
91 # get and install the architecture specific headers
92 subdir(join_paths('include/arch', arch_subdir))