xref: /illumos-gate/usr/src/cmd/vscan/vscanadm/Makefile (revision 1e8d79d2)
1911106dfSjm#
2911106dfSjm# CDDL HEADER START
3911106dfSjm#
4911106dfSjm# The contents of this file are subject to the terms of the
5911106dfSjm# Common Development and Distribution License (the "License").
6911106dfSjm# You may not use this file except in compliance with the License.
7911106dfSjm#
8911106dfSjm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9911106dfSjm# or http://www.opensolaris.org/os/licensing.
10911106dfSjm# See the License for the specific language governing permissions
11911106dfSjm# and limitations under the License.
12911106dfSjm#
13911106dfSjm# When distributing Covered Code, include this CDDL HEADER in each
14911106dfSjm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15911106dfSjm# If applicable, add the following below this CDDL HEADER, with the
16911106dfSjm# fields enclosed by brackets "[]" replaced with your own identifying
17911106dfSjm# information: Portions Copyright [yyyy] [name of copyright owner]
18911106dfSjm#
19911106dfSjm# CDDL HEADER END
20911106dfSjm
21911106dfSjm#
22911106dfSjm# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23911106dfSjm# Use is subject to license terms.
24911106dfSjm#
25911106dfSjm
26911106dfSjmPROG = vscanadm
27911106dfSjmSRCS = vscanadm.c
28911106dfSjmOBJS = $(SRCS:%.c=%.o)
29911106dfSjm
30911106dfSjminclude ../../Makefile.cmd
31911106dfSjm
32911106dfSjmLDLIBS += -L$(ROOT)/usr/lib/vscan -lvscan
33911106dfSjmLDFLAGS += -R/usr/lib/vscan
34911106dfSjmCFLAGS += $(CCVERBOSE)
35911106dfSjm
36*bd0ce624SYuri PankovCSTD =       $(CSTD_GNU99)
37911106dfSjm
38911106dfSjm.KEEP_STATE:
39911106dfSjm
40911106dfSjmall: $(PROG)
41911106dfSjm
42911106dfSjmclean:
43911106dfSjm	$(RM) $(OBJS)
44911106dfSjm
45911106dfSjm$(PROG): $(OBJS)
46911106dfSjm	$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
47911106dfSjm	$(POST_PROCESS)
48911106dfSjm
49911106dfSjminclude ../../Makefile.targ
50911106dfSjm
51911106dfSjminstall: all .WAIT $(ROOTUSRSBINPROG)
52