Home | History | Annotate | Line # | Download | only in ssp
Makefile revision 1.1
      1 # $NetBSD: Makefile,v 1.1 2010/12/27 02:04:19 pgoyette Exp $
      2 
      3 NOMAN=		# defined
      4 
      5 .include <bsd.own.mk>
      6 
      7 WARNS=	4
      8 
      9 CPPFLAGS+=	-D_FORTIFY_SOURCE=2
     10 CFLAGS+=	-fstack-protector-all -Wstack-protector
     11 LDFLAGS+=	-fstack-protector-all -Wstack-protector
     12 
     13 # Bootstrap hack
     14 
     15 .ifmake !clean && !obj && !cleandir
     16 .BEGIN:
     17 	${AR} cr libssp_nonshared.a
     18 .endif
     19 
     20 CLEANFILES+= 	libssp_nonshared.a
     21 LDFLAGS+=	-L.
     22 
     23 TESTSDIR=	${TESTSBASE}/lib/libc/ssp
     24 
     25 TESTS_SH+=	t_ssp
     26 
     27 BINDIR=		${TESTSDIR}
     28 
     29 PROGS=		h_fgets
     30 PROGS+=		h_gets
     31 PROGS+=		h_getcwd
     32 PROGS+=		h_memcpy
     33 PROGS+=		h_memmove
     34 PROGS+=		h_memset
     35 PROGS+=		h_raw
     36 PROGS+=		h_read
     37 PROGS+=		h_readlink
     38 PROGS+=		h_snprintf
     39 PROGS+=		h_sprintf
     40 PROGS+=		h_strcat
     41 PROGS+=		h_strcpy
     42 PROGS+=		h_strncat
     43 PROGS+=		h_strncpy
     44 PROGS+=		h_vsnprintf
     45 PROGS+=		h_vsprintf
     46 
     47 .include <bsd.test.mk>
     48