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#
3446N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2338N/A#
2338N/A
3177N/AINSTALL = /usr/bin/python2.7 ../../setup.py installfile
2508N/ALINT = lint
2535N/AMKDIR = mkdir -p
2508N/APROTO_AREA:sh = echo $(hg root)/proto/root_$(uname -p)
2535N/AZONES_LIBDIR = $(PROTO_AREA)/usr/lib/zones
2535N/AZONES_PROG = $(PROG:%=$(ZONES_LIBDIR)/%)
2338N/A
2665N/ALINTFLAGS = -asxm -u -errwarn=%all -errtags=yes -s -errsecurity=core \
3446N/A -m64 -Xc99
3060N/ACPPFLAGS = -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I../zoneproxyd
3223N/ACFLAGS = -errtags=yes -errwarn=%all -features=conststrings -m64 -xO4 \
3446N/A -W0,-xglobalstatic -Xa -xc99 -xildoff -xspace
2605N/ALDFLAGS = -Bdirect -zfatal-warnings -zguidance -zstrip-class=nonalloc
2338N/ALDLIBS =
2338N/A
2508N/ACLEANFILES = $(PROG) $(OBJS)
2508N/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
2338N/A$(ZONES_PROG): $(PROG)
2535N/A $(RM) $(ZONES_LIBDIR)/$(PROG); \
2535N/A $(MKDIR) -m 0755 $(ZONES_LIBDIR); \
2535N/A $(INSTALL) -m 0555 -d $(ZONES_LIBDIR) -f $(PROG)
2338N/A
2338N/Aclean:
2338N/A -$(RM) $(CLEANFILES)
2338N/A
2338N/Aclobber: clean
2338N/A -$(RM) $(CLOBBERFILES)