1*59596c01SRobert Mustacchi# 2*59596c01SRobert Mustacchi# This file and its contents are supplied under the terms of the 3*59596c01SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0. 4*59596c01SRobert Mustacchi# You may only use this file in accordance with the terms of version 5*59596c01SRobert Mustacchi# 1.0 of the CDDL. 6*59596c01SRobert Mustacchi# 7*59596c01SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this 8*59596c01SRobert Mustacchi# source. A copy of the CDDL is also available via the Internet at 9*59596c01SRobert Mustacchi# http://www.illumos.org/license/CDDL. 10*59596c01SRobert Mustacchi# 11*59596c01SRobert Mustacchi 12*59596c01SRobert Mustacchi# 13*59596c01SRobert Mustacchi# Copyright (c) 2017, Joyent, Inc. 14*59596c01SRobert Mustacchi# 15*59596c01SRobert Mustacchi 16*59596c01SRobert MustacchiPROG= dltraninfo 17*59596c01SRobert MustacchiLINTPROGS= $(PROG:%=%.ln) 18*59596c01SRobert Mustacchi 19*59596c01SRobert Mustacchiinclude ../Makefile.cmd 20*59596c01SRobert Mustacchi 21*59596c01SRobert MustacchiROOTCMDDIR = $(ROOTLIB)/dl 22*59596c01SRobert MustacchiCFLAGS += $(CCVERBOSE) 23*59596c01SRobert Mustacchi 24*59596c01SRobert Mustacchidltraninfo := LDLIBS += -ldladm -lsff -lnvpair 25*59596c01SRobert Mustacchidltraninfo.ln := LDLIBS += -ldladm -lsff -lnvpair 26*59596c01SRobert Mustacchi 27*59596c01SRobert MustacchiROOTLIBDLFILES = $(PROG:%=$(ROOTLIB)/dl/%) 28*59596c01SRobert Mustacchi 29*59596c01SRobert Mustacchi.KEEP_STATE: 30*59596c01SRobert Mustacchi 31*59596c01SRobert Mustacchiall: $(PROG) 32*59596c01SRobert Mustacchi 33*59596c01SRobert Mustacchiinstall: all $(ROOTCMD) 34*59596c01SRobert Mustacchi 35*59596c01SRobert Mustacchiclean: 36*59596c01SRobert Mustacchi 37*59596c01SRobert Mustacchi%.ln: %.c 38*59596c01SRobert Mustacchi $(LINT.c) $< $(LDLIBS) 39*59596c01SRobert Mustacchi 40*59596c01SRobert Mustacchilint: $(LINTPROGS) 41*59596c01SRobert Mustacchi 42*59596c01SRobert Mustacchiinclude ../Makefile.targ 43