libbsd/test/Makefile.am

37 lines
716 B
Makefile
Raw Normal View History

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
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 \
endian \
2013-05-26 04:34:57 +02:00
humanize \
fgetln \
funopen \
fpurge \
proctitle-init \
2012-03-23 10:43:33 +01:00
$(nil)
if BUILD_LIBBSD_CTOR
check_PROGRAMS += proctitle
endif
proctitle_init_SOURCES = proctitle.c
proctitle_init_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_USE_SETPROCTITLE_INIT=1
proctitle_LDFLAGS = \
-Wl,-u,libbsd_init_func \
$(top_builddir)/src/libbsd-ctor.a \
$(top_builddir)/src/libbsd.la \
$(nil)
2012-03-23 10:43:33 +01:00
TESTS = $(check_PROGRAMS)