Makefile revision 67e3a03ed4a2813074d36330f062ed6e593a4937
306N/A#
306N/A# CDDL HEADER START
1356N/A#
306N/A# The contents of this file are subject to the terms of the
306N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/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.
306N/A# Use is subject to license terms.
306N/A#
493N/A# ident "%Z%%M% %I% %E% SMI"
493N/A#
970N/A
970N/APROG= smbd
970N/ASRCS= \
970N/A smbd_door_ops.c \
1392N/A smbd_doorsvc.c \
1392N/A smbd_join.c \
1392N/A smbd_logon.c \
1392N/A smbd_main.c \
1392N/A smbd_mlsvc_doorsvc.c \
1392N/A smbd_net.c \
306N/A smbd_share_doorsvc.c
1356N/A
1392N/Ainclude ../../Makefile.cmd
1392N/A
1392N/AMANIFEST = server.xml
1392N/A
306N/AROOTMANIFESTDIR = $(ROOTSVCSMB)
493N/A$(ROOTMANIFEST):= FILEMODE = 0444
493N/A
935N/Ainclude ../Makefile.smbsrv.defs
935N/A
935N/ALDLIBS += -L$(ROOT)/usr/lib/smbsrv -lmlsvc -lmlrpc -lsmbrdr -lsmbns -lsmb \
810N/A -lbsm -lnsl -lumem
810N/ALDFLAGS += -R/usr/lib/smbsrv
810N/A
493N/AROOTSMBDDIR = $(ROOTLIB)/smbsrv
493N/AROOTSMBDFILE = $(PROG:%=$(ROOTSMBDDIR)/%)
493N/A
837N/AFILEMODE = 0444
493N/A$(ROOTSMBDFILE):= FILEMODE = 0555
306N/A
963N/A$(ROOTSMBDDIR)/%: %
963N/A $(INS.file)
963N/A
970N/Aall: $(PROG)
970N/A
970N/Aclean:
970N/A $(RM) $(OBJS)
970N/A
970N/Alint: lint_SRCS
970N/A
306N/A$(PROG): $(OBJS)
493N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
306N/A $(POST_PROCESS)
306N/A
561N/Acheck: $(CHKMANIFEST)
306N/A
963N/A_msg:
963N/A
963N/Ainclude ../../Makefile.targ
837N/A
837N/Ainstall: all .WAIT $(ROOTETCDEFAULTFILES) $(ROOTMANIFEST) \
837N/A $(ROOTSMBDFILE)
837N/A