xref: /illumos-gate/usr/src/cmd/fs.d/nfs/tests/rpcsec_gss_conn/Makefile (revision 02ac56e010f18fc0c5aafe47377586d8ba8c897c)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2022 Tintri by DDN, Inc. All rights reserved.
14#
15
16LIBPROG = rpcsec_gss_conn
17
18SNOOPDIR = $(SRC)/cmd/cmd-inet/usr.sbin/snoop
19SNOOPOBJS = nfs4_xdr.o
20
21OBJS = $(LIBPROG:%=%.o) $(SNOOPOBJS)
22
23%.o: $(SNOOPDIR)/%.c
24	$(COMPILE.c) -o $@ $< -I$(SNOOPDIR)
25	$(POST_PROCESS_O)
26
27include ../Makefile.com
28
29CERRWARN += -_gcc=-Wno-switch
30LDLIBS += -lnsl -lgss
31