X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2FMakefile;h=39fa163decb71c3fef3ff30003a2e3175b463a79;hb=e9d48c0072d36eb6423b45fba4ec49d0def6c36f;hp=1a56fb5638e6609585c08a1bea5b6b3a312b52f3;hpb=277afaf3dbcb9cf6229db213f4583bb1206c54cc;p=dpdk.git diff --git a/app/test/Makefile b/app/test/Makefile index 1a56fb5638..39fa163dec 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -1,6 +1,6 @@ # BSD LICENSE # -# Copyright(c) 2010-2013 Intel Corporation. All rights reserved. +# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -89,14 +89,25 @@ SRCS-$(CONFIG_RTE_APP_TEST) += test_red.c SRCS-$(CONFIG_RTE_APP_TEST) += test_sched.c SRCS-$(CONFIG_RTE_APP_TEST) += test_meter.c SRCS-$(CONFIG_RTE_APP_TEST) += test_kni.c -SRCS-$(CONFIG_RTE_APP_TEST) += test_pmac_acl.c SRCS-$(CONFIG_RTE_APP_TEST) += test_power.c SRCS-$(CONFIG_RTE_APP_TEST) += test_common.c SRCS-$(CONFIG_RTE_APP_TEST) += test_timer_perf.c +ifeq ($(CONFIG_RTE_APP_TEST),y) +SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_acl.c +SRCS-$(CONFIG_RTE_LIBRTE_PMD_RING) += test_pmd_ring.c +endif + CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) +# Disable warnings of deprecated-declarations in test_kni.c +ifeq ($(CC), icc) +CFLAGS_test_kni.o += -wd1478 +else +CFLAGS_test_kni.o += -Wno-deprecated-declarations +endif + # this application needs libraries first DEPDIRS-$(CONFIG_RTE_APP_TEST) += lib