Makefile revision 28b1e50e4eed7be353f9778497714aab53ef2a0d
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync#
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# CDDL HEADER START
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync#
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# The contents of this file are subject to the terms of the
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# Common Development and Distribution License (the "License").
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# You may not use this file except in compliance with the License.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync#
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# or http://www.opensolaris.org/os/licensing.
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# See the License for the specific language governing permissions
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# and limitations under the License.
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync#
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# When distributing Covered Code, include this CDDL HEADER in each
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# If applicable, add the following below this CDDL HEADER, with the
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync#
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# CDDL HEADER END
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync#
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync#
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync#
d35bc16bb4e4d1795110172a6f4afb9a29d0d0cdvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
d35bc16bb4e4d1795110172a6f4afb9a29d0d0cdvboxsync# Use is subject to license terms.
d35bc16bb4e4d1795110172a6f4afb9a29d0d0cdvboxsync#
d35bc16bb4e4d1795110172a6f4afb9a29d0d0cdvboxsync
d35bc16bb4e4d1795110172a6f4afb9a29d0d0cdvboxsyncPROG = vntsd
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsyncSRCS = auth.c cmd.c common.c console.c listen.c queue.c read.c vntsd.c \
80096fb54d147045204dcc7e3ff273158de03f81vboxsync vntsdvcc.c write.c
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsyncOBJS = $(SRCS:.c=.o)
80096fb54d147045204dcc7e3ff273158de03f81vboxsync
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsyncMANIFEST = vntsd.xml
80096fb54d147045204dcc7e3ff273158de03f81vboxsyncSVCMETHOD = svc-vntsd
80096fb54d147045204dcc7e3ff273158de03f81vboxsync
80096fb54d147045204dcc7e3ff273158de03f81vboxsyncinclude ../Makefile.cmd
80096fb54d147045204dcc7e3ff273158de03f81vboxsync
315856d1cef638b31ac9f73fe6ca4831701f5223vboxsyncPOFILES = $(SRCS:.c=.po)
80096fb54d147045204dcc7e3ff273158de03f81vboxsyncPOFILE = $(PROG)_msg.po
315856d1cef638b31ac9f73fe6ca4831701f5223vboxsync
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsyncCFLAGS += $(CCVERBOSE)
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsyncLDLIBS += -lsocket -lnsl -lsecdb
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsyncROOTCMDDIR = $(ROOTLIB)/ldoms
80096fb54d147045204dcc7e3ff273158de03f81vboxsyncROOTMANIFESTDIR = $(ROOTSVCPLATFORMSUN4V)
80096fb54d147045204dcc7e3ff273158de03f81vboxsync
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync.KEEP_STATE:
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsyncall: $(PROG)
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync
80096fb54d147045204dcc7e3ff273158de03f81vboxsyncinstall: all \
80096fb54d147045204dcc7e3ff273158de03f81vboxsync $(ROOTCMD) \
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync $(ROOTMANIFEST) \
80096fb54d147045204dcc7e3ff273158de03f81vboxsync $(ROOTSVCMETHOD)
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync$(PROG): $(OBJS)
6dafba6bd64c19402c8f99c60785fe5e67205409vboxsync $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
80096fb54d147045204dcc7e3ff273158de03f81vboxsync $(POST_PROCESS)
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync$(POFILE): $(POFILES)
80096fb54d147045204dcc7e3ff273158de03f81vboxsync $(RM) $@
$(CAT) $(POFILES) > $@
check: $(CHKMANIFEST)
lint: lint_SRCS
clean:
$(RM) $(OBJS)
include ../Makefile.targ