Makefile revision 3afe87ebb25691cb6d158edaa34a6fb9b703a691
896f49f8bdee644cd8d10e320ea3084ca3f74e2aEvan Hunt#
896f49f8bdee644cd8d10e320ea3084ca3f74e2aEvan Hunt# CDDL HEADER START
896f49f8bdee644cd8d10e320ea3084ca3f74e2aEvan Hunt#
896f49f8bdee644cd8d10e320ea3084ca3f74e2aEvan Hunt# The contents of this file are subject to the terms of the
896f49f8bdee644cd8d10e320ea3084ca3f74e2aEvan Hunt# Common Development and Distribution License (the "License").
896f49f8bdee644cd8d10e320ea3084ca3f74e2aEvan Hunt# You may not use this file except in compliance with the License.
6fa84a3e255ef9e6233f0a8d134fc6d273f04599Evan Hunt#
6fa84a3e255ef9e6233f0a8d134fc6d273f04599Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6fa84a3e255ef9e6233f0a8d134fc6d273f04599Evan Hunt# or http://www.opensolaris.org/os/licensing.
6fa84a3e255ef9e6233f0a8d134fc6d273f04599Evan Hunt# See the License for the specific language governing permissions
6fa84a3e255ef9e6233f0a8d134fc6d273f04599Evan Hunt# and limitations under the License.
ca84a056bdb492e8894c70fd7bf6a885df03039fMark Andrews#
01f881c1c5683054ee3366929eae6f811777ce46Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
01f881c1c5683054ee3366929eae6f811777ce46Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ca84a056bdb492e8894c70fd7bf6a885df03039fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
ca84a056bdb492e8894c70fd7bf6a885df03039fMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
a14fe8522977d391096942aae5250f00ca32d2d4Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
a14fe8522977d391096942aae5250f00ca32d2d4Mark Andrews#
a14fe8522977d391096942aae5250f00ca32d2d4Mark Andrews# CDDL HEADER END
5a8edcafd13fc63a066e8e42e0f95cdbf9606414Mark Andrews#
5a8edcafd13fc63a066e8e42e0f95cdbf9606414Mark Andrews#
5a8edcafd13fc63a066e8e42e0f95cdbf9606414Mark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
05816676bb82a5657a741ef4d378c7fb83912cfcMark Andrews# Use is subject to license terms.
05816676bb82a5657a741ef4d378c7fb83912cfcMark Andrews#
05816676bb82a5657a741ef4d378c7fb83912cfcMark Andrews
29225772176ec580b2c903928a5c18e2e24889d0Mark AndrewsPROG= tnctl
29225772176ec580b2c903928a5c18e2e24889d0Mark AndrewsETCTSOLFILES=tnrhdb tnrhtp tnzonecfg
1b513b6120e6f445960149b8f057aea19e1f5fe6Francis Dupont
761f60fc356c9987258cd10b4aa216c6296d922bFrancis DupontPOFILES = $(PROG).po
8114b0be01e98526f91da33f9685ac7014fcc598Mark Andrews
761f60fc356c9987258cd10b4aa216c6296d922bFrancis Dupontinclude ../../Makefile.cmd
0e338b60cdb2cf7cedb4fc17f6a14b518d1245c8Mark Andrews
0e338b60cdb2cf7cedb4fc17f6a14b518d1245c8Mark AndrewsMANIFEST= tnctl.xml
0e338b60cdb2cf7cedb4fc17f6a14b518d1245c8Mark AndrewsROOTMANIFESTDIR = $(ROOTSVCNETWORK)
2c172a42b39da5913fc6b2c0d3ce987c206991faMark AndrewsSVCMETHOD= svc-tnctl
2c172a42b39da5913fc6b2c0d3ce987c206991faMark Andrews$(ROOTMANIFEST) := FILEMODE= 444
faa01edd13613c077c3cb663c36f36bd527d1a4bMark Andrews
faa01edd13613c077c3cb663c36f36bd527d1a4bMark AndrewsLDLIBS += -lnsl -ltsnet
faa01edd13613c077c3cb663c36f36bd527d1a4bMark Andrews
1ea6e09c376b1351c614474a88675b1a9bda6571Evan Hunt.KEEP_STATE:
1ea6e09c376b1351c614474a88675b1a9bda6571Evan Hunt
1ea6e09c376b1351c614474a88675b1a9bda6571Evan Huntall: $(PROG)
60988462e5d6db53205851d056e3482a29239be9Evan Hunt
60988462e5d6db53205851d056e3482a29239be9Evan Huntinstall: all $(ROOTSBINPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD) \
60988462e5d6db53205851d056e3482a29239be9Evan Hunt $(ROOTUSRSBIN)/$(PROG) $(ROOTETCTSOLFILES)
cd07e4d038fda6f9bacecb3067cc6fa43a67fc0aMark Andrews
cd07e4d038fda6f9bacecb3067cc6fa43a67fc0aMark Andrews$(ROOTUSRSBIN)/$(PROG):
b36fc8294e1328912b940899d436c60986c92435Mark Andrews rm -f $(ROOTUSRSBIN)/$(PROG)
b36fc8294e1328912b940899d436c60986c92435Mark Andrews $(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBIN)/$(PROG)
fe148bca7ea6612bb7e931fdcd2e66c32d2d2a9aMark Andrews
b36fc8294e1328912b940899d436c60986c92435Mark Andrewscheck: $(CHKMANIFEST)
dd820d8fd2714ee1ae53ff0c7f6973250048f2d2Mark Andrews
dd820d8fd2714ee1ae53ff0c7f6973250048f2d2Mark Andrewsclean:
c0c4512020c0a4a9e5b087cb8cad1cd68fb3f52eEvan Hunt
c0de0cd8d88485aba260a08dccca76f83bdf9538Tinderbox Userlint: lint_PROG
c0c4512020c0a4a9e5b087cb8cad1cd68fb3f52eEvan Hunt
5d739300d12363f36ffa72836d2c10ff8c791b12Mark Andrewsinclude ../Makefile.targ
5d739300d12363f36ffa72836d2c10ff8c791b12Mark Andrews