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 
  16 include $(SRC)/Makefile.master
  17 
  18 TESTSUBDIR = symbols
  19 PROG = symbols_test
  20 KSHPROG = setup
  21 SYMTESTS = \
  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         strings_h \
  33         sys_stat_h \
  34         sys_time_h \
  35         sys_timeb_h \
  36         ucontext_h \
  37         unistd_h \
  38         wchar_h \
  39         wctype_h
  40 
  41 EXTRAPROG += $(SYMTESTS)
  42 
  43 include ../Makefile.com
  44 
  45 $(SYMTESTS:%=$(TESTDIR)/%): $(TESTDIR)/setup
  46         -$(RM) $@
  47         $(LN) $(TESTDIR)/setup $@