da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#ident "%Z%%M% %I% %E% SMI"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Makefile definitions for smbsrv.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
55bf511df53aad0fdb7eb3fa349f0308cc05234cas# We reset the Makefile.lib macros ROOTLIBDIR to refer to usr/lib/smbsrv.
55bf511df53aad0fdb7eb3fa349f0308cc05234cas# For 64 bit, we reset ROOTLIBDIR64 to refer to usr/lib/smbsrv/$(MACH64).
55bf511df53aad0fdb7eb3fa349f0308cc05234cas# We also install the userland library header files under /usr/include/smbsrv.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTSMBHDRDIR= $(ROOTHDRDIR)/smbsrv
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTSMBHDRS= $(HDRS:%=$(ROOTSMBHDRDIR)/%)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTLIBDIR = $(ROOT)/usr/lib/smbsrv
55bf511df53aad0fdb7eb3fa349f0308cc05234casROOTLIBDIR64 = $(ROOT)/usr/lib/smbsrv/$(MACH64)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwSRCDIR= ../common
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwNDLDIR= $(ROOT)/usr/include/smbsrv/ndl
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwLIBS= $(DYNLIB) $(LINTLIB)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwC99MODE = -xc99=%all
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwC99LMODE = -Xc99=%all
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCPPFLAGS += -I$(SRCDIR) -I.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwLDLIBS32 += -L$(ROOT)/usr/lib/smbsrv
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwLDLIBS64 += -L$(ROOT)/usr/lib/smbsrv/$(MACH64)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCLEANFILES += $(OBJECTS:%_ndr.o=%_ndr.c)