move 32-bit libs to lib/i386 subdirs & 64-bit libs to lib/
[unleashed.git] / usr / src / cmd / xhci / Makefile
blobf1a938bf82493e9598b1385e3cf1a563449adf53
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.
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.
13 # Copyright 2016 Joyent, Inc.
16 PROG= xhci_portsc
18 ROOTLIBXHCI = $(ROOTLIB64)/xhci
19 ROOTLIBXHCIPROG = $(PROG:%=$(ROOTLIBXHCI)/%)
21 include ../Makefile.cmd
23 CFLAGS += $(CCVERBOSE)
24 CPPFLAGS += -I$(SRC)/uts/common/
25 LDLIBS += -ldevinfo
27 .KEEP_STATE:
29 all: $(PROG)
31 install: all $(ROOTLIBXHCIPROG)
33 clean:
35 lint: lint_PROG
37 $(ROOTLIBXHCI):
38 $(INS.dir)
40 $(ROOTLIBXHCI)/%: % $(ROOTLIBXHCI)
41 $(INS.file)
43 include ../Makefile.targ