xref: /titanic_50/usr/src/test/libc-tests/tests/symbols/Makefile (revision 42cc51e07cdbcad3b9aca8d9d991fc09b251feb7)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2014 Garrett D'Amore <garrett@damore.org>
14#
15
16include $(SRC)/Makefile.master
17
18TESTSUBDIR = symbols
19PROG = symbols_test
20KSHPROG = setup
21SYMTESTS = \
22	ctype_h \
23	dirent_h \
24	fcntl_h \
25	locale_h \
26	math_h \
27	netdb_h \
28	pthread_h \
29	signal_h \
30	stdio_h \
31	stdlib_h \
32	string_h \
33	strings_h \
34	sys_stat_h \
35	sys_time_h \
36	sys_timeb_h \
37	ucontext_h \
38	unistd_h \
39	wchar_h \
40	wctype_h
41
42EXTRAPROG += $(SYMTESTS)
43
44include ../Makefile.com
45
46$(SYMTESTS:%=$(TESTDIR)/%): $(TESTDIR)/setup
47	-$(RM) $@
48	$(LN) $(TESTDIR)/setup $@
49