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