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