Remove building with NOCRYPTO option
[minix.git] / tests / lib / libc / ssp / Makefile
blob21db9e36abfae975c3725e77490a9ecef664918e
1 # $NetBSD: Makefile,v 1.7 2014/04/06 19:28:59 christos Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 WARNS= 4
9 CPPFLAGS+= -D_FORTIFY_SOURCE=2
11 COPTS.h_raw.c= -fstack-protector-all -Wstack-protector
12 COPTS.h_raw.c+= ${${ACTIVE_CC} == "gcc":? --param ssp-buffer-size=1 :}
13 COPTS.h_raw.c+= ${${ACTIVE_CC} == "clang":? --param ssp-buffer-size=1 :}
15 # Bootstrap hack
17 .ifmake !clean && !obj && !cleandir
18 .BEGIN:
19 ${AR} cr libssp_nonshared.a
20 .endif
22 CLEANFILES+= libssp_nonshared.a
23 LDFLAGS+= -L.
25 TESTSDIR= ${TESTSBASE}/lib/libc/ssp
27 TESTS_SH+= t_ssp
29 BINDIR= ${TESTSDIR}
31 PROGS= h_fgets
32 PROGS+= h_gets
33 PROGS+= h_getcwd
34 PROGS+= h_memcpy
35 PROGS+= h_memmove
36 PROGS+= h_memset
37 PROGS+= h_raw
38 PROGS+= h_read
39 PROGS+= h_readlink
40 PROGS+= h_snprintf
41 PROGS+= h_sprintf
42 PROGS+= h_stpcpy
43 PROGS+= h_stpncpy
44 PROGS+= h_strcat
45 PROGS+= h_strcpy
46 PROGS+= h_strncat
47 PROGS+= h_strncpy
48 PROGS+= h_vsnprintf
49 PROGS+= h_vsprintf
51 .include <bsd.test.mk>