Makefile revision 67e3a03ed4a2813074d36330f062ed6e593a4937
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The contents of this file are subject to the terms of the
b819d97849e89dad276b0e079414a1012aa1ead4fuankg# Common Development and Distribution License (the "License").
b819d97849e89dad276b0e079414a1012aa1ead4fuankg# You may not use this file except in compliance with the License.
b819d97849e89dad276b0e079414a1012aa1ead4fuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# or http://www.opensolaris.org/os/licensing.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# See the License for the specific language governing permissions
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and limitations under the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# When distributing Covered Code, include this CDDL HEADER in each
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If applicable, add the following below this CDDL HEADER, with the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Use is subject to license terms.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# ident "%Z%%M% %I% %E% SMI"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPROG= smbadm
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSRCS= smbadm.c
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../Makefile.cmd
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../Makefile.smbsrv.defs
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesLDLIBS += -L$(ROOT)/usr/lib/smbsrv -lsmb -lumem
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesLDFLAGS += -R/usr/lib/smbsrv
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesall: $(PROG)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesclean:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(RM) $(OBJS)
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankg
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankglint: lint_SRCS
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(PROG): $(OBJS)
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankg $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankg $(POST_PROCESS)
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankg
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankginclude ../../Makefile.targ
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankg
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankginstall: all .WAIT $(ROOTUSRSBINPROG)
3630dd34e2b231b30ab9b541f9e5445852e33e80fuankg