xref: /illumos-gate/usr/src/test/i2c-tests/tests/ioctl/Makefile (revision 0cbe48189888d02563dba9c90132ac391ba233b6)
1*0cbe4818SRobert Mustacchi#
2*0cbe4818SRobert Mustacchi# This file and its contents are supplied under the terms of the
3*0cbe4818SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4*0cbe4818SRobert Mustacchi# You may only use this file in accordance with the terms of version
5*0cbe4818SRobert Mustacchi# 1.0 of the CDDL.
6*0cbe4818SRobert Mustacchi#
7*0cbe4818SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8*0cbe4818SRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9*0cbe4818SRobert Mustacchi# http://www.illumos.org/license/CDDL.
10*0cbe4818SRobert Mustacchi#
11*0cbe4818SRobert Mustacchi
12*0cbe4818SRobert Mustacchi#
13*0cbe4818SRobert Mustacchi# Copyright 2025 Oxide Computer Company
14*0cbe4818SRobert Mustacchi#
15*0cbe4818SRobert Mustacchi
16*0cbe4818SRobert MustacchiPROGS = \
17*0cbe4818SRobert Mustacchi	addresses \
18*0cbe4818SRobert Mustacchi	ioc-errnos \
19*0cbe4818SRobert Mustacchi	invalid-io
20*0cbe4818SRobert Mustacchi
21*0cbe4818SRobert MustacchiCOMMON_SRCS = i2c_ioctl_util.c
22*0cbe4818SRobert Mustacchi
23*0cbe4818SRobert MustacchiTESTDIR = ioctl
24*0cbe4818SRobert Mustacchi
25*0cbe4818SRobert Mustacchiinclude $(SRC)/test/i2c-tests/tests/Makefile.com
26*0cbe4818SRobert Mustacchi
27*0cbe4818SRobert MustacchiLDLIBS += -ldevinfo
28*0cbe4818SRobert MustacchiLDLIBS64 += -ldevinfo
29*0cbe4818SRobert Mustacchi
30*0cbe4818SRobert Mustacchiaddresses.32 := LDLIBS += -lnvpair
31*0cbe4818SRobert Mustacchiaddresses.64 := LDLIBS64 += -lnvpair
32