1*2d08521bSGarrett D'Amore#
2*2d08521bSGarrett D'Amore# This file and its contents are supplied under the terms of the
3*2d08521bSGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4*2d08521bSGarrett D'Amore# You may only use this file in accordance with the terms of version
5*2d08521bSGarrett D'Amore# 1.0 of the CDDL.
6*2d08521bSGarrett D'Amore#
7*2d08521bSGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8*2d08521bSGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9*2d08521bSGarrett D'Amore# http://www.illumos.org/license/CDDL.
10*2d08521bSGarrett D'Amore#
11*2d08521bSGarrett D'Amore
12*2d08521bSGarrett D'Amore#
13*2d08521bSGarrett D'Amore# Copyright (c) 2012 by Delphix. All rights reserved.
14*2d08521bSGarrett D'Amore# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
15*2d08521bSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
16*2d08521bSGarrett D'Amore#
17*2d08521bSGarrett D'Amore
18*2d08521bSGarrett D'Amoreinclude $(SRC)/Makefile.master
19*2d08521bSGarrett D'Amore
20*2d08521bSGarrett D'AmoreSRCS = default.run
21*2d08521bSGarrett D'Amore
22*2d08521bSGarrett D'AmoreROOTOPTPKG = $(ROOT)/opt/libc-tests
23*2d08521bSGarrett D'AmoreRUNFILES = $(ROOTOPTPKG)/runfiles
24*2d08521bSGarrett D'Amore
25*2d08521bSGarrett D'AmoreCMDS = $(SRCS:%=$(RUNFILES)/%)
26*2d08521bSGarrett D'Amore$(CMDS) := FILEMODE = 0444
27*2d08521bSGarrett D'Amore
28*2d08521bSGarrett D'Amoreall: $(SRCS)
29*2d08521bSGarrett D'Amore
30*2d08521bSGarrett D'Amoreinstall: $(CMDS)
31*2d08521bSGarrett D'Amore
32*2d08521bSGarrett D'Amoreclean lint clobber:
33*2d08521bSGarrett D'Amore
34*2d08521bSGarrett D'Amore$(CMDS): $(RUNFILES) $(SRCS)
35*2d08521bSGarrett D'Amore
36*2d08521bSGarrett D'Amore$(RUNFILES):
37*2d08521bSGarrett D'Amore	$(INS.dir)
38*2d08521bSGarrett D'Amore
39*2d08521bSGarrett D'Amore$(RUNFILES)/%: %
40*2d08521bSGarrett D'Amore	$(INS.file)
41