solution.mk 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. ##
  2. ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
  3. ##
  4. ## Use of this source code is governed by a BSD-style license
  5. ## that can be found in the LICENSE file in the root of the source
  6. ## tree. An additional intellectual property rights grant can be found
  7. ## in the file PATENTS. All contributing project authors may
  8. ## be found in the AUTHORS file in the root of the source tree.
  9. ##
  10. # libvpx reverse dependencies (targets that depend on libvpx)
  11. VPX_NONDEPS=$(addsuffix .$(VCPROJ_SFX),vpx gtest)
  12. VPX_RDEPS=$(foreach vcp,\
  13. $(filter-out $(VPX_NONDEPS),$^), --dep=$(vcp:.$(VCPROJ_SFX)=):vpx)
  14. vpx.sln: $(wildcard *.$(VCPROJ_SFX))
  15. @echo " [CREATE] $@"
  16. $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
  17. $(if $(filter vpx.$(VCPROJ_SFX),$^),$(VPX_RDEPS)) \
  18. --dep=test_libvpx:gtest \
  19. --ver=$(CONFIG_VS_VERSION)\
  20. --out=$@ $^
  21. vpx.sln.mk: vpx.sln
  22. @true
  23. PROJECTS-yes += vpx.sln vpx.sln.mk
  24. -include vpx.sln.mk
  25. # Always install this file, as it is an unconditional post-build rule.
  26. INSTALL_MAPS += src/% $(SRC_PATH_BARE)/%
  27. INSTALL-SRCS-yes += $(target).mk