Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# CDDL HEADER START
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# The contents of this file are subject to the terms of the
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Common Development and Distribution License (the "License").
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# You may not use this file except in compliance with the License.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# See the License for the specific language governing permissions
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# and limitations under the License.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# When distributing Covered Code, include this CDDL HEADER in each
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# If applicable, add the following below this CDDL HEADER, with the
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner]
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# CDDL HEADER END
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Use is subject to license terms.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# build two versions, su and su.static
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# su.static is dynamically linked; the .static suffix is historical.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# set /usr/bin/su to 4555; set /sbin/su.static to 0555
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# A reduced su.static is created, with just enough functionality
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# to satisfy the needs of a single-user login with /usr not mounted.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# In particular, nss_files.so.1 may be dlopen()'ed at runtime.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# The standard su is fully functional.
$(POST_PROCESS)
$(ROOTEMB_PROG):
$(EMB_PROG):