New upstream version 18.11-rc1
[deb_dpdk.git] / lib / librte_eal / common / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 INC := rte_branch_prediction.h rte_common.h
7 INC += rte_debug.h rte_eal.h rte_eal_interrupts.h
8 INC += rte_errno.h rte_launch.h rte_lcore.h
9 INC += rte_log.h rte_memory.h rte_memzone.h
10 INC += rte_per_lcore.h rte_random.h
11 INC += rte_tailq.h rte_interrupts.h rte_alarm.h
12 INC += rte_string_fns.h rte_version.h
13 INC += rte_eal_memconfig.h rte_malloc_heap.h
14 INC += rte_hexdump.h rte_devargs.h rte_bus.h rte_dev.h rte_class.h
15 INC += rte_option.h
16 INC += rte_pci_dev_feature_defs.h rte_pci_dev_features.h
17 INC += rte_malloc.h rte_keepalive.h rte_time.h
18 INC += rte_service.h rte_service_component.h
19 INC += rte_bitmap.h rte_vfio.h rte_hypervisor.h rte_test.h
20 INC += rte_reciprocal.h rte_fbarray.h rte_uuid.h
21
22 GENERIC_INC := rte_atomic.h rte_byteorder.h rte_cycles.h rte_prefetch.h
23 GENERIC_INC += rte_spinlock.h rte_memcpy.h rte_cpuflags.h rte_rwlock.h
24 GENERIC_INC += rte_vect.h rte_pause.h rte_io.h
25
26 # defined in mk/arch/$(RTE_ARCH)/rte.vars.mk
27 ARCH_DIR ?= $(RTE_ARCH)
28 ARCH_INC := $(sort $(notdir $(wildcard $(RTE_SDK)/lib/librte_eal/common/include/arch/$(ARCH_DIR)/*.h)))
29
30 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include := $(addprefix include/,$(INC))
31 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include += \
32         $(addprefix include/arch/$(ARCH_DIR)/,$(ARCH_INC))
33 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include/generic := \
34         $(addprefix include/generic/,$(GENERIC_INC))
35
36 include $(RTE_SDK)/mk/rte.install.mk