Blame nss/pkg/solaris/Makefile-devl.targ
|
Packit |
40b132 |
#
|
|
Packit |
40b132 |
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
|
Packit |
40b132 |
# Use is subject to license terms.
|
|
Packit |
40b132 |
#
|
|
Packit |
40b132 |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
40b132 |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
40b132 |
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit |
40b132 |
#
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
pkginfo: pkginfo.tmpl ../awk_pkginfo
|
|
Packit |
40b132 |
$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
pkg: $(PKGARCHIVE) prototype
|
|
Packit |
40b132 |
pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
$(PKGARCHIVE):
|
|
Packit |
40b132 |
[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
$(DATAFILES):: %: ../common_files/%
|
|
Packit |
40b132 |
$(RM) $@; cp ../common_files/$@ $@
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
$(MACHDATAFILES): %: ../common_files/%_$(MACH)
|
|
Packit |
40b132 |
$(RM) $@; cp ../common_files/$@_$(MACH) $@
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
clobber clean::
|
|
Packit |
40b132 |
-$(RM) $(CLOBBERFILES) $(CLEANFILES)
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
.PHONY: pkg
|