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