Makefile (24da5b34f49324ed742a340010ed5bd3d4e06625) Makefile (f6acbf7c6543dc0aab58cae1df419f0147c46d77)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
22# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
25# ident "%Z%%M% %I% %E% SMI"
26#
27
28LIBRARY= libnisdb.a
29VERS= .2
30PROTOCOL_DIR= $(ROOT)/include/rpcsvc

--- 109 unchanged lines hidden (view full) ---

140# Extra includes, from yp, for yptol files.
141CPPFLAGS += -I$(SRC)/cmd/ypcmd
142
143LIBS = $(DYNLIB)
144ZDEFS=
145LDLIBS += -lnsl -lldap -lc
146
147# A number of interfaces are interposed by numerous applications, therefore
23# Use is subject to license terms.
24#
25# ident "%Z%%M% %I% %E% SMI"
26#
27
28LIBRARY= libnisdb.a
29VERS= .2
30PROTOCOL_DIR= $(ROOT)/include/rpcsvc

--- 109 unchanged lines hidden (view full) ---

140# Extra includes, from yp, for yptol files.
141CPPFLAGS += -I$(SRC)/cmd/ypcmd
142
143LIBS = $(DYNLIB)
144ZDEFS=
145LDLIBS += -lnsl -lldap -lc
146
147# A number of interfaces are interposed by numerous applications, therefore
148# prevent direct binding to anything in this shared object. In addition,
149# libnisdb.so.1 interposes on socket().
150DYNFLAGS += $(BNODIRECT) $(ZINTERPOSE)
148# prevent direct binding to anything in libnisdb. Disable libnisdb from
149# directly binding to itself, but allow libnisdb to directly bind to its
150# dependencies (ie. map -Bdirect -> -zdirect). Ensure lazy loading is
151# established (which is enabled automatically with -Bdirect). In addition,
152# libnisdb interposes on socket(), so tag this library as an interposer.
153# dependencies (lazyload).
154BDIRECT =
155DYNFLAGS += $(BNODIRECT) $(ZINTERPOSE) $(ZDIRECT) $(ZLAZYLOAD)
151
152all := TARGET= all
153clean := TARGET= clean
154clobber := TARGET= clobber
155install := TARGET= install
156lint := TARGET= lint
157
158.KEEP_STATE:

--- 45 unchanged lines hidden ---
156
157all := TARGET= all
158clean := TARGET= clean
159clobber := TARGET= clobber
160install := TARGET= install
161lint := TARGET= lint
162
163.KEEP_STATE:

--- 45 unchanged lines hidden ---