Makefile revision 092954728e04e1b05a0c815116aa5f4acfb46373
#
# 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
# 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 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
# build two versions, su and su.static
# su.static is dynamically linked; the .static suffix is historical.
FILEMODE = 04555
# A reduced su.static is created, with just enough functionality
# to satisfy the needs of a single-user login with /usr not mounted.
# In particular, nss_files.so.1 may be dlopen()'ed at runtime.
# The standard su is fully functional.
LINTFLAGS += -DDYNAMIC_SU
$(ROOTFS_PROG): $(PROG).c
$(POST_PROCESS)
$(ROOTSBINPROG): $(ROOTPROG)
$(RM) $(ROOTSBINPROG); \
$(ROOTEMB_PROG):
$(RM) $(ROOTEMB_PROG); \
$(EMB_PROG):