fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# CDDL HEADER START
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# The contents of this file are subject to the terms of the
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# Common Development and Distribution License, Version 1.0 only
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# (the "License"). You may not use this file except in compliance
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# with the License.
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# or http://www.opensolaris.org/os/licensing.
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# See the License for the specific language governing permissions
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# and limitations under the License.
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# When distributing Covered Code, include this CDDL HEADER in each
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# If applicable, add the following below this CDDL HEADER, with the
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# fields enclosed by brackets "[]" replaced with your own identifying
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# information: Portions Copyright [yyyy] [name of copyright owner]
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# CDDL HEADER END
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# Use is subject to license terms.
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# Copyright 2015 Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills#
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsMODULE = libfksmbsrv.so
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsMDBTGT = proc
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsMODSRCS = smbsrv.c list.c
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary Millsinclude ../../../../Makefile.cmd
fca4268092e9961ebb9b5e0098dcebc545023586Gary Millsinclude ../../../../Makefile.cmd.64
fca4268092e9961ebb9b5e0098dcebc545023586Gary Millsinclude ../../Makefile.sparcv9
fca4268092e9961ebb9b5e0098dcebc545023586Gary Millsinclude ../../../Makefile.module
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsMODSRCS_DIR = ../../../common/modules/smbsrv
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsGENUNIX_DIR = ../../../common/modules/genunix
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills# Note: need our sys includes _before_ ENVCPPFLAGS, proto etc.
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsCPPFLAGS.first += -I../../../../../lib/smbsrv/libfksmbsrv/common
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsCPPFLAGS.first += -I../../../../../lib/libfakekernel/common
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsCPPFLAGS += -I../../../../../uts/common
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsC99MODE= -xc99=%all
fca4268092e9961ebb9b5e0098dcebc545023586Gary MillsC99LMODE= -Xc99=%all
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary Millsdmod/%.o: $(GENUNIX_DIR)/%.c
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills $(COMPILE.c) -o $@ $<
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills $(CTFCONVERT_O)
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills
fca4268092e9961ebb9b5e0098dcebc545023586Gary Millsdmod/%.ln: $(GENUNIX_DIR)/%.c
fca4268092e9961ebb9b5e0098dcebc545023586Gary Mills $(LINT.c) -c $<