Makefile revision a787240632bcb1404b9fd4583516b875d3f02c8b
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
10139N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License, Version 1.0 only
10139N/A# (the "License"). You may not use this file except in compliance
10139N/A# with the License.
10139N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
10139N/A# See the License for the specific language governing permissions
10139N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
10139N/A# CDDL HEADER END
10139N/A#
10139N/A#
10139N/A#ident "%Z%%M% %I% %E% SMI"
10139N/A#
10139N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A# cmd/fs.d/nfs/nfslog/Makefile
10139N/A
10139N/AFSTYPE= nfs
10139N/ATYPEPROG= nfslogd
10139N/AATTMK= $(TYPEPROG)
10139N/ADEFAULTFILES= nfslogd.dfl
10139N/A
10139N/Ainclude ../../Makefile.fstype
10139N/A
10139N/ACOMMON= nfslog_config.o nfslogtab.o
10139N/ALOCAL= process_buffer.o fhtab.o nfslogd.o nfslog_elf.o \
10139N/A nfslog_trans.o nfslog_ipaddr.o readbuf.o dbtab.o \
10139N/A nfs_log_xdr.o buffer_list.o
10139N/AOBJS= $(LOCAL) $(COMMON)
10139N/ASRCS= $(LOCAL:%.o=%.c) $(COMMON:%.o=../lib/%.c)
10139N/ALDLIBS += -lsocket -lnsl -lcmd
10139N/ACFLAGS += $(CCVERBOSE)
10139N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64
10139N/A
10139N/A#
10139N/A# Message catalog
10139N/A#
10139N/APOFILE= nfslog.po
10139N/A
10139N/Acatalog: $(POFILE)
10139N/A
10139N/A$(POFILE): $(SRCS)
10139N/A $(RM) $@
10139N/A $(COMPILE.cpp) $(SRCS) > $(POFILE).i
10139N/A $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
10139N/A sed "/^domain/d" messages.po > $@
10139N/A $(RM) messages.po $(POFILE).i
10139N/A
10139N/A$(TYPEPROG): $(OBJS)
10139N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
10139N/A $(POST_PROCESS)
10139N/A
10139N/Ainstall: all $(ROOTETCDEFAULTFILES)
10139N/A
10139N/Anfslog_config.o: ../lib/nfslog_config.c
10139N/A $(COMPILE.c) ../lib/nfslog_config.c
10139N/A
10139N/Anfslogtab.o: ../lib/nfslogtab.c
10139N/A $(COMPILE.c) ../lib/nfslogtab.c
10139N/A
10139N/Alint:
10139N/A $(LINT.c) $(SRCS) $(LDLIBS)
10139N/A
10139N/Aclean:
10139N/A $(RM) $(OBJS)
10139N/A