14bff34e3Sthurlow# 24bff34e3Sthurlow# CDDL HEADER START 34bff34e3Sthurlow# 44bff34e3Sthurlow# The contents of this file are subject to the terms of the 54bff34e3Sthurlow# Common Development and Distribution License (the "License"). 64bff34e3Sthurlow# You may not use this file except in compliance with the License. 74bff34e3Sthurlow# 84bff34e3Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94bff34e3Sthurlow# or http://www.opensolaris.org/os/licensing. 104bff34e3Sthurlow# See the License for the specific language governing permissions 114bff34e3Sthurlow# and limitations under the License. 124bff34e3Sthurlow# 134bff34e3Sthurlow# When distributing Covered Code, include this CDDL HEADER in each 144bff34e3Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154bff34e3Sthurlow# If applicable, add the following below this CDDL HEADER, with the 164bff34e3Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying 174bff34e3Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner] 184bff34e3Sthurlow# 194bff34e3Sthurlow# CDDL HEADER END 204bff34e3Sthurlow# 214bff34e3Sthurlow# 224bff34e3Sthurlow# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 234bff34e3Sthurlow# Use is subject to license terms. 244bff34e3Sthurlow# 254bff34e3Sthurlow 264bff34e3SthurlowLIBRARY = libshare_smbfs.a 274bff34e3SthurlowVERS = .1 284bff34e3Sthurlow 294bff34e3SthurlowLIBOBJS = libshare_smbfs.o 304bff34e3SthurlowSMBBASE_OBJ = smbfs_scfutil.o 314bff34e3SthurlowOBJECTS = $(LIBOBJS) $(SMBBASE_OBJ) 324bff34e3Sthurlow 334bff34e3Sthurlowinclude ../../../Makefile.lib 344bff34e3Sthurlow 354bff34e3SthurlowROOTLIBDIR = $(ROOT)/usr/lib/fs/smbfs 364bff34e3SthurlowROOTLIBDIR64 = $(ROOT)/usr/lib/fs/smbfs/$(MACH64) 374bff34e3Sthurlow 384bff34e3SthurlowLIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c) 394bff34e3Sthurlow 404bff34e3SthurlowLIBS = $(DYNLIB) 414bff34e3SthurlowLDLIBS += -lshare -lscf -lumem -luuid -lc -lxml2 -lsmbfs 424bff34e3Sthurlow 434bff34e3SthurlowCFLAGS += $(CCVERBOSE) 447014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch 457014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 46*494f7e12SKeith M WesolowskiCPPFLAGS += -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \ 47*494f7e12SKeith M Wesolowski -I$(SRCDIR)/../common -I$(SRC)/lib/libsmbfs -I$(SRC)/uts/common 484bff34e3Sthurlow 494bff34e3Sthurlow.KEEP_STATE: 504bff34e3Sthurlow 514bff34e3Sthurlowall: $(LIBS) 524bff34e3Sthurlow 534bff34e3Sthurlowinstall: $(ROOTLIBDIR) $(ROOTLIBDIR64) all 544bff34e3Sthurlow 554bff34e3Sthurlowlint: lintcheck 564bff34e3Sthurlow 574bff34e3Sthurlow$(ROOTLIBDIR): 584bff34e3Sthurlow $(INS.dir) 594bff34e3Sthurlow 604bff34e3Sthurlow$(ROOTLIBDIR64): 614bff34e3Sthurlow $(INS.dir) 624bff34e3Sthurlow 634bff34e3Sthurlowinclude ../../../Makefile.targ 64