pjs/nsprpub/pkg/solaris/Makefile.targ

29 строки
765 B
Makefile
Исходник Обычный вид История

#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile.targ,v 1.5 2004-11-29 16:26:02 christophe.ravel.bugs%sun.com Exp $"
#
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