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#
2N/A# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/A#
2N/A# lib/libsmbfs/Makefile.com
2N/A#
2N/A
2N/ALIBRARY= libsmbfs.a
2N/AVERS= .1
2N/A
2N/A# leaving out: kiconv.o
2N/A
2N/AOBJ_LIB=\
2N/A smbfs_acl.o \
2N/A smbfs_connect.o \
2N/A smbfs_crypt.o \
2N/A smbfs_ctx.o \
2N/A smbfs_derparse.o \
2N/A smbfs_door.o \
2N/A smbfs_file.o \
2N/A smbfs_gss.o \
2N/A smbfs_iod_cl.o \
2N/A smbfs_keychain.o \
2N/A smbfs_mbuf.o \
2N/A smbfs_nb.o \
2N/A smbfs_nb_ssn.o \
2N/A smbfs_nbns_rq.o \
2N/A smbfs_negprot.o \
2N/A smbfs_ntlm.o \
2N/A smbfs_ntlmssp.o \
2N/A smbfs_print.o \
2N/A smbfs_pwdutil.o \
2N/A smbfs_rq.o \
2N/A smbfs_signing.o \
2N/A smbfs_spnego.o \
2N/A smbfs_spnegoparse.o \
2N/A smbfs_ssnsetup.o \
2N/A smbfs_ssp.o \
2N/A smbfs_utf_str.o \
2N/A smbfs_util.o \
2N/A smbfs_vc.o \
2N/A
2N/AOBJ_CMN= smbfs_ntacl.o
2N/A
2N/AOBJECTS= $(OBJ_LIB) $(OBJ_CMN)
2N/A
2N/Ainclude $(SRC)/lib/Makefile.lib
2N/A
2N/ALIBS = $(DYNLIB) $(LINTLIB)
2N/A
2N/ASRCDIR= ../common
2N/ACMNDIR= $(SRC)/common/smbclnt
2N/A
2N/ASRCS= $(OBJ_LIB:%.o=$(SRCDIR)/%.c) \
2N/A $(OBJ_CMN:%.o=$(CMNDIR)/%.c)
2N/A
2N/A$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
2N/A
2N/AC99MODE= $(C99_ENABLE)
2N/A
2N/ALDLIBS += -lscf -lsocket -lnsl -lc -lmd -lpkcs11 -lsec -lidmap -lnvpair \
2N/A -lgss -lsmbns -lsmb
2N/A
2N/A# normal warnings...
2N/ACFLAGS += $(CCVERBOSE)
2N/A
2N/ACPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \
2N/A -I$(SRCDIR) -I.. \
2N/A -I$(SRC)/uts/common \
2N/A -I$(SRC)/common/smbclnt \
2N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include
2N/A
2N/A# Debugging
2N/A${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
2N/A
2N/A# uncomment these for dbx debugging
2N/A#COPTFLAG = -g
2N/A#CTF_FLAGS =
2N/A#CTFCONVERT_O=
2N/A#CTFMERGE_LIB=
2N/A
2N/A# Filter out the less important lint.
2N/A# See lgrep.awk
2N/ALGREP = nawk -f $(SRCDIR)/lgrep.awk
2N/ALTAIL += 2>&1 | $(LGREP)
2N/A
2N/Aall: stub $(LIBS)
2N/A
2N/Alint: lintcheck_t
2N/A
2N/Ainclude ../../Makefile.targ
2N/A
2N/Alintcheck_t: $$(SRCS)
2N/A $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS) $(LTAIL)
2N/A
2N/Aobjs/%.o pics/%.o: $(CMNDIR)/%.c
2N/A $(COMPILE.c) -o $@ $<
2N/A $(POST_PROCESS_O)
2N/A
2N/A.KEEP_STATE: