Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# CDDL HEADER START
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# The contents of this file are subject to the terms of the
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Common Development and Distribution License (the "License").
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# You may not use this file except in compliance with the License.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# See the License for the specific language governing permissions
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# and limitations under the License.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# When distributing Covered Code, include this CDDL HEADER in each
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# If applicable, add the following below this CDDL HEADER, with the
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# fields enclosed by brackets "[]" replaced with your own identifying
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# information: Portions Copyright [yyyy] [name of copyright owner]
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# CDDL HEADER END
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Use is subject to license terms.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# ident "%Z%%M% %I% %E% SMI"
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Makefile for name service cache daemon
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangOBJS= server.o getpw.o getgr.o gethost.o getnode.o \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang nscd_init.o nscd_access.o nscd_cfgfile.o nscd_config.o \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang nscd_log.o nscd_nswconfig.o nscd_nswstate.o nscd_nswcfgst.o \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang nscd_switch.o nscd_nswparse.o nscd_initf.o nscd_selfcred.o \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# nscd interposes on many symbols, and must export others for its own dlsym()
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# use, and dlsym() calls from libc. Itemizing the interfaces within a mapfile
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# is error-prone, so establish the whole object as an interposer.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# TCOV_FLAG= -ql
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# GPROF_FLAG= -xpg
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# DEBUG_FLAG= -g
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangPROGLIBS= $(LDLIBS) -lresolv -lnsl -lsocket -lumem -lscf -lavl
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# install macros and rule
${POST_PROCESS}
${POST_PROCESS}
lint:
${ROOTUSRSBIN}/%: %
${INS.file}
${ROOTUSRLIB}/%: %
${INS.file}