Makefile revision 06e1a7147edd272b7296f208141627a5b1191731
9174efb969475801d0dc88eee35aae40c748d450nd#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin#
454d060a0d7b13606978c536f632be71e311959djerenkrantz# The contents of this file are subject to the terms of the
454d060a0d7b13606978c536f632be71e311959djerenkrantz# Common Development and Distribution License (the "License").
454d060a0d7b13606978c536f632be71e311959djerenkrantz# You may not use this file except in compliance with the License.
454d060a0d7b13606978c536f632be71e311959djerenkrantz#
1392b9997000dceb6aca39da0a1e6405ccb6f0a6jerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1392b9997000dceb6aca39da0a1e6405ccb6f0a6jerenkrantz# or http://www.opensolaris.org/os/licensing.
1392b9997000dceb6aca39da0a1e6405ccb6f0a6jerenkrantz# See the License for the specific language governing permissions
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz# and limitations under the License.
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz#
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz# If applicable, add the following below this CDDL HEADER, with the
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz# fields enclosed by brackets "[]" replaced with your own identifying
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# information: Portions Copyright [yyyy] [name of copyright owner]
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin#
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# CDDL HEADER END
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# Use is subject to license terms.
ec79b29695b183f794264bbb578c51e93d1f9b1emartin#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# ident "%Z%%M% %I% %E% SMI"
87d944bf70927764edf8ef69e46d3b4b8fa09131pquerna#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# cmd/fs.d/nfs/nfslog/Makefile
2a90918318af50d5712ae7159e5625476332c184pquerna
f07ae092933846055c4ca046c5a65de83d79c9c6pquernaFSTYPE= nfs
f07ae092933846055c4ca046c5a65de83d79c9c6pquernaTYPEPROG= nfslogd
f07ae092933846055c4ca046c5a65de83d79c9c6pquernaATTMK= $(TYPEPROG)
9b88ec397b4155f3ff79bf7c08de5f15d21765b3pquernaDEFAULTFILES= nfslogd.dfl
9b88ec397b4155f3ff79bf7c08de5f15d21765b3pquerna
9b88ec397b4155f3ff79bf7c08de5f15d21765b3pquernainclude ../../Makefile.fstype
a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4pquerna
a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4pquernaCOMMON= nfslog_config.o nfslogtab.o
a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4pquernaLOCAL= process_buffer.o fhtab.o nfslogd.o nfslog_elf.o \
2a90918318af50d5712ae7159e5625476332c184pquerna nfslog_trans.o nfslog_ipaddr.o readbuf.o dbtab.o \
2a90918318af50d5712ae7159e5625476332c184pquerna nfs_log_xdr.o buffer_list.o
2a90918318af50d5712ae7159e5625476332c184pquernaOBJS= $(LOCAL) $(COMMON)
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquernaSRCS= $(LOCAL:%.o=%.c) $(COMMON:%.o=../lib/%.c)
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquernaLDLIBS += -lsocket -lnsl
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquernaCFLAGS += $(CCVERBOSE)
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquernaCPPFLAGS += -D_FILE_OFFSET_BITS=64
82d2a5debc5a6ed2118ac5916d9ba36ad0b5d78btrawick
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe#
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe# Message catalog
4ec8ec67d57d820b15807fa4a23ddd0c351fa9efwrowe#
4d3ee33c1047b89e2860fbf095c77ad245910983wrowePOFILE= nfslog.po
4ec8ec67d57d820b15807fa4a23ddd0c351fa9efwrowe
4ec8ec67d57d820b15807fa4a23ddd0c351fa9efwrowecatalog: $(POFILE)
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe
b59ae7ab0c7b5c37f145e416d61add8fd433be04wrowe$(POFILE): $(SRCS)
b59ae7ab0c7b5c37f145e416d61add8fd433be04wrowe $(RM) $@
b59ae7ab0c7b5c37f145e416d61add8fd433be04wrowe $(COMPILE.cpp) $(SRCS) > $(POFILE).i
b59ae7ab0c7b5c37f145e416d61add8fd433be04wrowe $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe sed "/^domain/d" messages.po > $@
b59ae7ab0c7b5c37f145e416d61add8fd433be04wrowe $(RM) messages.po $(POFILE).i
42167da203d969a1402cf7ce09c14586c04af1dfjim
42167da203d969a1402cf7ce09c14586c04af1dfjim$(TYPEPROG): $(OBJS)
42167da203d969a1402cf7ce09c14586c04af1dfjim $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
81ebf4d4f943d1ec988dd10105354e510c2da1d8jim $(POST_PROCESS)
e62b34b26eb8e82bf6f06ff99a08e304b48792ecpquerna
e62b34b26eb8e82bf6f06ff99a08e304b48792ecpquernainstall: all $(ROOTETCDEFAULTFILES)
e62b34b26eb8e82bf6f06ff99a08e304b48792ecpquerna
27420b7ba57bf78f7a85b19fb0155053a3aff80dwrowenfslog_config.o: ../lib/nfslog_config.c
27420b7ba57bf78f7a85b19fb0155053a3aff80dwrowe $(COMPILE.c) ../lib/nfslog_config.c
27420b7ba57bf78f7a85b19fb0155053a3aff80dwrowe
ceeb4b77f172b9d0125f1b4b323675d700b2c43bminfrinnfslogtab.o: ../lib/nfslogtab.c
ceeb4b77f172b9d0125f1b4b323675d700b2c43bminfrin $(COMPILE.c) ../lib/nfslogtab.c
ceeb4b77f172b9d0125f1b4b323675d700b2c43bminfrin
9152b0c4366af633c4b7982af01bd9a821f410d5pquernalint:
9152b0c4366af633c4b7982af01bd9a821f410d5pquerna $(LINT.c) $(SRCS) $(LDLIBS)
9152b0c4366af633c4b7982af01bd9a821f410d5pquerna
9152b0c4366af633c4b7982af01bd9a821f410d5pquernaclean:
87d944bf70927764edf8ef69e46d3b4b8fa09131pquerna $(RM) $(OBJS)
87d944bf70927764edf8ef69e46d3b4b8fa09131pquerna