--- a/usr/src/cmd/bison/Makefile.sfw Mon Mar 21 01:50:01 2011 -0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +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 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "@(#)Makefile.sfw 1.9 08/02/09 SMI"
-#
-
-VER=bison-2.3
-VER64=$(VER)-64
-
-include ../Makefile.cmd
-
-SFW_PATH="$(SPRO_VROOT)/bin:/usr/perl5/bin:/usr/sfw/bin:/usr/bin:/usr/ccs/bin"
-
-all: real-all
-
-all32: $(VER)/config.status
- (cd $(VER); env - \
- CC=$(CC) \
- "CFLAGS=$(CFLAGS)" \
- PATH=$(SFW_PATH) \
- LD_OPTIONS="-M $(SRC)/cmd/mapfile_noexstk" \
- MAKE=$(CCSMAKE) $(CCSMAKE))
- @find . -name core -exec rm -f {} \;
-
-all64: $(VER64)/config.status
- (cd $(VER64)/lib; env - \
- CC=$(CC64) \
- "CFLAGS=$(CFLAGS64)" \
- PATH=$(SFW_PATH) \
- LD_OPTIONS="-M $(SRC)/cmd/mapfile_noexstk" \
- MAKE=$(CCSMAKE) $(CCSMAKE) liby.so.1)
- @find . -name core -exec rm -f {} \;
-
-install: all
- $(SH) ./install-bison
- MACH64=$(MACH64) $(SH) ./install-bison-64
-
-real-all: all32 all64
-
-$(VER)/config.status: $(VER)/configure
- (cd $(VER); env - \
- CC=$(CC) \
- "CFLAGS=$(CFLAGS)" \
- PATH=$(SFW_PATH) \
- MAKE=$(CCSMAKE) \
- ./configure --prefix=/usr)
-
-$(VER64)/config.status: $(VER64)/configure
- (cd $(VER64); env - \
- CC=$(CC64) \
- "CFLAGS=$(CFLAGS64)" \
- PATH=$(SFW_PATH) \
- MAKE=$(CCSMAKE) \
- ./configure --prefix=/usr)
-
-$(VER)/configure: $(VER).tar.gz
- mkdir -p tmp; gzip -dc $(VER).tar.gz | \
- (cd tmp; $(GTAR) xpf - --no-same-owner)
- mv tmp/$(VER) $(VER); rmdir tmp
- touch $(VER)/configure
- find $(VER) -type d -exec /usr/bin/chmod 755 "{}" \;
- find $(VER) -type f -exec /usr/bin/chmod ugo+r "{}" \;
- (cd $(VER); gpatch -p1 <../patch)
-
-$(VER64)/configure: $(VER).tar.gz
- mkdir -p tmp; gzip -dc $(VER).tar.gz | \
- (cd tmp; $(GTAR) xpf - --no-same-owner)
- mv tmp/$(VER) $(VER64); rmdir tmp
- touch $(VER64)/configure
- find $(VER64) -type d -exec /usr/bin/chmod 755 "{}" \;
- find $(VER64) -type f -exec /usr/bin/chmod ugo+r "{}" \;
- (cd $(VER64); gpatch -p1 <../patch)
-
-clean:
- -rm -rf $(VER)
- -rm -rf $(VER64)
-
-include ../Makefile.targ
-
-FRC: