security/nss/pkg/solaris/Makefile.targ

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/pkg/solaris/Makefile.targ	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +#
     1.5 +# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
     1.6 +# Use is subject to license terms.
     1.7 +#
     1.8 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.9 +# License, v. 2.0. If a copy of the MPL was not distributed with this
    1.10 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
    1.11 +#
    1.12 +
    1.13 +include ../proto64.mk
    1.14 +
    1.15 +pkginfo: pkginfo.tmpl ../awk_pkginfo
    1.16 +	$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
    1.17 +
    1.18 +prototype:  prototype_com prototype_$(MACH)
    1.19 +	cat prototype_$(MACH) |  sed -e \
    1.20 +'/^!include[    ][  ]*prototype_com/ r ./prototype_com' \
    1.21 +-e 's/^!include[    ][  ]*prototype_com//g' \
    1.22 + | sed $(sed_proto64) >prototype
    1.23 +
    1.24 +pkg: $(PKGARCHIVE) prototype
    1.25 +	pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
    1.26 +
    1.27 +$(PKGARCHIVE):
    1.28 +	[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
    1.29 +
    1.30 +$(DATAFILES):: %: ../common_files/%
    1.31 +	$(RM) $@; cp ../common_files/$@ $@
    1.32 +
    1.33 +$(MACHDATAFILES): %: ../common_files/%_$(MACH)
    1.34 +	$(RM) $@; cp ../common_files/$@_$(MACH) $@
    1.35 +
    1.36 +clobber clean::
    1.37 +	-$(RM) $(CLOBBERFILES) $(CLEANFILES)
    1.38 +
    1.39 +.PHONY: pkg

mercurial