Print this page
6852938 ettcp to be included into SFW consolidation

@@ -21,29 +21,27 @@
 
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "@(#)Makefile.sfw       1.1     09/06/29 SMI"
+# ident "@(#)Makefile.sfw       1.2     09/07/03 SMI"
 #
 
 VER =           $(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh)
 TARBALL =       $(VER).tar.gz
 
 include ../Makefile.cmd
 
-CONFIGURE_OPTIONS +=    PTHREAD_CFLAGS=-pthreads
-CONFIGURE_OPTIONS +=    CC=$(CC)
-
 all: $(VER)/config.status
-        (cd $(VER); env - CC="$(GCC)" $(CCSMAKE) all)
+        (cd $(VER); env - CC="$(GCC)" $(CCSMAKE) ettcp)
 
 install: all
         PKGDIR=$(VER) $(SHELL) ./install-sfw
 
 $(VER)/config.status: $(TARBALL)
-        /usr/bin/gzip -dc $(TARBALL) | tar xopf -
+        /usr/bin/gzip -dc $(TARBALL) | $(TAR) xopf -
+        (cd $(VER); $(GPATCH) -p0 < ../ettcp.Makefile.patch)
 
 clean:
         -rm -rf $(VER)
 
 include ../Makefile.targ