# 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
@[ -d $(RTE_OUTPUT)/include ] || mkdir -p $(RTE_OUTPUT)/include
@$(RTE_SDK)/scripts/gen-config-h.sh $(RTE_OUTPUT)/.config \
> $(RTE_OUTPUT)/include/rte_config.h
- $(Q)$(MAKE) -f $(RTE_SDK)/Makefile gcovclean
+ $(Q)$(MAKE) -f $(RTE_SDK)/GNUmakefile gcovclean
@echo Clean complete
.SECONDEXPANSION:
@[ -d $(BUILDDIR)/$@ ] || mkdir -p $(BUILDDIR)/$@
@echo "== Build $@"
$(Q)$(MAKE) S=$@ -f $(RTE_SRCDIR)/$@/Makefile -C $(BUILDDIR)/$@ all
+ @if [ $@ = lib -a $(RTE_BUILD_COMBINE_LIBS) = y ]; then \
+ $(MAKE) -f $(RTE_SDK)/lib/Makefile sharelib; \
+ fi
%_clean:
@echo "== Clean $*"