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