47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# CDDL HEADER START
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# The contents of this file are subject to the terms of the
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Common Development and Distribution License (the "License").
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# You may not use this file except in compliance with the License.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# or http://www.opensolaris.org/os/licensing.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# See the License for the specific language governing permissions
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# and limitations under the License.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# If applicable, add the following below this CDDL HEADER, with the
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# CDDL HEADER END
d122948d6fbaac4505cf14a08f1237daa89efdd0Lennart Poettering# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
d122948d6fbaac4505cf14a08f1237daa89efdd0Lennart Poettering# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
e99e38bbdcca3fe5956823bdb3d38544ccf93221Lennart PoetteringROOTVARSMBDLLDIR = $(ROOTVARSMB)/cvol/windows/system32
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringROOTVARSMBDLL= $(LOGDLL:%=$(ROOTVARSMBDLLDIR)/%)
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart PoetteringLINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
fa776d8e962da9d90459e2f3e86a2a0c6366ee12Lennart PoetteringLINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
8e27452380193a5f81bfd08a59aab8b07008ba0bLennart Poettering# Should not have to do this, but the Kerberos includes are a mess.
0b7964b804e093d31c9adc34ba1917017c7f4d60Lennart PoetteringCPPFLAGS += -I $(ROOT)/usr/include/kerberosv5
af5bc85dc1297079edc9890861aaa38de0ec30dfLennart Poettering# prefer to keep libs ordered by dependence
8c47c7325fa1ab72febf807f8831ff24c75fbf45Lennart PoetteringLDLIBS += -lmlsvc -lmlrpc -lsmbns -lsmb -lsmbfs -lgss
8c6db8336536916d0476ff8233e0abf40a2f6aabLennart PoetteringLDLIBS += -lzfs -lbsm -lscf -lcmdutils -lsocket -lnsl -lumem
8c6db8336536916d0476ff8233e0abf40a2f6aabLennart Poettering$(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
01f78473b104d28db0fa813414092bc6358ae521Lennart Poetteringinstall: all .WAIT $(ROOTETCDEFAULTFILES) $(ROOTMANIFEST) \