Makefile.constants revision 2338
2338N/A#
2338N/A# CDDL HEADER START
2338N/A#
2338N/A# The contents of this file are subject to the terms of the
2338N/A# Common Development and Distribution License (the "License").
2338N/A# You may not use this file except in compliance with the License.
2338N/A#
2338N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2338N/A# or http://www.opensolaris.org/os/licensing.
2338N/A# See the License for the specific language governing permissions
2338N/A# and limitations under the License.
2338N/A#
2338N/A# When distributing Covered Code, include this CDDL HEADER in each
2338N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2338N/A# If applicable, add the following below this CDDL HEADER, with the
2338N/A# fields enclosed by brackets "[]" replaced with your own identifying
2338N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2338N/A#
2338N/A# CDDL HEADER END
2338N/A#
2338N/A#
2338N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2338N/A#
2338N/A
2338N/AMCS= mcs
2338N/ASTRIP= strip
2338N/AINSTALL= install
2338N/ASED= sed
2338N/ALINT= lint
2338N/AINS=install
2338N/APROTO_AREA:sh= echo $(hg root)/proto/root_$(uname -p)
2338N/AZONES_LIBDIR= $(PROTO_AREA)/usr/lib/zones
2338N/AZONES_PROG= $(PROG:%=$(ZONES_LIBDIR)/%)
2338N/A
2338N/ALINTFLAGS = -asxm -u -errtags=yes -s -errsecurity=core -Xc99=%none
2338N/ACPPFLAGS = -D_REENTRANT -I../zoneproxyd
2338N/ACFLAGS = -errtags=yes -errwarn=%all -features=conststrings -xO4 \
2338N/A -W0,-xglobalstatic -Xa -xc99=%none -xildoff -xspace
2338N/ALDFLAGS = -Bdirect -zassert-deflib=libc.so -zassert-deflib=libsocket.so \
2338N/A -zfatal-warnings -zguidance
2338N/ALDLIBS =
2338N/A
2338N/ACLEANFILES= $(PROG) $(OBJS)
2338N/ACLOBBERFILES= $(ZONES_PROG) $(ROOTHDRS)
2338N/A
2338N/Alint_PROG: $$(PROG).c
2338N/A $(LINT.c) $(PROG).c $(LDLIBS)
2338N/A
2338N/A.c:
2338N/A $(LINK.c) -o $@ $< $(LDLIBS)
2338N/A $(MCS) -d $@
2338N/A
2338N/A.c.o:
2338N/A $(COMPILE.c) $(OUTPUT_OPTION) $<
2338N/A $(MCS) -d $@
2338N/A
2338N/A$(ZONES_PROG): $(PROG)
2338N/A $(RM) -f $(ZONES_LIBDIR)/$(PROG); \
2338N/A $(INSTALL) -d -m 0755 $(ZONES_LIBDIR); \
2338N/A $(INSTALL) -s -m 0555 -f $(ZONES_LIBDIR) $(PROG)
2338N/A
2338N/Aclean:
2338N/A -$(RM) $(CLEANFILES)
2338N/A
2338N/Aclobber: clean
2338N/A -$(RM) $(CLOBBERFILES)