1 # Copyright (c) 2017 Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http:#www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
16 $(error "Please define RTE_SDK environment variable")
19 # Default target, can be overriden by command line or environment
20 RTE_TARGET ?= x86_64-native-linuxapp-gcc
22 include $(RTE_SDK)/mk/rte.vars.mk
27 # all source are stored in SRCS-y
28 SRCS-y := main.c l2_proto.c interface.c lib_arp.c lib_icmpv6.c l3fwd_main.c l3fwd_lpm4.c l3fwd_lpm6.c bond.c tsx.c hle.c
31 CFLAGS += -O3 $(USER_FLAGS)
32 CFLAGS += $(WERROR_FLAGS)
35 include $(RTE_SDK)/mk/rte.extapp.mk