1f94098a9SRobert Mustacchi# 2f94098a9SRobert Mustacchi# This file and its contents are supplied under the terms of the 3f94098a9SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0. 4f94098a9SRobert Mustacchi# You may only use this file in accordance with the terms of version 5f94098a9SRobert Mustacchi# 1.0 of the CDDL. 6f94098a9SRobert Mustacchi# 7f94098a9SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this 8f94098a9SRobert Mustacchi# source. A copy of the CDDL is also available via the Internet at 9f94098a9SRobert Mustacchi# http://www.illumos.org/license/CDDL. 10f94098a9SRobert Mustacchi# 11f94098a9SRobert Mustacchi 12f94098a9SRobert Mustacchi# 13*a7cc5d6fSRyan Zezeski# Copyright 2017 Joyent, Inc. 14f94098a9SRobert Mustacchi# 15f94098a9SRobert Mustacchi 16f94098a9SRobert Mustacchiinclude $(SRC)/cmd/Makefile.cmd 17f94098a9SRobert Mustacchiinclude $(SRC)/test/Makefile.com 18f94098a9SRobert Mustacchi 19f94098a9SRobert MustacchiROOTOPTPKG = $(ROOT)/opt/util-tests/tests 20*a7cc5d6fSRyan ZezeskiPROG = allowed-ips set-linkprop 21f94098a9SRobert Mustacchi 22f94098a9SRobert MustacchiROOTPROG = $(PROG:%=$(ROOTOPTPKG)/%) 23f94098a9SRobert Mustacchi 24f94098a9SRobert Mustacchiall: 25f94098a9SRobert Mustacchi 26f94098a9SRobert Mustacchiinstall: $(ROOTPROG) 27f94098a9SRobert Mustacchi 28f94098a9SRobert Mustacchilint: 29f94098a9SRobert Mustacchi 30f94098a9SRobert Mustacchiclobber: clean 31f94098a9SRobert Mustacchi 32f94098a9SRobert Mustacchiclean: 33f94098a9SRobert Mustacchi 34f94098a9SRobert Mustacchi$(CMDS): $(TESTDIR) 35f94098a9SRobert Mustacchi 36f94098a9SRobert Mustacchi$(ROOTOPTPKG): 37f94098a9SRobert Mustacchi $(INS.dir) 38f94098a9SRobert Mustacchi 39f94098a9SRobert Mustacchi$(ROOTOPTPKG)/%: %.ksh $(ROOTOPTPKG) 40f94098a9SRobert Mustacchi $(INS.rename) 41