usr/src/lib/python26-pyopenssl/Makefile.sfw
changeset 72 82bde2a81435
parent 71 121736d79438
child 73 73cc228b67a6
--- a/usr/src/lib/python26-pyopenssl/Makefile.sfw	Mon Mar 21 01:03:46 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident	"@(#)Makefile.sfw	1.2	09/04/27 SMI"
-#
-
-VER= $(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh)
-VER64=$(VER)-64
-
-include ../Makefile.lib
-
-all: all32 all64
-
-all32: $(VER)/setup.py
-	(cd $(VER); env - \
-	    CC=$(CC) PATH=$(SFW_PATH) \
-	    $(PYTHON26) setup.py build)
-
-all64: $(VER64)/setup.py
-	(cd $(VER64); env - \
-	    CC=$(CC64) "CFLAGS=$(CFLAGS64)" PATH=$(SFW_PATH) \
-	    $(PYTHON26_64) setup.py build)
-
-$(VER)/setup.py: $(VER).tar.gz
-	mkdir -p tmp; gzip -dc $(VER).tar.gz | (cd tmp; tar xopf -)
-	mv tmp/$(VER) $(VER); rmdir tmp
-	touch $(VER)/setup.py
-
-$(VER64)/setup.py: $(VER).tar.gz
-	mkdir -p tmp; gzip -dc $(VER).tar.gz | (cd tmp; tar xopf -)
-	mv tmp/$(VER) $(VER64); rmdir tmp
-	touch $(VER64)/setup.py
-
-install: all
-	(cd $(VER); $(PYTHON26) setup.py install --install-platlib=./)
-	(cd $(VER64); $(PYTHON26_64) setup.py install --install-platlib=./)
-	VER=$(VER) VER64=$(VER64) $(SHELL) ./install-sfw
-
-clean:
-	-rm -rf $(VER) $(VER64)
-
-install_h:
-
-include ../Makefile.targ
-