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 2014 Garrett D'Amore <garrett@damore.org>
14500cf85bSJason King# Copyright 2018, Joyent, Inc.
15de572d98SGarrett D'Amore#
16de572d98SGarrett D'Amore
17de572d98SGarrett D'Amoreinclude $(SRC)/Makefile.master
18de572d98SGarrett D'Amore
19de572d98SGarrett D'AmoreTESTSUBDIR = symbols
20de572d98SGarrett D'AmorePROG = symbols_test
21de572d98SGarrett D'AmoreKSHPROG = setup
22de572d98SGarrett D'AmoreSYMTESTS = \
23fc2512cfSRobert Mustacchi	assert_h \
24de572d98SGarrett D'Amore	ctype_h \
25de572d98SGarrett D'Amore	dirent_h \
26de572d98SGarrett D'Amore	fcntl_h \
27de572d98SGarrett D'Amore	locale_h \
28de572d98SGarrett D'Amore	math_h \
29de572d98SGarrett D'Amore	netdb_h \
30de572d98SGarrett D'Amore	pthread_h \
31fc2512cfSRobert Mustacchi	stdalign_h \
32fc2512cfSRobert Mustacchi	stddef_h \
33de572d98SGarrett D'Amore	signal_h \
34de572d98SGarrett D'Amore	stdio_h \
35de572d98SGarrett D'Amore	stdlib_h \
36fc2512cfSRobert Mustacchi	stdnoreturn_h \
37b599bd93SRobert Mustacchi	string_h \
38de572d98SGarrett D'Amore	strings_h \
391dc4a592SRobert Mustacchi	sys_atomic_h \
40*df5cd018SRobert Mustacchi	sys_mman_h \
41de572d98SGarrett D'Amore	sys_stat_h \
42de572d98SGarrett D'Amore	sys_time_h \
43de572d98SGarrett D'Amore	sys_timeb_h \
44fc2512cfSRobert Mustacchi	time_h \
45fc2512cfSRobert Mustacchi	threads_h \
46de572d98SGarrett D'Amore	ucontext_h \
47de572d98SGarrett D'Amore	unistd_h \
48de572d98SGarrett D'Amore	wchar_h \
49de572d98SGarrett D'Amore	wctype_h
50de572d98SGarrett D'Amore
51de572d98SGarrett D'AmoreEXTRAPROG += $(SYMTESTS)
52de572d98SGarrett D'Amore
53de572d98SGarrett D'Amoreinclude ../Makefile.com
54de572d98SGarrett D'Amore
55500cf85bSJason KingLDLIBS += -lcustr
56500cf85bSJason KingLDLIBS64 += -lcustr
57fc2512cfSRobert Mustacchi
58de572d98SGarrett D'Amore$(SYMTESTS:%=$(TESTDIR)/%): $(TESTDIR)/setup
59de572d98SGarrett D'Amore	-$(RM) $@
60de572d98SGarrett D'Amore	$(LN) $(TESTDIR)/setup $@
61