Makefile.targ (892B)
1 # 2 # Copyright 2005 Sun Microsystems, Inc. All rights reserved. 3 # Use is subject to license terms. 4 # 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/. 8 # 9 #ident "$Id$" 10 # 11 12 include $(srcdir)/../proto64.mk 13 14 pkginfo: pkginfo.tmpl ../awk_pkginfo 15 $(RM) $@; nawk -f ../awk_pkginfo $< > $@ 16 17 pkg: $(PKGARCHIVE) prototype_$(MACH) 18 cp $(srcdir)/prototype_com . 19 cat $(srcdir)/prototype_$(MACH) | sed $(sed_proto64) > prototype_$(MACH) 20 cp $(srcdir)/depend . 21 pkgmk -f prototype_$(MACH) -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE) 22 23 $(PKGARCHIVE): 24 [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE) 25 26 $(DATAFILES): %: $(srcdir)/../common_files/% 27 $(RM) $@; cp $(srcdir)/../common_files/$@ $@ 28 29 clobber clean:: 30 -$(RM) $(CLOBBERFILES) $(CLEANFILES) 31 32 .PHONY: pkg