xref: /titanic_51/usr/src/cmd/vntsd/Makefile (revision 28b1e50e4eed7be353f9778497714aab53ef2a0d)
11ae08745Sheppo#
21ae08745Sheppo# CDDL HEADER START
31ae08745Sheppo#
41ae08745Sheppo# The contents of this file are subject to the terms of the
51ae08745Sheppo# Common Development and Distribution License (the "License").
61ae08745Sheppo# You may not use this file except in compliance with the License.
71ae08745Sheppo#
81ae08745Sheppo# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91ae08745Sheppo# or http://www.opensolaris.org/os/licensing.
101ae08745Sheppo# See the License for the specific language governing permissions
111ae08745Sheppo# and limitations under the License.
121ae08745Sheppo#
131ae08745Sheppo# When distributing Covered Code, include this CDDL HEADER in each
141ae08745Sheppo# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151ae08745Sheppo# If applicable, add the following below this CDDL HEADER, with the
161ae08745Sheppo# fields enclosed by brackets "[]" replaced with your own identifying
171ae08745Sheppo# information: Portions Copyright [yyyy] [name of copyright owner]
181ae08745Sheppo#
191ae08745Sheppo# CDDL HEADER END
201ae08745Sheppo#
211ae08745Sheppo#
221ae08745Sheppo#
23*28b1e50eSSriharsha Basavapatna# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
241ae08745Sheppo# Use is subject to license terms.
251ae08745Sheppo#
261ae08745Sheppo
271ae08745SheppoPROG =	vntsd
28*28b1e50eSSriharsha BasavapatnaSRCS =	auth.c cmd.c common.c console.c listen.c queue.c read.c vntsd.c \
29*28b1e50eSSriharsha Basavapatna	vntsdvcc.c write.c
301ae08745SheppoOBJS = $(SRCS:.c=.o)
311ae08745Sheppo
32a192e900SamaguireMANIFEST = vntsd.xml
33a192e900SamaguireSVCMETHOD = svc-vntsd
34a192e900Samaguire
351ae08745Sheppoinclude ../Makefile.cmd
361ae08745Sheppo
371ae08745SheppoPOFILES = $(SRCS:.c=.po)
381ae08745SheppoPOFILE = $(PROG)_msg.po
391ae08745Sheppo
401ae08745SheppoCFLAGS += $(CCVERBOSE)
411ae08745Sheppo
42*28b1e50eSSriharsha BasavapatnaLDLIBS += -lsocket -lnsl -lsecdb
431ae08745Sheppo
441ae08745SheppoROOTCMDDIR =	$(ROOTLIB)/ldoms
451ae08745SheppoROOTMANIFESTDIR = $(ROOTSVCPLATFORMSUN4V)
461ae08745Sheppo
471ae08745Sheppo.KEEP_STATE:
481ae08745Sheppo
491ae08745Sheppoall: $(PROG)
501ae08745Sheppo
511ae08745Sheppoinstall: all		\
521ae08745Sheppo	$(ROOTCMD)	\
531ae08745Sheppo	$(ROOTMANIFEST) \
541ae08745Sheppo	$(ROOTSVCMETHOD)
551ae08745Sheppo
561ae08745Sheppo$(PROG): $(OBJS)
571ae08745Sheppo	$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
581ae08745Sheppo	$(POST_PROCESS)
591ae08745Sheppo
601ae08745Sheppo$(POFILE): $(POFILES)
611ae08745Sheppo	$(RM) $@
621ae08745Sheppo	$(CAT) $(POFILES) > $@
631ae08745Sheppo
641ae08745Sheppocheck: $(CHKMANIFEST)
651ae08745Sheppo
661ae08745Sheppolint: lint_SRCS
671ae08745Sheppo
681ae08745Sheppoclean:
691ae08745Sheppo	$(RM) $(OBJS)
701ae08745Sheppo
711ae08745Sheppoinclude ../Makefile.targ
72