net/bnxt: add TCAM table processing for search and alloc
[dpdk.git] / mk / rte.combinedlib.mk
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2015 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 default: all
7
8 ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
9 EXT:=.so
10 else
11 EXT:=.a
12 endif
13
14 RTE_LIBNAME := dpdk
15 COMBINEDLIB := lib$(RTE_LIBNAME)$(EXT)
16
17 LIBS := $(filter-out $(COMBINEDLIB), $(sort $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT)))))
18
19 all: FORCE
20         $(Q)echo "GROUP ( $(LIBS) )" > $(RTE_OUTPUT)/lib/$(COMBINEDLIB)
21
22 #
23 # Clean all generated files
24 #
25 .PHONY: clean
26 clean:
27         $(Q)rm -f $(RTE_OUTPUT)/lib/$(COMBINEDLIB)
28
29 .PHONY: FORCE
30 FORCE: