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# ident "%Z%%M% %I% %E% SMI" 264bff34e3Sthurlow# 274bff34e3Sthurlow# lib/libsmbfs/Makefile.com 284bff34e3Sthurlow 294bff34e3SthurlowLIBRARY= libsmbfs.a 304bff34e3SthurlowVERS= .1 314bff34e3Sthurlow 324bff34e3Sthurlow# leaving out: kiconv.o 334bff34e3Sthurlow 344bff34e3SthurlowOBJECTS=\ 35*7568150aSgwr acl_api.o \ 36*7568150aSgwr acl_conv.o \ 37*7568150aSgwr acl_print.o \ 384bff34e3Sthurlow charsets.o \ 394bff34e3Sthurlow cfopt.o \ 404bff34e3Sthurlow ctx.o \ 414bff34e3Sthurlow derparse.o \ 424bff34e3Sthurlow file.o \ 434bff34e3Sthurlow keychain.o \ 444bff34e3Sthurlow mbuf.o \ 454bff34e3Sthurlow nb.o \ 464bff34e3Sthurlow nb_name.o \ 474bff34e3Sthurlow nb_net.o \ 484bff34e3Sthurlow nbns_rq.o \ 494bff34e3Sthurlow netshareenum.o \ 504bff34e3Sthurlow nls.o \ 514bff34e3Sthurlow print.o \ 524bff34e3Sthurlow rap.o \ 534bff34e3Sthurlow rcfile.o \ 544bff34e3Sthurlow rq.o \ 554bff34e3Sthurlow spnego.o \ 564bff34e3Sthurlow spnegoparse.o \ 574bff34e3Sthurlow subr.o \ 584bff34e3Sthurlow ui-sun.o 594bff34e3Sthurlow 604bff34e3Sthurlowinclude $(SRC)/lib/Makefile.lib 614bff34e3Sthurlow 624bff34e3SthurlowLIBS = $(DYNLIB) $(LINTLIB) 634bff34e3Sthurlow 644bff34e3SthurlowSRCDIR= ../smb 654bff34e3Sthurlow 664bff34e3SthurlowSRCS= $(OBJECTS:%.o=../smb/%.c) 674bff34e3Sthurlow 684bff34e3Sthurlow$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) 694bff34e3Sthurlow 704bff34e3SthurlowC99MODE= $(C99_ENABLE) 714bff34e3Sthurlow 72*7568150aSgwrLDLIBS += -lsocket -lnsl -lc -lkrb5 -lsec -lidmap 734bff34e3Sthurlow 744bff34e3Sthurlow# normal warnings... 754bff34e3SthurlowCFLAGS += $(CCVERBOSE) 764bff34e3Sthurlow 774bff34e3SthurlowCPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \ 784bff34e3Sthurlow -I$(SRCDIR) -I.. -I$(SRC)/uts/common 794bff34e3Sthurlow 804bff34e3Sthurlow# uncomment these if you want to use dbx 814bff34e3Sthurlow#COPTFLAG = -g 824bff34e3Sthurlow#CTF_FLAGS = 834bff34e3Sthurlow#CTFCONVERT_O= 844bff34e3Sthurlow#CTFMERGE_LIB= 854bff34e3Sthurlow 864bff34e3Sthurlow# disable some of the less important lint 874bff34e3SthurlowLINTCHECKFLAGS += -erroff=E_FUNC_ARG_UNUSED 884bff34e3SthurlowLINTCHECKFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 894bff34e3SthurlowLINTCHECKFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2 904bff34e3SthurlowLINTCHECKFLAGS += -erroff=E_FUNC_VAR_UNUSED 914bff34e3SthurlowLINTCHECKFLAGS += -erroff=E_STATIC_UNUSED 924bff34e3SthurlowLINTCHECKFLAGS += -erroff=E_CONSTANT_CONDITION 934bff34e3SthurlowLINTCHECKFLAGS += -erroff=E_TRUE_LOGICAL_EXPR 944bff34e3Sthurlow 954bff34e3Sthurlow.KEEP_STATE: 964bff34e3Sthurlow 974bff34e3Sthurlowall: $(LIBS) 984bff34e3Sthurlow 994bff34e3Sthurlowlint: lintcheck 1004bff34e3Sthurlow 1014bff34e3Sthurlowinclude ../../Makefile.targ 102