Makefile revision 2535
249N/A#
249N/A# CDDL HEADER START
249N/A#
249N/A# The contents of this file are subject to the terms of the
249N/A# Common Development and Distribution License (the "License").
249N/A# You may not use this file except in compliance with the License.
249N/A#
249N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
249N/A# or http://www.opensolaris.org/os/licensing.
249N/A# See the License for the specific language governing permissions
249N/A# and limitations under the License.
249N/A#
249N/A# When distributing Covered Code, include this CDDL HEADER in each
249N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
249N/A# If applicable, add the following below this CDDL HEADER, with the
249N/A# fields enclosed by brackets "[]" replaced with your own identifying
249N/A# information: Portions Copyright [yyyy] [name of copyright owner]
249N/A#
873N/A# CDDL HEADER END
249N/A#
249N/A#
249N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
249N/A#
249N/A
3232N/APROG = zoneproxyd
249N/ASRCS = zoneproxyd.c
249N/AHDR = zoneproxy_impl.h
249N/AOBJS = $(SRCS:%.c=%.o)
249N/A
249N/Ainclude ../Makefile.constants
249N/A
249N/AROOTHDIR = $(PROTO_AREA)/usr/include
249N/AROOTHDR = $(ROOTHDIR)/$(HDR)
249N/ACLOBBERFILES += $(ROOTHDR)
249N/A
249N/ALDLIBS += -lcontract -lsocket -lumem -lscf
249N/ACPPFLAGS += -mt -D_REENTRANT -D_FILE_OFFSET_BITS=64
249N/ALDFLAGS += -zassert-deflib=libthread.so -zassert-deflib=libcontract.so \
249N/A -zassert-deflib=libumem.so -zassert-deflib=libscf.so
249N/ALINTFLAGS += -erroff=E_SEC_CREAT_WITHOUT_EXCL -U__PRAGMA_REDEFINE_EXTNAME
249N/A
249N/A.KEEP_STATE:
249N/A
249N/A$(ROOTHDR): $(ROOTHDIR) $(HDR)
249N/A $(INSTALL) -m 0644 -d $(ROOTHDIR) -f $(HDR)
249N/A
249N/A$(ROOTHDIR):
249N/A $(MKDIR) -m 0755 $@
249N/A
249N/Aall: $(PROG)
249N/A
249N/Ainstall: $(ZONES_PROG) $(ROOTHDR)
249N/A
249N/Alint: lint_PROG
249N/A