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 7CORE_DEPTH = ../.. 8DEPTH = ../.. 9 10include $(CORE_DEPTH)/coreconf/config.mk 11 12publish: 13ifeq ($(OS_TARGET),Linux) 14 rm -rf $(OBJDIR) 15 cp -r linux $(OBJDIR) 16 $(MAKE) -C $(OBJDIR) publish 17endif 18ifeq ($(OS_TARGET),SunOS) 19 rm -rf $(OBJDIR) 20 cp -r solaris $(OBJDIR) 21 $(MAKE) -C $(OBJDIR) publish 22endif 23 24clean:: 25 rm -rf $(OBJDIR) 26 27include $(CORE_DEPTH)/coreconf/rules.mk 28