xref: /illumos-gate/usr/src/lib/libsmbfs/Makefile (revision 4bff34e37def8a90f9194d81bc345c52ba20086a)
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# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*4bff34e3Sthurlow# Use is subject to license terms.
24*4bff34e3Sthurlow#
25*4bff34e3Sthurlow#ident	"%Z%%M%	%I%	%E% SMI"
26*4bff34e3Sthurlow#
27*4bff34e3Sthurlow# lib/libsmbfs/Makefile
28*4bff34e3Sthurlow#
29*4bff34e3Sthurlow
30*4bff34e3Sthurlowinclude $(SRC)/lib/Makefile.lib
31*4bff34e3Sthurlow
32*4bff34e3Sthurlow# ISA targets
33*4bff34e3SthurlowSUBDIRS = $(MACH)
34*4bff34e3Sthurlow$(BUILD64)SUBDIRS += $(MACH64)
35*4bff34e3Sthurlow
36*4bff34e3Sthurlow# conditional assignments
37*4bff34e3Sthurlowall :=		TARGET= all
38*4bff34e3Sthurlowinstall :=	TARGET= install
39*4bff34e3Sthurlowclean :=	TARGET= clean
40*4bff34e3Sthurlowclobber :=	TARGET= clobber
41*4bff34e3Sthurlowlint :=		TARGET= lint
42*4bff34e3Sthurlow
43*4bff34e3SthurlowPOFILE =	libsmbfs.po
44*4bff34e3Sthurlow
45*4bff34e3Sthurlow.KEEP_STATE:
46*4bff34e3Sthurlow
47*4bff34e3Sthurlowall install clean clobber lint:  $(SUBDIRS)
48*4bff34e3Sthurlow
49*4bff34e3Sthurlowinclude $(SRC)/Makefile.msg.targ
50*4bff34e3Sthurlow
51*4bff34e3SthurlowMSGFILES=smb/cfopt.c smb/charsets.c smb/charsets.h smb/ctx.c smb/derparse.c \
52*4bff34e3Sthurlow	smb/derparse.h smb/file.c smb/keychain.c smb/mbuf.c smb/nb.c \
53*4bff34e3Sthurlow	smb/nb_name.c smb/nb_net.c smb/nbns_rq.c smb/netshareenum.c \
54*4bff34e3Sthurlow	smb/nls.c smb/print.c smb/queue.h smb/rap.c smb/rcfile.c \
55*4bff34e3Sthurlow	smb/rcfile_priv.h smb/rq.c smb/spnego.c smb/spnego.h \
56*4bff34e3Sthurlow	smb/spnegoparse.c smb/spnegoparse.h smb/subr.c smb/ui-sun.c
57*4bff34e3Sthurlow
58*4bff34e3Sthurlow_msg:  $(MSGDOMAINPOFILE)
59*4bff34e3Sthurlow
60*4bff34e3Sthurlow$(MSGDOMAINPOFILE): $(POFILE)
61*4bff34e3Sthurlow
62*4bff34e3Sthurlow$(POFILE): $(MSGFILES)
63*4bff34e3Sthurlow	$(BUILDPO.msgfiles)
64*4bff34e3Sthurlow
65*4bff34e3Sthurlowinstall:	$(ROOTLIBS)
66*4bff34e3Sthurlow
67*4bff34e3Sthurlow$(SUBDIRS): FRC
68*4bff34e3Sthurlow	@cd $@; pwd; $(MAKE) $(TARGET)
69*4bff34e3Sthurlow
70*4bff34e3SthurlowFRC:
71*4bff34e3Sthurlow
72*4bff34e3Sthurlowinclude $(SRC)/lib/Makefile.targ
73