xref: /titanic_44/usr/src/test/libc-tests/cfg/Makefile (revision d1c5dc47e23888b05d4095e8983ccf62acbc69fa)
1de572d98SGarrett D'Amore#
2de572d98SGarrett D'Amore# This file and its contents are supplied under the terms of the
3de572d98SGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4de572d98SGarrett D'Amore# You may only use this file in accordance with the terms of version
5de572d98SGarrett D'Amore# 1.0 of the CDDL.
6de572d98SGarrett D'Amore#
7de572d98SGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8de572d98SGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9de572d98SGarrett D'Amore# http://www.illumos.org/license/CDDL.
10de572d98SGarrett D'Amore#
11de572d98SGarrett D'Amore
12de572d98SGarrett D'Amore#
13de572d98SGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14de572d98SGarrett D'Amore# Copyright (c) 2012 by Delphix. All rights reserved.
15de572d98SGarrett D'Amore#
16de572d98SGarrett D'Amore
17de572d98SGarrett D'Amoreinclude $(SRC)/Makefile.master
18de572d98SGarrett D'Amore
19de572d98SGarrett D'AmoreCFGS = README \
20de572d98SGarrett D'Amore	compilation.cfg \
21de572d98SGarrett D'Amore	symbols/README \
22*d1c5dc47SRobert Mustacchi	symbols/assert_h.cfg \
23de572d98SGarrett D'Amore	symbols/ctype_h.cfg \
24de572d98SGarrett D'Amore	symbols/dirent_h.cfg \
25de572d98SGarrett D'Amore	symbols/fcntl_h.cfg \
26de572d98SGarrett D'Amore	symbols/locale_h.cfg \
27de572d98SGarrett D'Amore	symbols/math_h.cfg \
28de572d98SGarrett D'Amore	symbols/netdb_h.cfg \
29de572d98SGarrett D'Amore	symbols/pthread_h.cfg \
30de572d98SGarrett D'Amore	symbols/signal_h.cfg \
31*d1c5dc47SRobert Mustacchi	symbols/stdalign_h.cfg \
32*d1c5dc47SRobert Mustacchi	symbols/stddef_h.cfg \
33de572d98SGarrett D'Amore	symbols/stdio_h.cfg \
34de572d98SGarrett D'Amore	symbols/stdlib_h.cfg \
35*d1c5dc47SRobert Mustacchi	symbols/stdnoreturn_h.cfg \
36de572d98SGarrett D'Amore	symbols/strings_h.cfg \
37de572d98SGarrett D'Amore	symbols/sys_stat_h.cfg \
38de572d98SGarrett D'Amore	symbols/sys_time_h.cfg \
39de572d98SGarrett D'Amore	symbols/sys_timeb_h.cfg \
40*d1c5dc47SRobert Mustacchi	symbols/time_h.cfg \
41*d1c5dc47SRobert Mustacchi	symbols/threads_h.cfg \
42de572d98SGarrett D'Amore	symbols/ucontext_h.cfg \
43de572d98SGarrett D'Amore	symbols/unistd_h.cfg \
44de572d98SGarrett D'Amore	symbols/wchar_h.cfg \
45de572d98SGarrett D'Amore	symbols/wctype_h.cfg
46de572d98SGarrett D'Amore
47de572d98SGarrett D'AmoreROOTOPTPKG = $(ROOT)/opt/libc-tests
48de572d98SGarrett D'AmoreROOTOPTPKGCFG = $(ROOT)/opt/libc-tests/cfg
49de572d98SGarrett D'AmoreROOTOPTPKGDIRS = $(ROOTOPTPKG) \
50de572d98SGarrett D'Amore	$(ROOTOPTPKGCFG) \
51de572d98SGarrett D'Amore	$(ROOTOPTPKGCFG)/symbols
52de572d98SGarrett D'Amore
53de572d98SGarrett D'AmoreFILES = $(CFGS:%=$(ROOTOPTPKGCFG)/%)
54de572d98SGarrett D'Amore$(FILES) := FILEMODE = 0444
55de572d98SGarrett D'Amore
56de572d98SGarrett D'Amoreall: $(CFGS)
57de572d98SGarrett D'Amore
58de572d98SGarrett D'Amoreinstall: $(ROOTOPTPKG) $(ROOTOPTPKGCFG) $(FILES)
59de572d98SGarrett D'Amore
60de572d98SGarrett D'Amoreclean lint clobber:
61de572d98SGarrett D'Amore
62de572d98SGarrett D'Amore$(ROOTOPTPKGDIRS):
63de572d98SGarrett D'Amore	$(INS.dir)
64de572d98SGarrett D'Amore
65de572d98SGarrett D'Amore$(ROOTOPTPKGCFG)/%: % $(ROOTOPTPKGDIRS)
66de572d98SGarrett D'Amore	$(INS.file)
67