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