mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 19:27:42 +01:00
f41fdcf186
This is a wrapper over the glibc fopencookie() function. We diverge from the FreeBSD, OpenBSD and DragonFlyBSD declarations, because seekfn() there wrongly uses fpos_t, assuming it's an integral type, and any code using that on a system where fpos_t is a struct (such as GNU-based systems or NetBSD) will fail to build. In which case, as the code has to be modified anyway, we might just as well use the correct declaration.
30 lines
640 B
Makefile
30 lines
640 B
Makefile
## 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
|
|
|
|
check_PROGRAMS = \
|
|
headers \
|
|
overlay \
|
|
endian \
|
|
humanize \
|
|
fgetln \
|
|
funopen \
|
|
proctitle \
|
|
$(nil)
|
|
|
|
humanize_LDFLAGS = $(top_builddir)/src/libbsd.la
|
|
fgetln_LDFLAGS = $(top_builddir)/src/libbsd.la
|
|
funopen_LDFLAGS = $(top_builddir)/src/libbsd.la
|
|
proctitle_LDFLAGS = \
|
|
-Wl,-u,libbsd_init_func \
|
|
$(top_builddir)/src/libbsd-ctor.a \
|
|
$(top_builddir)/src/libbsd.la \
|
|
$(nil)
|
|
|
|
TESTS = $(check_PROGRAMS)
|