xref: /illumos-gate/usr/src/test/util-tests/tests/printf/Makefile (revision 598f4ceed9327d2d6c2325dd67cae3aa06f7fea6)
1*598f4ceeSGarrett D'Amore#
2*598f4ceeSGarrett D'Amore# This file and its contents are supplied under the terms of the
3*598f4ceeSGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4*598f4ceeSGarrett D'Amore# You may only use this file in accordance with the terms of version
5*598f4ceeSGarrett D'Amore# 1.0 of the CDDL.
6*598f4ceeSGarrett D'Amore#
7*598f4ceeSGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8*598f4ceeSGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9*598f4ceeSGarrett D'Amore# http://www.illumos.org/license/CDDL.
10*598f4ceeSGarrett D'Amore#
11*598f4ceeSGarrett D'Amore
12*598f4ceeSGarrett D'Amore#
13*598f4ceeSGarrett D'Amore# Copyright (c) 2012 by Delphix. All rights reserved.
14*598f4ceeSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
15*598f4ceeSGarrett D'Amore#
16*598f4ceeSGarrett D'Amore
17*598f4ceeSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.cmd
18*598f4ceeSGarrett D'Amoreinclude $(SRC)/test/Makefile.com
19*598f4ceeSGarrett D'Amore
20*598f4ceeSGarrett D'AmorePROG = printf_test
21*598f4ceeSGarrett D'Amore
22*598f4ceeSGarrett D'AmoreROOTOPTPKG = $(ROOT)/opt/util-tests
23*598f4ceeSGarrett D'AmoreTESTDIR = $(ROOTOPTPKG)/tests
24*598f4ceeSGarrett D'Amore
25*598f4ceeSGarrett D'AmoreCMDS = $(PROG:%=$(TESTDIR)/%)
26*598f4ceeSGarrett D'Amore$(CMDS) := FILEMODE = 0555
27*598f4ceeSGarrett D'Amore
28*598f4ceeSGarrett D'Amoreall lint clean clobber:
29*598f4ceeSGarrett D'Amore
30*598f4ceeSGarrett D'Amoreinstall: all $(CMDS)
31*598f4ceeSGarrett D'Amore
32*598f4ceeSGarrett D'Amore$(CMDS): $(TESTDIR) $(PROG).ksh
33*598f4ceeSGarrett D'Amore
34*598f4ceeSGarrett D'Amore$(TESTDIR):
35*598f4ceeSGarrett D'Amore	$(INS.dir)
36*598f4ceeSGarrett D'Amore
37*598f4ceeSGarrett D'Amore$(TESTDIR)/%: %.ksh
38*598f4ceeSGarrett D'Amore	$(INS.rename)
39