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