nsprpub/pkg/solaris/Makefile-devl.targ

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rwxr-xr-x

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 #
michael@0 2 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
michael@0 3 # Use is subject to license terms.
michael@0 4 #
michael@0 5 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 6 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 8 #
michael@0 9 #ident "$Id$"
michael@0 10 #
michael@0 11
michael@0 12 include $(srcdir)/../proto64.mk
michael@0 13
michael@0 14 pkginfo: pkginfo.tmpl ../awk_pkginfo
michael@0 15 $(RM) $@; nawk -f ../awk_pkginfo $(srcdir)/$@.tmpl > $@
michael@0 16
michael@0 17 pkg: $(PKGARCHIVE)
michael@0 18 cat $(srcdir)/prototype | sed $(sed_proto64) > prototype
michael@0 19 cp $(srcdir)/depend .
michael@0 20 pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
michael@0 21
michael@0 22 $(PKGARCHIVE):
michael@0 23 [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
michael@0 24
michael@0 25 $(DATAFILES): %: $(srcdir)/../common_files/%
michael@0 26 $(RM) $@; cp $(srcdir)/../common_files/$@ $@
michael@0 27
michael@0 28 $(MACHDATAFILES): %: $(srcdir)/../common_files/%_$(MACH)
michael@0 29 $(RM) $@; cp $(srcdir)/../common_files/$@_$(MACH) $@
michael@0 30
michael@0 31 clobber clean::
michael@0 32 -$(RM) $(CLOBBERFILES) $(CLEANFILES)
michael@0 33
michael@0 34 .PHONY: pkg

mercurial