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