Makefile revision 67e3a03ed4a2813074d36330f062ed6e593a4937
320N/A#
320N/A# CDDL HEADER START
1276N/A#
320N/A# The contents of this file are subject to the terms of the
1339N/A# Common Development and Distribution License (the "License").
320N/A# You may not use this file except in compliance with the License.
320N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
320N/A# ident "%Z%%M% %I% %E% SMI"
320N/A#
320N/A
320N/APROG= smbd
493N/ASRCS= \
320N/A smbd_door_ops.c \
970N/A smbd_doorsvc.c \
977N/A smbd_join.c \
970N/A smbd_logon.c \
970N/A smbd_main.c \
1339N/A smbd_mlsvc_doorsvc.c \
1339N/A smbd_net.c \
1339N/A smbd_share_doorsvc.c
320N/A
1276N/Ainclude ../../Makefile.cmd
320N/A
911N/AMANIFEST = server.xml
1276N/A
1276N/AROOTMANIFESTDIR = $(ROOTSVCSMB)
1276N/A$(ROOTMANIFEST):= FILEMODE = 0444
911N/A
320N/Ainclude ../Makefile.smbsrv.defs
320N/A
320N/ALDLIBS += -L$(ROOT)/usr/lib/smbsrv -lmlsvc -lmlrpc -lsmbrdr -lsmbns -lsmb \
320N/A -lbsm -lnsl -lumem
1276N/ALDFLAGS += -R/usr/lib/smbsrv
493N/A
320N/AROOTSMBDDIR = $(ROOTLIB)/smbsrv
970N/AROOTSMBDFILE = $(PROG:%=$(ROOTSMBDDIR)/%)
970N/A
970N/AFILEMODE = 0444
1196N/A$(ROOTSMBDFILE):= FILEMODE = 0555
1196N/A
1447N/A$(ROOTSMBDDIR)/%: %
1196N/A $(INS.file)
320N/A
all: $(PROG)
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)