4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER START
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The contents of this file are subject to the terms of the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Common Development and Distribution License (the "License").
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You may not use this file except in compliance with the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# or http://www.opensolaris.org/os/licensing.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# See the License for the specific language governing permissions
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# When distributing Covered Code, include this CDDL HEADER in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If applicable, add the following below this CDDL HEADER, with the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# fields enclosed by brackets "[]" replaced with your own identifying
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# information: Portions Copyright [yyyy] [name of copyright owner]
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER END
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Use is subject to license terms.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
12b65585e720714b31036daaa2b30eb76014048eGordon Ross#
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# lib/libsmbfs/Makefile
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude $(SRC)/lib/Makefile.lib
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
12b65585e720714b31036daaa2b30eb76014048eGordon RossHDRS= ntlmssp.h smbfs_acl.h smbfs_api.h smb_keychain.h spnego.h
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon RossHDRDIR= netsmb
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon RossROOTHDRDIR= $(ROOT)/usr/include/netsmb
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon RossROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# ISA targets
4bff34e37def8a90f9194d81bc345c52ba20086athurlowSUBDIRS = $(MACH)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow$(BUILD64)SUBDIRS += $(MACH64)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# conditional assignments
4bff34e37def8a90f9194d81bc345c52ba20086athurlowall := TARGET= all
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinstall := TARGET= install
4bff34e37def8a90f9194d81bc345c52ba20086athurlowclean := TARGET= clean
4bff34e37def8a90f9194d81bc345c52ba20086athurlowclobber := TARGET= clobber
4bff34e37def8a90f9194d81bc345c52ba20086athurlowlint := TARGET= lint
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon RossMSGFILES = `$(GREP) -l gettext smb/*.[ch]`
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPOFILE = libsmbfs.po
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow.KEEP_STATE:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowall install clean clobber lint: $(SUBDIRS)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross_msg: $(MSGDOMAINPOFILE)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross$(POFILE): pofile_MSGFILES
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Rossinstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Rosscheck: $(CHECKHDRS)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross$(ROOTHDRDIR)/%: %
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross $(INS.file)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross$(ROOTHDRDIR):
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross $(INS.dir)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow$(SUBDIRS): FRC
4bff34e37def8a90f9194d81bc345c52ba20086athurlow @cd $@; pwd; $(MAKE) $(TARGET)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowFRC:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude $(SRC)/lib/Makefile.targ
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Rossinclude $(SRC)/Makefile.msg.targ