Makefile.com revision 06e1a7147edd272b7296f208141627a5b1191731
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 2006 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
2N/A# ident "%Z%%M% %I% %E% SMI"
2N/A#
2N/A
2N/ALIBRARY= passwdutil.a
2N/AVERS= .1
2N/AOBJ= __check_history.o \
2N/A __set_authtoken_attr.o \
2N/A __get_authtoken_attr.o \
2N/A __user_to_authenticate.o \
2N/A __verify_rpc_passwd.o \
2N/A __failed_count.o \
2N/A files_attr.o \
2N/A nis_attr.o \
2N/A npd_clnt.o \
2N/A nisplus_attr.o \
2N/A ldap_attr.o \
2N/A nss_attr.o \
2N/A switch_utils.o \
2N/A utils.o \
2N/A debug.o \
2N/A bsd-strsep.o
2N/A
2N/ADERIVED_OBJ= nispasswd_xdr.o
2N/A
2N/AOBJECTS= $(OBJ) $(DERIVED_OBJ)
2N/A
2N/Ainclude ../../Makefile.lib
2N/A
2N/A#
2N/A# Since our name doesn't start with "lib", Makefile.lib incorrectly
2N/A# calculates LIBNAME. Therefore, we set it here.
2N/A#
2N/ALIBNAME= passwdutil
2N/A
2N/ALIBS= $(DYNLIB) $(LINTLIB)
2N/A$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
2N/ALDLIBS += -lsldap -lnsl -lc
2N/A
2N/ACPPFLAGS += -DENABLE_SUNOS_AGING -D_REENTRANT \
2N/A -I$(SRC)/lib/libsldap/common -I$(SRC)/lib/libnsl/include
2N/ACFLAGS += $(CCVERBOSE)
2N/A
2N/A#
2N/A# We depend upon a rpcgen file. Specify some additional macros
2N/A# to correctly build and get rid of the derived file
2N/A#
2N/APROTOCOL_DIR= ../../../head/rpcsvc
2N/ADERIVED_FILES= ../nispasswd_xdr.c
2N/ACLOBBERFILES += $(DERIVED_FILES)
2N/A
2N/A#
2N/A# Don't lint derived files
2N/A#
2N/Alint := SRCS= $(OBJ:%.o=$(SRCDIR)/%.c)
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall: $(LIBS)
2N/A
2N/A../nispasswd_xdr.c: $(PROTOCOL_DIR)/nispasswd.x
2N/A $(RPCGEN) -c -C -M $(PROTOCOL_DIR)/nispasswd.x > ../nispasswd_xdr.c
2N/A
2N/Alint: lintcheck
2N/A
2N/Ainclude ../../Makefile.targ
2N/A