xref: /illumos-gate/usr/src/test/elf-tests/tests/groups/Makefile (revision 7a6d80f1660abd4755c68cbd094d4a914681d26e)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright (c) 2012, 2016 by Delphix. All rights reserved.
14# Copyright 2018 Joyent, Inc.
15#
16
17include $(SRC)/cmd/Makefile.cmd
18
19SUBDIRS = no-relobj-group-merge strip-groups
20
21DATAFILES =	common.sh
22
23ROOTOPTPKG = $(ROOT)/opt/elf-tests
24TESTDIR = $(ROOTOPTPKG)/tests/groups/
25
26DATA = $(DATAFILES:%=$(TESTDIR)/%)
27$(DATA) := FILEMODE = 0444
28
29all:
30
31install: all $(DATA)
32
33clean:
34	-$(RM) $(CLEANFILES)
35
36$(DATA): $(TESTDIR)
37
38$(TESTDIR):
39	$(INS.dir)
40
41$(TESTDIR)/%: %.sh
42	$(INS.rename)
43
44$(TESTDIR)/%: %
45	$(INS.file)
46
47include $(SRC)/test/Makefile.com
48