xref: /titanic_44/usr/src/test/libc-tests/tests/symbols/Makefile (revision e01ec5d5f4fc831c481861bbc5813ed87c953ac4)
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>
14*e01ec5d5SJason 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 = \
23d1c5dc47SRobert 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 \
31d1c5dc47SRobert Mustacchi	stdalign_h \
32d1c5dc47SRobert Mustacchi	stddef_h \
33de572d98SGarrett D'Amore	signal_h \
34de572d98SGarrett D'Amore	stdio_h \
35de572d98SGarrett D'Amore	stdlib_h \
36d1c5dc47SRobert Mustacchi	stdnoreturn_h \
37de572d98SGarrett D'Amore	strings_h \
38de572d98SGarrett D'Amore	sys_stat_h \
39de572d98SGarrett D'Amore	sys_time_h \
40de572d98SGarrett D'Amore	sys_timeb_h \
41d1c5dc47SRobert Mustacchi	time_h \
42d1c5dc47SRobert Mustacchi	threads_h \
43de572d98SGarrett D'Amore	ucontext_h \
44de572d98SGarrett D'Amore	unistd_h \
45de572d98SGarrett D'Amore	wchar_h \
46de572d98SGarrett D'Amore	wctype_h
47de572d98SGarrett D'Amore
48de572d98SGarrett D'AmoreEXTRAPROG += $(SYMTESTS)
49de572d98SGarrett D'Amore
50de572d98SGarrett D'Amoreinclude ../Makefile.com
51de572d98SGarrett D'Amore
52*e01ec5d5SJason KingLDLIBS += -lcustr
53*e01ec5d5SJason KingLDLIBS64 += -lcustr
54d1c5dc47SRobert Mustacchi
55de572d98SGarrett D'Amore$(SYMTESTS:%=$(TESTDIR)/%): $(TESTDIR)/setup
56de572d98SGarrett D'Amore	-$(RM) $@
57de572d98SGarrett D'Amore	$(LN) $(TESTDIR)/setup $@
58