xref: /illumos-gate/usr/src/test/libc-tests/cfg/Makefile (revision df5cd018c34371890eeeb8c930245b9323e8aa25)
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 \
22fc2512cfSRobert 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 \
31fc2512cfSRobert Mustacchi	symbols/stdalign_h.cfg \
32fc2512cfSRobert Mustacchi	symbols/stddef_h.cfg \
33de572d98SGarrett D'Amore	symbols/stdio_h.cfg \
34de572d98SGarrett D'Amore	symbols/stdlib_h.cfg \
35fc2512cfSRobert Mustacchi	symbols/stdnoreturn_h.cfg \
36b599bd93SRobert Mustacchi	symbols/string_h.cfg \
37de572d98SGarrett D'Amore	symbols/strings_h.cfg \
381dc4a592SRobert Mustacchi	symbols/sys_atomic_h.cfg \
39*df5cd018SRobert Mustacchi	symbols/sys_mman_h.cfg \
40de572d98SGarrett D'Amore	symbols/sys_stat_h.cfg \
41de572d98SGarrett D'Amore	symbols/sys_time_h.cfg \
42de572d98SGarrett D'Amore	symbols/sys_timeb_h.cfg \
43fc2512cfSRobert Mustacchi	symbols/time_h.cfg \
44fc2512cfSRobert Mustacchi	symbols/threads_h.cfg \
45de572d98SGarrett D'Amore	symbols/ucontext_h.cfg \
46de572d98SGarrett D'Amore	symbols/unistd_h.cfg \
47de572d98SGarrett D'Amore	symbols/wchar_h.cfg \
48de572d98SGarrett D'Amore	symbols/wctype_h.cfg
49de572d98SGarrett D'Amore
50de572d98SGarrett D'AmoreROOTOPTPKG = $(ROOT)/opt/libc-tests
51de572d98SGarrett D'AmoreROOTOPTPKGCFG = $(ROOT)/opt/libc-tests/cfg
52de572d98SGarrett D'AmoreROOTOPTPKGDIRS = $(ROOTOPTPKG) \
53de572d98SGarrett D'Amore	$(ROOTOPTPKGCFG) \
54de572d98SGarrett D'Amore	$(ROOTOPTPKGCFG)/symbols
55de572d98SGarrett D'Amore
56de572d98SGarrett D'AmoreFILES = $(CFGS:%=$(ROOTOPTPKGCFG)/%)
57de572d98SGarrett D'Amore$(FILES) := FILEMODE = 0444
58de572d98SGarrett D'Amore
59de572d98SGarrett D'Amoreall: $(CFGS)
60de572d98SGarrett D'Amore
61de572d98SGarrett D'Amoreinstall: $(ROOTOPTPKG) $(ROOTOPTPKGCFG) $(FILES)
62de572d98SGarrett D'Amore
63de572d98SGarrett D'Amoreclean lint clobber:
64de572d98SGarrett D'Amore
65de572d98SGarrett D'Amore$(ROOTOPTPKGDIRS):
66de572d98SGarrett D'Amore	$(INS.dir)
67de572d98SGarrett D'Amore
68de572d98SGarrett D'Amore$(ROOTOPTPKGCFG)/%: % $(ROOTOPTPKGDIRS)
69de572d98SGarrett D'Amore	$(INS.file)
70