2012-03-23 10:43:33 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-isystem $(top_srcdir)/include/bsd/ \
|
|
|
|
-include $(top_builddir)/config.h \
|
|
|
|
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
|
|
|
|
-D__REENTRANT
|
|
|
|
|
2014-11-01 00:52:42 +01:00
|
|
|
LDADD = $(top_builddir)/src/libbsd.la
|
|
|
|
|
2012-03-23 10:43:33 +01:00
|
|
|
check_PROGRAMS = \
|
2012-03-24 20:37:55 +01:00
|
|
|
headers \
|
2012-03-24 20:37:55 +01:00
|
|
|
overlay \
|
2015-09-23 19:37:37 +02:00
|
|
|
bzero \
|
2015-09-23 04:40:21 +02:00
|
|
|
closefrom \
|
2012-03-23 10:43:33 +01:00
|
|
|
endian \
|
2013-05-26 04:34:57 +02:00
|
|
|
humanize \
|
2013-05-23 02:05:19 +02:00
|
|
|
fgetln \
|
2013-10-21 05:07:56 +02:00
|
|
|
funopen \
|
2015-09-22 22:30:17 +02:00
|
|
|
fparseln \
|
2014-11-01 00:54:09 +01:00
|
|
|
fpurge \
|
2014-07-20 01:48:20 +02:00
|
|
|
proctitle-init \
|
2015-09-30 04:17:15 +02:00
|
|
|
strmode \
|
2012-03-23 10:43:33 +01:00
|
|
|
$(nil)
|
|
|
|
|
2015-11-16 01:12:24 +01:00
|
|
|
if HAVE_LIBTESTU01
|
|
|
|
arc4random_LDADD = $(LDADD) $(TESTU01_LIBS)
|
|
|
|
|
|
|
|
check_PROGRAMS += arc4random
|
|
|
|
endif
|
|
|
|
|
2014-07-20 01:48:20 +02:00
|
|
|
if BUILD_LIBBSD_CTOR
|
2015-11-30 02:48:23 +01:00
|
|
|
proctitle_LDFLAGS = \
|
|
|
|
-Wl,-u,libbsd_init_func \
|
|
|
|
$(top_builddir)/src/libbsd-ctor.a \
|
|
|
|
$(top_builddir)/src/libbsd.la \
|
|
|
|
$(nil)
|
|
|
|
|
2014-07-20 01:48:20 +02:00
|
|
|
check_PROGRAMS += proctitle
|
|
|
|
endif
|
|
|
|
|
2015-09-22 20:56:15 +02:00
|
|
|
fgetln_SOURCES = test-stream.c test-stream.h fgetln.c
|
2015-09-22 16:22:56 +02:00
|
|
|
fgetln_CFLAGS = -Wno-deprecated-declarations
|
2015-09-22 22:30:17 +02:00
|
|
|
fparseln_SOURCES = test-stream.c test-stream.h fparseln.c
|
2015-09-22 20:56:15 +02:00
|
|
|
|
2014-07-20 01:48:20 +02:00
|
|
|
proctitle_init_SOURCES = proctitle.c
|
|
|
|
proctitle_init_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_USE_SETPROCTITLE_INIT=1
|
2014-11-01 00:52:42 +01:00
|
|
|
|
2012-03-23 10:43:33 +01:00
|
|
|
TESTS = $(check_PROGRAMS)
|