Makefile-devl.targ (947B)
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 $(srcdir)/$@.tmpl > $@ 16 17 pkg: $(PKGARCHIVE) 18 cat $(srcdir)/prototype | sed $(sed_proto64) > prototype 19 cp $(srcdir)/depend . 20 pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE) 21 22 $(PKGARCHIVE): 23 [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE) 24 25 $(DATAFILES): %: $(srcdir)/../common_files/% 26 $(RM) $@; cp $(srcdir)/../common_files/$@ $@ 27 28 $(MACHDATAFILES): %: $(srcdir)/../common_files/%_$(MACH) 29 $(RM) $@; cp $(srcdir)/../common_files/$@_$(MACH) $@ 30 31 clobber clean:: 32 -$(RM) $(CLOBBERFILES) $(CLEANFILES) 33 34 .PHONY: pkg