Makefile-devl.targ (776B)
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 10 pkginfo: pkginfo.tmpl ../awk_pkginfo 11 $(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@ 12 13 pkg: $(PKGARCHIVE) prototype 14 pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE) 15 16 $(PKGARCHIVE): 17 [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE) 18 19 $(DATAFILES):: %: ../common_files/% 20 $(RM) $@; cp ../common_files/$@ $@ 21 22 $(MACHDATAFILES): %: ../common_files/%_$(MACH) 23 $(RM) $@; cp ../common_files/$@_$(MACH) $@ 24 25 clobber clean:: 26 -$(RM) $(CLOBBERFILES) $(CLEANFILES) 27 28 .PHONY: pkg