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