Makefile revision da14cebe459d3275048785f25bd869cb09b5307f
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
935N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
98N/A
98N/APROG=flowadm
98N/A
235N/AROOTFS_PROG= $(PROG)
156N/A
156N/APOFILE= $(PROG).po
156N/ACONFIGFILES= flowadm.conf flowprop.conf
156N/A
98N/Ainclude ../Makefile.cmd
98N/A
98N/AXGETFLAGS += -a -x $(PROG).xcl
98N/ALDLIBS += -L$(ROOT)/lib
493N/ALDLIBS += -ldladm -lkstat
493N/A
98N/AROOTCFGDIR= $(ROOTETC)/dladm
911N/AROOTCFGFILES= $(CONFIGFILES:%=$(ROOTCFGDIR)/%)
931N/A
931N/A$(ROOTCFGFILES):= FILEMODE= 644
911N/A$(ROOTCFGFILES):= OWNER= dladm
98N/A$(ROOTCFGFILES):= GROUP= sys
235N/A
493N/A.KEEP_STATE:
98N/A
916N/Aall: $(ROOTFS_PROG)
916N/A
916N/A#
916N/A# Message catalog
98N/A#
98N/A_msg: $(POFILE)
98N/A
606N/A$(POFILE): $(PROG).c
98N/A $(RM) $@
98N/A $(COMPILE.cpp) $(PROG).c > $(POFILE).i
98N/A $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
606N/A sed "/^domain/d" messages.po > $@
606N/A $(RM) messages.po $(POFILE).i
98N/A
493N/Ainstall: all $(ROOTSBINPROG) $(ROOTCFGDIR) $(ROOTCFGFILES)
493N/A $(RM) $(ROOTUSRSBINPROG)
98N/A -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
98N/A
98N/Aclean:
98N/A
908N/Alint: lint_PROG
591N/A
493N/A$(ROOTCFGDIR):
493N/A $(INS.dir)
493N/A
493N/A$(ROOTCFGDIR)/%: $(ROOTCFGDIR) %
493N/A $(INS.file)
493N/A
493N/Ainclude ../Makefile.targ
493N/A