Makefile revision 134a1f4e3289b54e0f980e9cf05352e419a60bee
278N/A#
278N/A# CDDL HEADER START
278N/A#
278N/A# The contents of this file are subject to the terms of the
278N/A# Common Development and Distribution License (the "License").
278N/A# You may not use this file except in compliance with the License.
278N/A#
278N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
278N/A# or http://www.opensolaris.org/os/licensing.
278N/A# See the License for the specific language governing permissions
278N/A# and limitations under the License.
278N/A#
278N/A# When distributing Covered Code, include this CDDL HEADER in each
278N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
278N/A# If applicable, add the following below this CDDL HEADER, with the
278N/A# fields enclosed by brackets "[]" replaced with your own identifying
278N/A# information: Portions Copyright [yyyy] [name of copyright owner]
278N/A#
278N/A# CDDL HEADER END
278N/A#
5680N/A#
278N/A# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/A
5680N/APROG= pfexec
278N/ASRCS= $(PROG:%=%.c)
278N/APFEXEC= pfexec
1244N/A
4823N/ABINSHELLS = bash csh ksh ksh93 rksh rksh93 sh tcsh zsh
618N/A
1244N/Ainclude ../Makefile.cmd
1244N/A
844N/AFILEMODE = 0555
4823N/A
3351N/AROOTBINPFEXEC = $(PFEXEC:%=$(ROOTBIN)/%)
278N/A
4823N/A.KEEP_STATE:
3351N/A
3351N/Aall: $(PROG)
5680N/A
3351N/Ainstall: all $(ROOTBINPFEXEC)
278N/A for s in $(BINSHELLS); do \
278N/A $(RM) $(ROOTBIN)/pf$$s; \
278N/A $(LN) $(ROOTBIN)/pfexec $(ROOTBIN)/pf$$s; \
278N/A done
$(RM) $(ROOTXPG4BIN)/pfsh
$(LN) $(ROOTBIN)/pfexec $(ROOTXPG4BIN)/pfsh
$(RM) $(ROOTSBIN)/pfsh
$(SYMLINK) ../usr/bin/pfexec $(ROOTSBIN)/pfsh
$(RM) $(ROOTHASBIN)/pfsh
$(LN) $(ROOTBIN)/pfexec $(ROOTHASBIN)/pfsh
$(RM) $(ROOTHASBIN)/pfksh
$(LN) $(ROOTBIN)/pfexec $(ROOTHASBIN)/pfksh
clean:
lint: lint_SRCS
include ../Makefile.targ