Makefile revision 3c112a2b34403220c06c3e2fcac403358cfba168
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#
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
89dc44ce9705974a8bc4a39f1e878a0491a5be61jose borrego
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPROG= smbd
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwSRCS= \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smbd_doorsvc.c \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smbd_join.c \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smbd_logon.c \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smbd_main.c \
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright smbd_nicmon.c \
3db3f65c6274eb042354801a308c8e9bc4994553amw smbd_opipe_doorsvc.c \
89dc44ce9705974a8bc4a39f1e878a0491a5be61jose borrego smbd_share_doorsvc.c \
89dc44ce9705974a8bc4a39f1e878a0491a5be61jose borrego smbd_vss.c
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../../Makefile.cmd
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong NguyenMANIFEST= server.xml
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong NguyenSVCMETHOD= svc-smbd
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesLOGDLL= eventlog.dll
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTMANIFESTDIR = $(ROOTSVCSMB)
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesROOTVARSMBDLLDIR = $(ROOTVARSMB)/cvol/windows/system32
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesROOTVARSMBDLL= $(LOGDLL:%=$(ROOTVARSMBDLLDIR)/%)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States$(ROOTMANIFEST):= FILEMODE = 0444
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong Nguyen$(ROOTSVCMETHOD):= FILEMODE = 0555
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States$(ROOTVARSMBDLL):= FILEMODE = 0755
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong Nguyen
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../Makefile.smbsrv.defs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
a0aa776e20803c84edd153d9cb584fd67163aef3Alan WrightLDLIBS += -L$(ROOT)/usr/lib/smbsrv -lmlsvc -lmlrpc -lsmbns -lsmb \
3c112a2b34403220c06c3e2fcac403358cfba168Eric Taylor -lzfs -lbsm -lsocket -lnsl -lscf -lumem -lcmdutils
67e3a03ed4a2813074d36330f062ed6e593a4937rieLDFLAGS += -R/usr/lib/smbsrv
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTSMBDDIR = $(ROOTLIB)/smbsrv
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTSMBDFILE = $(PROG:%=$(ROOTSMBDDIR)/%)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwFILEMODE = 0444
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(ROOTSMBDFILE):= FILEMODE = 0555
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(ROOTSMBDDIR)/%: %
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(INS.file)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States$(ROOTVARSMBDLLDIR)/%: %
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States $(INS.file)
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwall: $(PROG)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwclean:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(RM) $(OBJS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwlint: lint_SRCS
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(PROG): $(OBJS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwcheck: $(CHKMANIFEST)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw_msg:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../../Makefile.targ
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinstall: all .WAIT $(ROOTETCDEFAULTFILES) $(ROOTMANIFEST) \
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States $(ROOTSMBDFILE) ${ROOTSVCMETHOD} $(ROOTVARSMBDLL)