2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A#
2N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/ALIBRARY = nssscf.a
2N/AVERS =
2N/AOBJECTS = nssscf.o
2N/A
2N/APYSRCS= __init__.py dns.py files.py ldap.py messages.py \
2N/A nis.py nscd.py nssbase.py nsswitch.py
2N/A
2N/Ainclude ../../../Makefile.lib
2N/A
2N/ALIBLINKS =
2N/ASRCDIR = ../common
2N/AINSTALL_LIBDIR= usr/lib/python2.6/vendor-packages/nss
2N/APYTHON= $(PYTHON_26)
2N/APYOBJS= $(PYSRCS:%.py=$(SRCDIR)/%.pyc)
2N/APYFILES= $(PYSRCS) $(PYSRCS:%.py=%.pyc)
2N/AROOTPYNSSFILES= $(PYFILES:%=$(ROOTLIBDIR)/%)
2N/A
2N/AC99MODE= -xc99=%all
2N/AC99LMODE= -Xc99=%all
2N/A
2N/ALIBS = $(DYNLIB)
2N/ALDLIBS += -lc -lscf
2N/ACFLAGS += $(CCVERBOSE)
2N/ACPPFLAGS += -I/usr/include/python2.6
2N/ACPPFLAGS += -I../../../libsldap/common
2N/A
2N/ALINTFLAGS += -erroff=E_FUNC_ARG_UNUSED -erroff=E_NOP_IF_STMT
2N/ALINTFLAGS64 += -erroff=E_FUNC_ARG_UNUSED -erroff=E_NOP_IF_STMT
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall install := LDLIBS += -lpython2.6
2N/A
2N/Aall: stub $(PYOBJS) $(LIBS)
2N/A
2N/Ainstall: stubinstall all $(ROOTPYNSSFILES)
2N/A
2N/Alint: lintcheck
2N/A
2N/Ainclude ../../../Makefile.targ