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