xref: /illumos-gate/usr/src/lib/libsmbfs/Makefile (revision 241c90a0)
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#
2512b65585SGordon Ross# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
2612b65585SGordon Ross#
27613a2f6bSGordon Ross
284bff34e3Sthurlow#
294bff34e3Sthurlow# lib/libsmbfs/Makefile
304bff34e3Sthurlow#
314bff34e3Sthurlow
324bff34e3Sthurlowinclude $(SRC)/lib/Makefile.lib
334bff34e3Sthurlow
3412b65585SGordon 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
494bff34e3Sthurlow
50613a2f6bSGordon RossMSGFILES =	`$(GREP) -l gettext smb/*.[ch]`
514bff34e3SthurlowPOFILE =	libsmbfs.po
524bff34e3Sthurlow
534bff34e3Sthurlow.KEEP_STATE:
544bff34e3Sthurlow
55*241c90a0SRichard Loweall install clean clobber:  $(SUBDIRS)
564bff34e3Sthurlow
57613a2f6bSGordon Ross_msg: $(MSGDOMAINPOFILE)
584bff34e3Sthurlow
59613a2f6bSGordon Ross$(POFILE):	pofile_MSGFILES
604bff34e3Sthurlow
61613a2f6bSGordon Rossinstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
624bff34e3Sthurlow
63613a2f6bSGordon Rosscheck: $(CHECKHDRS)
644bff34e3Sthurlow
65613a2f6bSGordon Ross$(ROOTHDRDIR)/%: %
66613a2f6bSGordon Ross	$(INS.file)
674bff34e3Sthurlow
68613a2f6bSGordon Ross$(ROOTHDRDIR):
69613a2f6bSGordon Ross	$(INS.dir)
704bff34e3Sthurlow
714bff34e3Sthurlow$(SUBDIRS): FRC
724bff34e3Sthurlow	@cd $@; pwd; $(MAKE) $(TARGET)
734bff34e3Sthurlow
744bff34e3SthurlowFRC:
754bff34e3Sthurlow
764bff34e3Sthurlowinclude $(SRC)/lib/Makefile.targ
77613a2f6bSGordon Rossinclude $(SRC)/Makefile.msg.targ
78