xref: /illumos-gate/usr/src/lib/fm/topo/modules/common/usb/Makefile.common (revision 301d732b24b7d8c3e8380b019552b9287e1b8662)
1*301d732bSRobert Mustacchi#
2*301d732bSRobert Mustacchi# This file and its contents are supplied under the terms of the
3*301d732bSRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4*301d732bSRobert Mustacchi# You may only use this file in accordance with the terms of version
5*301d732bSRobert Mustacchi# 1.0 of the CDDL.
6*301d732bSRobert Mustacchi#
7*301d732bSRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8*301d732bSRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9*301d732bSRobert Mustacchi# http://www.illumos.org/license/CDDL.
10*301d732bSRobert Mustacchi#
11*301d732bSRobert Mustacchi
12*301d732bSRobert Mustacchi#
13*301d732bSRobert Mustacchi# Copyright (c) 2018, Joyent, Inc.
14*301d732bSRobert Mustacchi#
15*301d732bSRobert Mustacchi
16*301d732bSRobert MustacchiMODULE		= usb
17*301d732bSRobert MustacchiCLASS		= common
18*301d732bSRobert MustacchiSHAREDMODULE	= shared
19*301d732bSRobert Mustacchi
20*301d732bSRobert Mustacchi
21*301d732bSRobert MustacchiMODULESRCS	= topo_usb.c topo_usb_acpi.o topo_usb_metadata.o
22*301d732bSRobert MustacchiSHAREDSRCS	= topo_port.c
23*301d732bSRobert Mustacchi
24*301d732bSRobert Mustacchiinclude ../../../Makefile.plugin
25*301d732bSRobert Mustacchi
26*301d732bSRobert MustacchiCPPFLAGS	+= -I../../shared  -I$(SRC)/uts/intel/sys/acpi -DACPI_APPLICATION
27*301d732bSRobert MustacchiCPPFLAGS	+= -D_POSIX_PTHREAD_SEMANTICS
28*301d732bSRobert MustacchiLDLIBS		+= -ldevinfo
29