Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
830N/A#
830N/A# CDDL HEADER START
830N/A#
830N/A# The contents of this file are subject to the terms of the
830N/A# Common Development and Distribution License, Version 1.0 only
830N/A# (the "License"). You may not use this file except in compliance
830N/A# with the License.
830N/A#
830N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
830N/A# or http://www.opensolaris.org/os/licensing.
830N/A# See the License for the specific language governing permissions
830N/A# and limitations under the License.
830N/A#
830N/A# When distributing Covered Code, include this CDDL HEADER in each
830N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
830N/A# If applicable, add the following below this CDDL HEADER, with the
830N/A# fields enclosed by brackets "[]" replaced with your own identifying
830N/A# information: Portions Copyright [yyyy] [name of copyright owner]
830N/A#
830N/A# CDDL HEADER END
830N/A#
830N/A#
839N/A# Copyright (c) 1989 by Sun Microsystems, Inc.
839N/A#
830N/A
830N/AFSTYPE= nfs
830N/ALIBPROG= showmount
830N/AATTMK= $(LIBPROG)
830N/A
830N/AOTHERINSTALL= $(ROOTUSRSBIN)/$(LIBPROG)
830N/ALINKVALUE= ../lib/fs/$(FSTYPE)/$(LIBPROG)
830N/A
830N/Ainclude ../../Makefile.fstype
830N/A
830N/AOBJS= $(LIBPROG).o
830N/ASRCS= $(OBJS:%.o=%.c)
830N/A
830N/A#
830N/A# Message catalog
844N/A#
844N/APOFILE= showmount.po
830N/A
830N/ALDLIBS += -lrpcsvc -lnsl
830N/A
830N/ACERRWARN += -_gcc=-Wno-implicit-function-declaration
830N/ACERRWARN += -_gcc=-Wno-parentheses
830N/ACERRWARN += -_gcc=-Wno-unused-variable
830N/ACERRWARN += -_gcc=-Wno-uninitialized
830N/A
830N/A$(LIBPROG): $(OBJS)
830N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
830N/A $(POST_PROCESS)
830N/A
830N/Alint: lint_SRCS
830N/A
844N/A$(ROOTUSRSBIN)/$(LIBPROG):
844N/A $(RM) $@; $(SYMLINK) $(LINKVALUE) $@
830N/A
902N/A#
902N/A# message catalog
854N/A#
854N/A
830N/Acatalog: $(POFILE)
830N/A
830N/A$(POFILE): $(SRCS)
902N/A $(RM) $@
854N/A $(COMPILE.cpp) $(SRCS) > $(POFILE).i
854N/A $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
854N/A sed "/^domain/d" messages.po > $@
854N/A $(RM) messages.po $(POFILE).i
854N/A
854N/Aclean:
865N/A $(RM) $(OBJS)
865N/A