diff -r 37d545eabfea -r 8f1801a322e9 usr/src/cmd/acpidump/Makefile.sfw --- a/usr/src/cmd/acpidump/Makefile.sfw Sun Dec 20 07:09:18 2009 +0200 +++ b/usr/src/cmd/acpidump/Makefile.sfw Sun Dec 20 07:12:51 2009 +0200 @@ -23,19 +23,25 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "@(#)Makefile.sfw 1.1 09/10/26 SMI" +#ident "@(#)Makefile.sfw 1.2 09/11/03 SMI" # -VER = $(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh) - include ../Makefile.cmd -all: $(VER) +VER = $(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh) +TARBALL=$(VER).tar.gz +PATCHES= Patches/pmtools-01.patch +GPATCH_FLAGS= -p1 + +all: $(VER)/.patched (cd $(VER); env - MAKE=$(GMAKE) CC=$(GCC) $(GMAKE)) install: install-protofix install-target: all + for pkg in $(COMPONENT_PACKAGES:sh) ; do \ + $(SRC)/tools/protofix --pkg $$pkg --perm --write ; \ + done (cd $(VER); env - MAKE=$(GMAKE) DESTDIR=$(ROOTBIN) $(GMAKE) install) $(SHELL) ./install-sfw @@ -45,11 +51,6 @@ done -$(VER): $(VER).tar.gz - gzip -d $(VER).tar.gz; $(TAR) oxpf $(VER).tar - $(GPATCH) -p0 $(VER)/acpidump/acpidump.c Patches/pmtools-01.patch - gzip $(VER).tar - clean: -$(RM) -r $(VER)