Merge commit '7928f4baf4ab3230557eb6289be68aa7a3003f38'
[unleashed.git] / usr / src / cmd / dlutil / Makefile
blobdde5f1074e157e5ded8deac1c17a4251e34dc20f
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 (c) 2017, Joyent, Inc.
16 PROG= dltraninfo dlsend dlrecv dlled
18 include ../Makefile.cmd
20 ROOTCMDDIR = $(ROOTLIB)/dl
21 CFLAGS += $(CCVERBOSE)
23 dltraninfo := LDLIBS += -ldladm -lsff -lnvpair
24 dlled := LDLIBS += -ldladm
25 dlsend := LDLIBS += -ldlpi
26 dlrecv := LDLIBS += -ldlpi
28 dltraninfo.ln := LDLIBS += -ldladm -lsff -lnvpair
29 dlled.ln := LDLIBS += -ldladm
30 dlsend.ln := LDLIBS += -ldlpi
31 dlrecv.ln := LDLIBS += -ldlpi
33 ROOTLIBDLFILES = $(PROG:%=$(ROOTLIB)/dl/%)
35 .KEEP_STATE:
37 all: $(PROG)
39 install: all $(ROOTCMD)
41 clean:
43 include ../Makefile.targ