Makefile 577 B

12345678910111213141516171819202122232425262728
  1. #! gmake
  2. #
  3. # This Source Code Form is subject to the terms of the Mozilla Public
  4. # License, v. 2.0. If a copy of the MPL was not distributed with this
  5. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. CORE_DEPTH = ../..
  7. DEPTH = ../..
  8. include $(CORE_DEPTH)/coreconf/config.mk
  9. publish:
  10. ifeq ($(OS_TARGET),Linux)
  11. rm -rf $(OBJDIR)
  12. cp -r linux $(OBJDIR)
  13. $(MAKE) -C $(OBJDIR) publish
  14. endif
  15. ifeq ($(OS_TARGET),SunOS)
  16. rm -rf $(OBJDIR)
  17. cp -r solaris $(OBJDIR)
  18. $(MAKE) -C $(OBJDIR) publish
  19. endif
  20. clean::
  21. rm -rf $(OBJDIR)
  22. include $(CORE_DEPTH)/coreconf/rules.mk