1 1.5 pgoyette # $NetBSD: Makefile,v 1.5 2010/12/25 01:22:02 pgoyette Exp $ 2 1.1 christos 3 1.1 christos .include <bsd.own.mk> 4 1.1 christos 5 1.1 christos TESTSDIR= ${TESTSBASE}/lib/libc/gen 6 1.1 christos 7 1.1 christos TESTS_C+= t_glob_star 8 1.2 pooka TESTS_C+= t_syslog_pthread 9 1.3 pgoyette TESTS_C+= t_basedirname 10 1.4 pgoyette TESTS_C+= t_siginfo 11 1.2 pooka 12 1.5 pgoyette .if !make(obj) && !make(cleandir) 13 1.5 pgoyette HAVE_SIGINFO != if (echo "\#include <signal.h>" && echo "SA_SIGINFO") | ${CC} -E -I${DESTDIR}/usr/include - | grep -sq 0x0040; then echo yes; else echo no; fi 14 1.5 pgoyette .endif 15 1.5 pgoyette 16 1.5 pgoyette .if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes") 17 1.5 pgoyette TESTS_C+= t_siginfo 18 1.5 pgoyette .endif 19 1.5 pgoyette 20 1.2 pooka LDADD.t_syslog_pthread+=-lpthread 21 1.1 christos 22 1.1 christos .include <bsd.test.mk> 23