xref: /titanic_41/usr/src/lib/libsmbfs/Makefile (revision 430b4c467020edf2445feb0c21db01c88b86243a)
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#
22*430b4c46SGordon Ross# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
23613a2f6bSGordon Ross# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
244bff34e3Sthurlow# Use is subject to license terms.
254bff34e3Sthurlow#
26613a2f6bSGordon Ross
274bff34e3Sthurlow#
284bff34e3Sthurlow# lib/libsmbfs/Makefile
294bff34e3Sthurlow#
304bff34e3Sthurlow
314bff34e3Sthurlowinclude $(SRC)/lib/Makefile.lib
324bff34e3Sthurlow
33*430b4c46SGordon RossHDRS=		smbfs_acl.h smbfs_api.h smb_keychain.h
34613a2f6bSGordon RossHDRDIR=		netsmb
35613a2f6bSGordon Ross
36613a2f6bSGordon RossROOTHDRDIR=	$(ROOT)/usr/include/netsmb
37613a2f6bSGordon RossROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
38613a2f6bSGordon Ross
394bff34e3Sthurlow# ISA targets
404bff34e3SthurlowSUBDIRS = $(MACH)
414bff34e3Sthurlow$(BUILD64)SUBDIRS += $(MACH64)
424bff34e3Sthurlow
434bff34e3Sthurlow# conditional assignments
444bff34e3Sthurlowall :=		TARGET= all
454bff34e3Sthurlowinstall :=	TARGET= install
464bff34e3Sthurlowclean :=	TARGET= clean
474bff34e3Sthurlowclobber :=	TARGET= clobber
484bff34e3Sthurlowlint :=		TARGET= lint
494bff34e3Sthurlow
50613a2f6bSGordon RossMSGFILES =	`$(GREP) -l gettext smb/*.[ch]`
514bff34e3SthurlowPOFILE =	libsmbfs.po
524bff34e3Sthurlow
534bff34e3Sthurlow.KEEP_STATE:
544bff34e3Sthurlow
554bff34e3Sthurlowall install clean clobber lint:  $(SUBDIRS)
564bff34e3Sthurlow
574bff34e3Sthurlow_msg: $(MSGDOMAINPOFILE)
584bff34e3Sthurlow
59613a2f6bSGordon Ross$(POFILE):	pofile_MSGFILES
604bff34e3Sthurlow
61613a2f6bSGordon Rossinstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
624bff34e3Sthurlow
63613a2f6bSGordon Rosscheck: $(CHECKHDRS)
64613a2f6bSGordon Ross
65613a2f6bSGordon Ross$(ROOTHDRDIR)/%: %
66613a2f6bSGordon Ross	$(INS.file)
67613a2f6bSGordon Ross
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