usr/src/cmd/logrotate/Makefile.sfw
changeset 80 ffd98b71d008
parent 79 20193770d42b
child 81 7dce4becf5a2
--- a/usr/src/cmd/logrotate/Makefile.sfw	Sun May 15 10:12:12 2011 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +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.
-#
-#pragma ident	"@(#)Makefile.sfw	1.2	09/03/12 SMI"	/* optional comment */
-
-VER=logrotate-3.7.1
-
-include ../Makefile.cmd
-
-all: $(VER)/configure
-	rm -f $(VER)/.depend
-	(cd $(VER); env \
-	    LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
-	    CC=$(CC) CFLAGS="$(CFLAGS) -DVERSION=\\\"$(VER)\\\"" \
-	    PATH=$(SFW_PATH) \
-	    $(GMAKE) all)
-
-test:	# there aren't any
-
-install: all
-	$(SH) ./install-sfw
-
-$(VER)/configure: $(VER).tar.gz
-	gzip -dc $(VER).tar.gz | tar xopf -
-	patch ./logrotate-3.7.1/examples/logrotate-default < patch.logrotate-default
-	patch ./logrotate-3.7.1/logrotate.8 < patch.logrotate.8
-	patch ./logrotate-3.7.1/config.h < patch.config.h
-#
-# create configure file to aid make
-#
-	touch $(VER)/configure
-
-clean:
-	-rm -rf $(VER)
-
-include ../Makefile.targ