Makefile revision 29bd28862cfb8abbd3a0f0a4b17e08bbc3652836
78N/A#
78N/A# CDDL HEADER START
78N/A#
78N/A# The contents of this file are subject to the terms of the
78N/A# Common Development and Distribution License (the "License").
78N/A# You may not use this file except in compliance with the License.
78N/A#
78N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78N/A# or http://www.opensolaris.org/os/licensing.
78N/A# See the License for the specific language governing permissions
78N/A# and limitations under the License.
78N/A#
78N/A# When distributing Covered Code, include this CDDL HEADER in each
78N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
78N/A# If applicable, add the following below this CDDL HEADER, with the
78N/A# fields enclosed by brackets "[]" replaced with your own identifying
78N/A# information: Portions Copyright [yyyy] [name of copyright owner]
78N/A#
78N/A# CDDL HEADER END
78N/A#
78N/A#
78N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
78N/A# Use is subject to license terms.
78N/A#
78N/A
78N/A
78N/APROG= smbd
78N/ASRCS= \
78N/A smbd_door_ops.c \
78N/A smbd_doorsvc.c \
78N/A smbd_join.c \
78N/A smbd_logon.c \
78N/A smbd_main.c \
78N/A smbd_opipe_doorsvc.c \
78N/A smbd_share_doorsvc.c \
78N/A smbd_vss.c
78N/A
78N/Ainclude ../../Makefile.cmd
78N/A
78N/AMANIFEST= server.xml
78N/ASVCMETHOD= svc-smbd
78N/A
78N/AROOTMANIFESTDIR = $(ROOTSVCSMB)
78N/A$(ROOTMANIFEST):= FILEMODE = 0444
78N/A
78N/A$(ROOTSVCMETHOD):= FILEMODE = 0555
78N/A
78N/Ainclude ../Makefile.smbsrv.defs
78N/A
78N/ALDLIBS += -L$(ROOT)/usr/lib/smbsrv -lmlsvc -lmlrpc -lsmbrdr -lsmbns -lsmb \
78N/A -lzfs -lbsm -lnsl -lumem
78N/ALDFLAGS += -R/usr/lib/smbsrv
78N/A
78N/AROOTSMBDDIR = $(ROOTLIB)/smbsrv
78N/AROOTSMBDFILE = $(PROG:%=$(ROOTSMBDDIR)/%)
78N/A
78N/AFILEMODE = 0444
78N/A$(ROOTSMBDFILE):= FILEMODE = 0555
78N/A
78N/A$(ROOTSMBDDIR)/%: %
78N/A $(INS.file)
78N/A
78N/Aall: $(PROG)
78N/A
78N/Aclean:
78N/A $(RM) $(OBJS)
78N/A
78N/Alint: lint_SRCS
78N/A
78N/A$(PROG): $(OBJS)
78N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
78N/A $(POST_PROCESS)
78N/A
78N/Acheck: $(CHKMANIFEST)
78N/A
78N/A_msg:
78N/A
78N/Ainclude ../../Makefile.targ
78N/A
78N/Ainstall: all .WAIT $(ROOTETCDEFAULTFILES) $(ROOTMANIFEST) \
78N/A $(ROOTSMBDFILE) ${ROOTSVCMETHOD}
78N/A