xref: /illumos-gate/usr/src/cmd/fs.d/nfs/tests/Makefile (revision 5661bb76)
1dec98d2aSGordon Ross#
2dec98d2aSGordon Ross# CDDL HEADER START
3dec98d2aSGordon Ross#
4dec98d2aSGordon Ross# The contents of this file are subject to the terms of the
5dec98d2aSGordon Ross# Common Development and Distribution License, Version 1.0 only
6dec98d2aSGordon Ross# (the "License").  You may not use this file except in compliance
7dec98d2aSGordon Ross# with the License.
8dec98d2aSGordon Ross#
9dec98d2aSGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10dec98d2aSGordon Ross# or http://www.opensolaris.org/os/licensing.
11dec98d2aSGordon Ross# See the License for the specific language governing permissions
12dec98d2aSGordon Ross# and limitations under the License.
13dec98d2aSGordon Ross#
14dec98d2aSGordon Ross# When distributing Covered Code, include this CDDL HEADER in each
15dec98d2aSGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16dec98d2aSGordon Ross# If applicable, add the following below this CDDL HEADER, with the
17dec98d2aSGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying
18dec98d2aSGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner]
19dec98d2aSGordon Ross#
20dec98d2aSGordon Ross# CDDL HEADER END
21dec98d2aSGordon Ross#
22dec98d2aSGordon Ross#
23dec98d2aSGordon Ross# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24dec98d2aSGordon Ross# Use is subject to license terms.
25dec98d2aSGordon Ross#
26*5661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc.
27dec98d2aSGordon Ross
28dec98d2aSGordon RossFSTYPE=		nfs
29dec98d2aSGordon RossLIBPROG=	test_svc_tp_create
30dec98d2aSGordon Ross
31dec98d2aSGordon Rossinclude		../../Makefile.fstype
32dec98d2aSGordon Ross
33dec98d2aSGordon RossOBJS=		$(LIBPROG).o
34dec98d2aSGordon RossSRCS=		$(LIBPROG).c
35dec98d2aSGordon Ross
36dec98d2aSGordon RossCFLAGS += $(CCVERBOSE)
37dec98d2aSGordon Ross
38*5661bb76SJohn Levon# not linted
39*5661bb76SJohn LevonSMATCH=off
40*5661bb76SJohn Levon
41dec98d2aSGordon RossLDLIBS +=	-lnsl -lsocket
42dec98d2aSGordon Ross
43dec98d2aSGordon Ross# message catalog
44dec98d2aSGordon Rosscatalog:
45dec98d2aSGordon Ross
46dec98d2aSGordon Ross$(LIBPROG):	$(OBJS)
47dec98d2aSGordon Ross		$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
48dec98d2aSGordon Ross		$(POST_PROCESS)
49dec98d2aSGordon Ross
50dec98d2aSGordon Rosslint:	lint_SRCS
51dec98d2aSGordon Ross
52dec98d2aSGordon Rossclean:
53dec98d2aSGordon Ross	$(RM) $(LIBPROG).o
54