pjs/security/jss/pkg/solaris/Makefile.targ

32 строки
865 B
Makefile

#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile.targ,v 1.3 2003-01-14 20:26:36 glen.beasley%sun.com Exp $"
#
pkginfo: pkginfo.tmpl ../awk_pkginfo
$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
prototype: prototype_com prototype_$(MACH)
cat prototype_$(MACH) | sed -e \
'/^!include[ ][ ]*prototype_com/ r ./prototype_com' \
-e 's/^!include[ ][ ]*prototype_com//g' >prototype
pkg: $(PKGARCHIVE) pkgdepend prototype
pkgmk -f prototype_$(MACH) -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
$(PKGARCHIVE):
[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
$(DATAFILES):: %: ../common_files/%
$(RM) $@; cp ../common_files/$@ $@
$(MACHDATAFILES): %: ../common_files/%_$(MACH)
$(RM) $@; cp ../common_files/$@_$(MACH) $@
clobber clean::
-$(RM) $(CLOBBERFILES) $(CLEANFILES)
.PHONY: pkg