Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
2605N/A#
2605N/A# CDDL HEADER START
2605N/A#
2605N/A# The contents of this file are subject to the terms of the
2605N/A# Common Development and Distribution License (the "License").
2605N/A# You may not use this file except in compliance with the License.
2605N/A#
2605N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2605N/A# or http://www.opensolaris.org/os/licensing.
2605N/A# See the License for the specific language governing permissions
2605N/A# and limitations under the License.
2605N/A#
2605N/A# When distributing Covered Code, include this CDDL HEADER in each
2605N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2605N/A# If applicable, add the following below this CDDL HEADER, with the
2605N/A# fields enclosed by brackets "[]" replaced with your own identifying
2605N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2605N/A#
2605N/A# CDDL HEADER END
2605N/A#
2605N/A#
2605N/A# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
6033N/A#
2605N/A#
4070N/A
2605N/AFSTYPE= nfs
2605N/ATYPEPROG= nfsd
2605N/AATTMK= $(TYPEPROG)
6033N/A
6033N/Ainclude ../../Makefile.fstype
6033N/A
2605N/ALDLIBS += -lnsl -lnvpair -lscf
2605N/A
2605N/ALOCAL= nfsd.o
6033N/AOBJS= $(LOCAL) nfs_tbind.o thrpool.o daemon.o smfcfg.o
2605N/ASRCS= $(LOCAL:%.o=%.c) ../lib/nfs_tbind.c ../lib/thrpool.c ../lib/daemon.c \
2605N/A ../lib/smfcfg.c
2605N/A
4070N/ACPPFLAGS += -I../lib
2605N/ACERRWARN += -_gcc=-Wno-parentheses
6033N/ACERRWARN += -_gcc=-Wno-unused-variable
3661N/ACERRWARN += -_gcc=-Wno-switch
3996N/ACERRWARN += -_gcc=-Wno-extra
3996N/A
3996N/A$(TYPEPROG): $(OBJS)
2605N/A $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
2605N/A $(POST_PROCESS)
2605N/A
2605N/Anfs_tbind.o: ../lib/nfs_tbind.c
2605N/A $(COMPILE.c) ../lib/nfs_tbind.c
4623N/A
2605N/Athrpool.o: ../lib/thrpool.c
4070N/A $(COMPILE.c) ../lib/thrpool.c
2605N/A
4070N/Adaemon.o: ../lib/daemon.c
2605N/A $(COMPILE.c) ../lib/daemon.c
6033N/A
6033N/Asmfcfg.o: ../lib/smfcfg.c
6033N/A $(COMPILE.c) ../lib/smfcfg.c
6033N/A
6033N/Aclean:
4070N/A $(RM) $(OBJS)
4070N/A
4070N/Alint: $(SRCS) lint_SRCS
4070N/A