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