Files
Mozilla/mozilla/security/nss/pkg/solaris/Makefile
kirk.erickson%sun.com 7d8cb29268 Made 'solarispkg' copy pkg/solars to pkg/$(OBJDIR), and go there to
build packages.  This addresses the problems Sonja reported which
resulted from building in the same tree nfs'd from multiple platforms
simultaneously.  Also removed -$(MACH) and ROOT-$OBJDIR changes that
failed to address this problem.


git-svn-id: svn://10.0.0.236/trunk@134011 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 17:26:51 +00:00

57 lines
951 B
Makefile

#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile,v 1.4 2002-11-17 17:26:51 kirk.erickson%sun.com Exp $"
#
CORE_DEPTH = ../../..
%: %.ksh
$(RM) $@
cp $< $@
chmod +x $@
ifeq ($(USE_64), 1)
DIRS = \
SUNWtlsx
else
DIRS = \
SUNWtls
endif
PROTO = \
$(ROOT) \
$(ROOT)/usr \
$(ROOT)/usr/lib \
$(ROOT)/usr/lib/mps
ifdef USE_64
PROTO += $(ROOT)/usr/lib/mps/sparcv9
endif
include Makefile.com
awk_pkginfo: bld_awk_pkginfo
./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)
all:: awk_pkginfo $(PROTO)
publish: awk_pkginfo $(PROTO)
+$(LOOP_OVER_DIRS)
clean clobber::
$(RM) awk_pkginfo bld_awk_pkginfo
$(RM) -r $(ROOT)
$(ROOT) $(ROOT)/%:
mkdir -p $@
ifdef USE_64
$(ROOT)/usr/lib/mps/sparcv9: $(ROOT)/usr/lib
$(LN) -sf ../../../../$(DIST)/lib $@
else
$(ROOT)/usr/lib/mps: $(ROOT)/usr/lib
$(LN) -sf ../../../$(DIST)/lib $@
endif