2 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
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/.
12 include $(srcdir)/../proto64.mk
14 pkginfo: pkginfo.tmpl ../awk_pkginfo
15 $(RM) $@; nawk -f ../awk_pkginfo $(srcdir)/$@.tmpl > $@
18 cat $(srcdir)/prototype | sed $(sed_proto64) > prototype
20 pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
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) $@
32 -$(RM) $(CLOBBERFILES) $(CLEANFILES)