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