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