3 # Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
10 # * Redistributions of source code must retain the above copyright
11 # notice, this list of conditions and the following disclaimer.
12 # * Redistributions in binary form must reproduce the above copyright
13 # notice, this list of conditions and the following disclaimer in
14 # the documentation and/or other materials provided with the
16 # * Neither the name of Intel Corporation nor the names of its
17 # contributors may be used to endorse or promote products derived
18 # from this software without specific prior written permission.
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 include $(RTE_SDK)/mk/rte.vars.mk
34 INC := rte_branch_prediction.h rte_common.h
35 INC += rte_debug.h rte_eal.h rte_errno.h rte_launch.h rte_lcore.h
36 INC += rte_log.h rte_memory.h rte_memzone.h rte_pci.h
37 INC += rte_pci_dev_ids.h rte_per_lcore.h rte_random.h
38 INC += rte_tailq.h rte_interrupts.h rte_alarm.h
39 INC += rte_string_fns.h rte_version.h
40 INC += rte_eal_memconfig.h rte_malloc_heap.h
41 INC += rte_hexdump.h rte_devargs.h rte_dev.h
42 INC += rte_pci_dev_feature_defs.h rte_pci_dev_features.h
44 ifeq ($(CONFIG_RTE_INSECURE_FUNCTION_WARNING),y)
48 GENERIC_INC := rte_atomic.h rte_byteorder.h rte_cycles.h rte_prefetch.h
49 GENERIC_INC += rte_spinlock.h rte_memcpy.h rte_cpuflags.h rte_rwlock.h
50 # defined in mk/arch/$(RTE_ARCH)/rte.vars.mk
51 ARCH_DIR ?= $(RTE_ARCH)
52 ARCH_INC := $(notdir $(wildcard $(RTE_SDK)/lib/librte_eal/common/include/arch/$(ARCH_DIR)/*.h))
54 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include := $(addprefix include/,$(INC))
55 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include += \
56 $(addprefix include/arch/$(ARCH_DIR)/,$(ARCH_INC))
57 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include/generic := \
58 $(addprefix include/generic/,$(GENERIC_INC))
60 include $(RTE_SDK)/mk/rte.install.mk