4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER START
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The contents of this file are subject to the terms of the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Common Development and Distribution License (the "License").
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You may not use this file except in compliance with the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# or http://www.opensolaris.org/os/licensing.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# See the License for the specific language governing permissions
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# When distributing Covered Code, include this CDDL HEADER in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If applicable, add the following below this CDDL HEADER, with the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# fields enclosed by brackets "[]" replaced with your own identifying
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# information: Portions Copyright [yyyy] [name of copyright owner]
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER END
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Use is subject to license terms.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowLIBRARY = libshare_smbfs.a
4bff34e37def8a90f9194d81bc345c52ba20086athurlowVERS = .1
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowLIBOBJS = libshare_smbfs.o
4bff34e37def8a90f9194d81bc345c52ba20086athurlowSMBBASE_OBJ = smbfs_scfutil.o
4bff34e37def8a90f9194d81bc345c52ba20086athurlowOBJECTS = $(LIBOBJS) $(SMBBASE_OBJ)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude ../../../Makefile.lib
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowROOTLIBDIR = $(ROOT)/usr/lib/fs/smbfs
4bff34e37def8a90f9194d81bc345c52ba20086athurlowROOTLIBDIR64 = $(ROOT)/usr/lib/fs/smbfs/$(MACH64)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowLIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowLIBS = $(DYNLIB)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowLDLIBS += -lshare -lscf -lumem -luuid -lc -lxml2 -lsmbfs
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowCFLAGS += $(CCVERBOSE)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-switch
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M WesolowskiCPPFLAGS += -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M Wesolowski -I$(SRCDIR)/../common -I$(SRC)/lib/libsmbfs -I$(SRC)/uts/common
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow.KEEP_STATE:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowall: $(LIBS)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinstall: $(ROOTLIBDIR) $(ROOTLIBDIR64) all
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowlint: lintcheck
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow$(ROOTLIBDIR):
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(INS.dir)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow$(ROOTLIBDIR64):
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(INS.dir)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude ../../../Makefile.targ