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
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
17 LINTPROGS
= $(PROG
:%=%.ln
)
19 include ..
/Makefile.cmd
21 ROOTCMDDIR
= $(ROOTLIB
)/dl
22 CFLAGS
+= $(CCVERBOSE
)
24 dltraninfo
:= LDLIBS
+= -ldladm
-lsff
-lnvpair
25 dlled
:= LDLIBS
+= -ldladm
26 dlsend
:= LDLIBS
+= -ldlpi
-lsocket
27 dlrecv
:= LDLIBS
+= -ldlpi
29 dltraninfo.ln
:= LDLIBS
+= -ldladm
-lsff
-lnvpair
30 dlled.ln
:= LDLIBS
+= -ldladm
31 dlsend.ln
:= LDLIBS
+= -ldlpi
-lsocket
32 dlrecv.ln
:= LDLIBS
+= -ldlpi
34 ROOTLIBDLFILES
= $(PROG
:%=$(ROOTLIB
)/dl
/%)
40 install: all $(ROOTCMD
)
45 $(LINT.c
) $< $(LDLIBS
)
49 include ..
/Makefile.targ