1*4bff34e3Sthurlow# 2*4bff34e3Sthurlow# CDDL HEADER START 3*4bff34e3Sthurlow# 4*4bff34e3Sthurlow# The contents of this file are subject to the terms of the 5*4bff34e3Sthurlow# Common Development and Distribution License (the "License"). 6*4bff34e3Sthurlow# You may not use this file except in compliance with the License. 7*4bff34e3Sthurlow# 8*4bff34e3Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*4bff34e3Sthurlow# or http://www.opensolaris.org/os/licensing. 10*4bff34e3Sthurlow# See the License for the specific language governing permissions 11*4bff34e3Sthurlow# and limitations under the License. 12*4bff34e3Sthurlow# 13*4bff34e3Sthurlow# When distributing Covered Code, include this CDDL HEADER in each 14*4bff34e3Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*4bff34e3Sthurlow# If applicable, add the following below this CDDL HEADER, with the 16*4bff34e3Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying 17*4bff34e3Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner] 18*4bff34e3Sthurlow# 19*4bff34e3Sthurlow# CDDL HEADER END 20*4bff34e3Sthurlow# 21*4bff34e3Sthurlow# 22*4bff34e3Sthurlow# ident "%Z%%M% %I% %E% SMI" 23*4bff34e3Sthurlow# 24*4bff34e3Sthurlow# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 25*4bff34e3Sthurlow# Use is subject to license terms. 26*4bff34e3Sthurlow# 27*4bff34e3Sthurlow 28*4bff34e3SthurlowLIBRARY = libshare_smbfs.a 29*4bff34e3SthurlowVERS = .1 30*4bff34e3Sthurlow 31*4bff34e3SthurlowLIBOBJS = libshare_smbfs.o 32*4bff34e3SthurlowSMBBASE_OBJ = smbfs_scfutil.o 33*4bff34e3SthurlowOBJECTS = $(LIBOBJS) $(SMBBASE_OBJ) 34*4bff34e3Sthurlow 35*4bff34e3Sthurlowinclude ../../../Makefile.lib 36*4bff34e3Sthurlow 37*4bff34e3SthurlowROOTLIBDIR = $(ROOT)/usr/lib/fs/smbfs 38*4bff34e3SthurlowROOTLIBDIR64 = $(ROOT)/usr/lib/fs/smbfs/$(MACH64) 39*4bff34e3Sthurlow 40*4bff34e3SthurlowLIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c) 41*4bff34e3Sthurlow 42*4bff34e3SthurlowLIBS = $(DYNLIB) 43*4bff34e3SthurlowLDLIBS += -lshare -lscf -lumem -luuid -lc -lxml2 -lsmbfs 44*4bff34e3Sthurlow 45*4bff34e3SthurlowCFLAGS += $(CCVERBOSE) 46*4bff34e3SthurlowCPPFLAGS += -D_REENTRANT -I/usr/include/libxml2 -I$(SRCDIR)/../common \ 47*4bff34e3Sthurlow -I$(SRC)/lib/libsmbfs -I$(SRC)/uts/common 48*4bff34e3Sthurlow 49*4bff34e3Sthurlow.KEEP_STATE: 50*4bff34e3Sthurlow 51*4bff34e3Sthurlowall: $(LIBS) 52*4bff34e3Sthurlow 53*4bff34e3Sthurlowinstall: $(ROOTLIBDIR) $(ROOTLIBDIR64) all 54*4bff34e3Sthurlow 55*4bff34e3Sthurlowlint: lintcheck 56*4bff34e3Sthurlow 57*4bff34e3Sthurlow$(ROOTLIBDIR): 58*4bff34e3Sthurlow $(INS.dir) 59*4bff34e3Sthurlow 60*4bff34e3Sthurlow$(ROOTLIBDIR64): 61*4bff34e3Sthurlow $(INS.dir) 62*4bff34e3Sthurlow 63*4bff34e3Sthurlowinclude ../../../Makefile.targ 64