Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 | |
michael@0 | 10 | include ../proto64.mk |
michael@0 | 11 | |
michael@0 | 12 | pkginfo: pkginfo.tmpl ../awk_pkginfo |
michael@0 | 13 | $(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@ |
michael@0 | 14 | |
michael@0 | 15 | prototype: prototype_com prototype_$(MACH) |
michael@0 | 16 | cat prototype_$(MACH) | sed -e \ |
michael@0 | 17 | '/^!include[ ][ ]*prototype_com/ r ./prototype_com' \ |
michael@0 | 18 | -e 's/^!include[ ][ ]*prototype_com//g' \ |
michael@0 | 19 | | sed $(sed_proto64) >prototype |
michael@0 | 20 | |
michael@0 | 21 | pkg: $(PKGARCHIVE) prototype |
michael@0 | 22 | pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE) |
michael@0 | 23 | |
michael@0 | 24 | $(PKGARCHIVE): |
michael@0 | 25 | [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE) |
michael@0 | 26 | |
michael@0 | 27 | $(DATAFILES):: %: ../common_files/% |
michael@0 | 28 | $(RM) $@; cp ../common_files/$@ $@ |
michael@0 | 29 | |
michael@0 | 30 | $(MACHDATAFILES): %: ../common_files/%_$(MACH) |
michael@0 | 31 | $(RM) $@; cp ../common_files/$@_$(MACH) $@ |
michael@0 | 32 | |
michael@0 | 33 | clobber clean:: |
michael@0 | 34 | -$(RM) $(CLOBBERFILES) $(CLEANFILES) |
michael@0 | 35 | |
michael@0 | 36 | .PHONY: pkg |