security/nss/pkg/Makefile

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/pkg/Makefile	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +#! gmake
     1.5 +#
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +CORE_DEPTH = ../..
    1.11 +DEPTH      = ../..
    1.12 +
    1.13 +include $(CORE_DEPTH)/coreconf/config.mk
    1.14 +
    1.15 +publish:
    1.16 +ifeq ($(OS_TARGET),Linux)
    1.17 +	rm -rf $(OBJDIR)
    1.18 +	cp -r linux $(OBJDIR)
    1.19 +	$(MAKE) -C $(OBJDIR) publish
    1.20 +endif
    1.21 +ifeq ($(OS_TARGET),SunOS)
    1.22 +	rm -rf $(OBJDIR)
    1.23 +	cp -r solaris $(OBJDIR)
    1.24 +	$(MAKE) -C $(OBJDIR) publish
    1.25 +endif
    1.26 +
    1.27 +clean::
    1.28 +	rm -rf $(OBJDIR)
    1.29 +
    1.30 +include $(CORE_DEPTH)/coreconf/rules.mk

mercurial