doc: whitespace changes in licenses
[dpdk.git] / lib / librte_eal / common / Makefile
1 #   BSD LICENSE
2
3 #   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
4 #   All rights reserved.
5
6 #   Redistribution and use in source and binary forms, with or without
7 #   modification, are permitted provided that the following conditions
8 #   are met:
9
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
15 #       distribution.
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.
19
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.
31
32 include $(RTE_SDK)/mk/rte.vars.mk
33
34 INC := rte_atomic.h rte_branch_prediction.h rte_byteorder.h rte_common.h
35 INC += rte_cycles.h rte_debug.h rte_eal.h rte_errno.h rte_launch.h rte_lcore.h
36 INC += rte_log.h rte_memcpy.h rte_memory.h rte_memzone.h rte_pci.h
37 INC += rte_pci_dev_ids.h rte_per_lcore.h rte_prefetch.h rte_random.h
38 INC += rte_rwlock.h rte_spinlock.h rte_tailq.h rte_interrupts.h rte_alarm.h
39 INC += rte_string_fns.h rte_cpuflags.h rte_version.h rte_tailq_elem.h
40 INC += rte_eal_memconfig.h rte_malloc_heap.h
41 INC += rte_hexdump.h
42
43 ifeq ($(CONFIG_RTE_INSECURE_FUNCTION_WARNING),y)
44 INC += rte_warnings.h
45 endif
46
47 ARCH_INC := rte_atomic.h
48
49 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include := $(addprefix include/,$(INC))
50 SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include/arch := \
51         $(addprefix include/$(RTE_ARCH)/arch/,$(ARCH_INC))
52
53 # add libc if configured
54 DEPDIRS-$(CONFIG_RTE_LIBC) += lib/libc
55
56 include $(RTE_SDK)/mk/rte.install.mk