xref: /titanic_52/usr/src/lib/libsmbfs/Makefile (revision 12b65585e720714b31036daaa2b30eb76014048e)
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#
22613a2f6bSGordon Ross# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
234bff34e3Sthurlow# Use is subject to license terms.
244bff34e3Sthurlow#
25*12b65585SGordon Ross# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
26*12b65585SGordon Ross#
27613a2f6bSGordon Ross
284bff34e3Sthurlow#
294bff34e3Sthurlow# lib/libsmbfs/Makefile
304bff34e3Sthurlow#
314bff34e3Sthurlow
324bff34e3Sthurlowinclude $(SRC)/lib/Makefile.lib
334bff34e3Sthurlow
34*12b65585SGordon RossHDRS=		ntlmssp.h smbfs_acl.h smbfs_api.h smb_keychain.h spnego.h
35613a2f6bSGordon RossHDRDIR=		netsmb
36613a2f6bSGordon Ross
37613a2f6bSGordon RossROOTHDRDIR=	$(ROOT)/usr/include/netsmb
38613a2f6bSGordon RossROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
39613a2f6bSGordon Ross
404bff34e3Sthurlow# ISA targets
414bff34e3SthurlowSUBDIRS = $(MACH)
424bff34e3Sthurlow$(BUILD64)SUBDIRS += $(MACH64)
434bff34e3Sthurlow
444bff34e3Sthurlow# conditional assignments
454bff34e3Sthurlowall :=		TARGET= all
464bff34e3Sthurlowinstall :=	TARGET= install
474bff34e3Sthurlowclean :=	TARGET= clean
484bff34e3Sthurlowclobber :=	TARGET= clobber
494bff34e3Sthurlowlint :=		TARGET= lint
504bff34e3Sthurlow
51613a2f6bSGordon RossMSGFILES =	`$(GREP) -l gettext smb/*.[ch]`
524bff34e3SthurlowPOFILE =	libsmbfs.po
534bff34e3Sthurlow
544bff34e3Sthurlow.KEEP_STATE:
554bff34e3Sthurlow
564bff34e3Sthurlowall install clean clobber lint:  $(SUBDIRS)
574bff34e3Sthurlow
584bff34e3Sthurlow_msg: $(MSGDOMAINPOFILE)
594bff34e3Sthurlow
60613a2f6bSGordon Ross$(POFILE):	pofile_MSGFILES
614bff34e3Sthurlow
62613a2f6bSGordon Rossinstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
634bff34e3Sthurlow
64613a2f6bSGordon Rosscheck: $(CHECKHDRS)
65613a2f6bSGordon Ross
66613a2f6bSGordon Ross$(ROOTHDRDIR)/%: %
67613a2f6bSGordon Ross	$(INS.file)
68613a2f6bSGordon Ross
69613a2f6bSGordon Ross$(ROOTHDRDIR):
70613a2f6bSGordon Ross	$(INS.dir)
714bff34e3Sthurlow
724bff34e3Sthurlow$(SUBDIRS): FRC
734bff34e3Sthurlow	@cd $@; pwd; $(MAKE) $(TARGET)
744bff34e3Sthurlow
754bff34e3SthurlowFRC:
764bff34e3Sthurlow
774bff34e3Sthurlowinclude $(SRC)/lib/Makefile.targ
78613a2f6bSGordon Rossinclude $(SRC)/Makefile.msg.targ
79