common.node 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ##############################################################################
  2. #
  3. # Copyright 2012 - 2021 Vivante Corporation, Santa Clara, California.
  4. # All Rights Reserved.
  5. #
  6. # Permission is hereby granted, free of charge, to any person obtaining
  7. # a copy of this software and associated documentation files (the
  8. # 'Software'), to deal in the Software without restriction, including
  9. # without limitation the rights to use, copy, modify, merge, publish,
  10. # distribute, sub license, and/or sell copies of the Software, and to
  11. # permit persons to whom the Software is furnished to do so, subject
  12. # to the following conditions:
  13. #
  14. # The above copyright notice and this permission notice (including the
  15. # next paragraph) shall be included in all copies or substantial
  16. # portions of the Software.
  17. #
  18. # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  19. # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  20. # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
  21. # IN NO EVENT SHALL VIVANTE AND/OR ITS SUPPLIERS BE LIABLE FOR ANY
  22. # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  23. # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  24. # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  25. #
  26. ##############################################################################
  27. #
  28. # Common makefile for the node.
  29. #
  30. ################################################################################
  31. # Specify the targets.
  32. .PHONY: all clean install $(MODULES)
  33. all: $(MAIN_MODULE)
  34. clean: all
  35. clean: V_TARGET := clean
  36. install: all
  37. install: V_TARGET := install
  38. $(MODULES):
  39. @test ! -d $@ || $(MAKE) --makefile=makefile.linux --directory=$@ $(V_TARGET) gcdSTATIC_LINK=$(gcdSTATIC_LINK)