Makefile revision b3700b074e637f8c6991b70754c88a2cfffb246b
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Note: need our sys includes _before_ ENVCPPFLAGS, proto etc.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCPPFLAGS.first += -I../../../lib/smbsrv/libfksmbsrv/common
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Should not have to do this, but the Kerberos includes are a mess.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Always debug here
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# prefer to keep libs ordered by dependence
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterLDLIBS += -lmlsvc -lmlrpc -lsmbns -lsmb -lsmbfs -lgss
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterLDLIBS += -lzfs -lbsm -lscf -lcmdutils -lsocket -lnsl -lumem
$(POST_PROCESS)
%.o: ../smbd/%.c
$(COMPILE.c) $<
$(ROOTSMBDDIR)/%: %
$(INS.file)