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