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#
2665N/A# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
2338N/A#
2338N/A
2338N/APROG = zoneproxyd
2338N/ASRCS = zoneproxyd.c
2338N/AHDR = zoneproxy_impl.h
2338N/AOBJS = $(SRCS:%.c=%.o)
2338N/A
2338N/Ainclude ../Makefile.constants
2338N/A
2338N/AROOTHDIR = $(PROTO_AREA)/usr/include
2338N/AROOTHDR = $(ROOTHDIR)/$(HDR)
2338N/ACLOBBERFILES += $(ROOTHDR)
2338N/A
2349N/ALDLIBS += -lcontract -lsocket -lumem -lscf
2665N/ACPPFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
2665N/ACFLAGS += -mt
2338N/ALINTFLAGS += -erroff=E_SEC_CREAT_WITHOUT_EXCL -U__PRAGMA_REDEFINE_EXTNAME
2338N/A
2338N/A.KEEP_STATE:
2338N/A
2535N/A$(ROOTHDR): $(ROOTHDIR) $(HDR)
2535N/A $(INSTALL) -m 0644 -d $(ROOTHDIR) -f $(HDR)
2535N/A
2535N/A$(ROOTHDIR):
2535N/A $(MKDIR) -m 0755 $@
2338N/A
2491N/Aall: $(PROG)
2491N/A
2338N/Ainstall: $(ZONES_PROG) $(ROOTHDR)
2338N/A
2338N/Alint: lint_PROG