X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=f5fa3398ea40c8d89832e1391665684857b1979b;hb=34eb5d423d8d5851d0e901114d359c91acf05c4e;hp=bba90eaebf8446665a2c992cae6d1ee69dd3021a;hpb=0be5ec304d2d4cfc6faecbb519ef165d9ab5d34e;p=vpp.git diff --git a/src/Makefile.am b/src/Makefile.am index bba90eaebf8..f5fa3398ea4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,8 +17,10 @@ AUTOMAKE_OPTIONS = foreign subdir-objects ACLOCAL_AMFLAGS = -I m4 +AM_LIBTOOLFLAGS = --quiet -AM_CFLAGS = -Wall +AM_CFLAGS = @CPU_FLAGS@ -Wall +AM_CXXFLAGS = -Wall -std=gnu++11 SUBDIRS = . SUFFIXES = .api.h .api .api.json @@ -27,27 +29,15 @@ noinst_HEADERS = dist_bin_SCRIPTS = lib_LTLIBRARIES = BUILT_SOURCES = - -############################################################################### -# DPDK -############################################################################### - -if WITH_DPDK -if ENABLE_DPDK_SHARED -DPDK_LD_FLAGS = -Wl,--whole-archive,-ldpdk,--no-whole-archive -else -DPDK_LD_FLAGS = -Wl,--whole-archive,-l:libdpdk.a,--no-whole-archive -endif -if WITH_DPDK_CRYPTO -DPDK_LD_ADD = -L$(AESNI_MULTI_BUFFER_LIB_PATH) -lIPSec_MB -endif -if WITH_DPDK_MLX5_PMD -DPDK_LD_FLAGS += -libverbs -lmlx5 -lnuma -endif -else -DPDK_LD_FLAGS = -DPDK_LD_ADD = -endif +CLEANFILES = +install-data-local: + @echo "Building vppctl command list..." + @DIR_SEARCH="$(srcdir)" ; \ + DIR_EXCLUDE="examples" ; \ + GREP_TIME=`time (grep -wIr "\.path = " $$DIR_SEARCH --exclude-dir=$$DIR_EXCLUDE \ + | cut -d '"' -f2 | sort -u > $(srcdir)/scripts/vppctl-cmd-list) 2>&1` ; \ + GREP_TIME=`echo $$GREP_TIME | awk '{print $$2}'` ; \ + echo "Command list built, Time taken: $$GREP_TIME" ############################################################################### # Components @@ -78,17 +68,16 @@ include vlib-api.am include vnet.am include vpp.am include vpp-api-test.am +include vcl.am SUBDIRS += plugins +SUBDIRS += vpp-api/vapi if ENABLE_PAPI +include vpp-api.am SUBDIRS += vpp-api/python endif -if ENABLE_JAPI -SUBDIRS += vpp-api/java -endif - ############################################################################### # API ############################################################################### @@ -106,3 +95,5 @@ BUILT_SOURCES += \ endif # if ENABLE_VLIB endif # if ENABLE_SVM + +CLEANFILES += $(BUILT_SOURCES) $(api_DATA)