Blame libs/gst/check/libcheck/Makefile.am

Packit f546b1
noinst_LTLIBRARIES	= libcheckinternal.la
Packit f546b1
Packit f546b1
EXTRA_DIST = check.h.in
Packit f546b1
Packit f546b1
CFILES =\
Packit f546b1
	check.c		\
Packit f546b1
	check_error.c	\
Packit f546b1
	check_list.c	\
Packit f546b1
	check_log.c	\
Packit f546b1
	check_msg.c	\
Packit f546b1
	check_pack.c	\
Packit f546b1
	check_print.c	\
Packit f546b1
	check_run.c	\
Packit f546b1
	check_str.c	\
Packit f546b1
	libcompat/libcompat.c
Packit f546b1
Packit f546b1
if !HAVE_ALARM
Packit f546b1
CFILES += libcompat/alarm.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
if !HAVE_CLOCK_GETTIME
Packit f546b1
CFILES += libcompat/clock_gettime.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
if !HAVE_GETTIMEOFDAY
Packit f546b1
CFILES += libcompat/gettimeofday.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
if !HAVE_LOCALTIME_R
Packit f546b1
CFILES += libcompat/localtime_r.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
if !HAVE_STRSIGNAL
Packit f546b1
CFILES += libcompat/strsignal.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
if !HAVE_STRDUP
Packit f546b1
CFILES += libcompat/strdup.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
if !HAVE_GETLINE
Packit f546b1
CFILES += libcompat/getline.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
if !HAVE_TIMER_CREATE_SETTIME_DELETE
Packit f546b1
CFILES +=\
Packit f546b1
	libcompat/timer_create.c	\
Packit f546b1
	libcompat/timer_settime.c	\
Packit f546b1
	libcompat/timer_delete.c
Packit f546b1
endif
Packit f546b1
Packit f546b1
HFILES =\
Packit f546b1
	check_error.h	\
Packit f546b1
	check_impl.h	\
Packit f546b1
	check_list.h	\
Packit f546b1
	check_log.h	\
Packit f546b1
	check_msg.h	\
Packit f546b1
	check_pack.h	\
Packit f546b1
	check_print.h	\
Packit f546b1
	check_str.h	\
Packit f546b1
	libcompat/libcompat.h
Packit f546b1
Packit f546b1
noinst_HEADERS = $(HFILES)
Packit f546b1
Packit f546b1
libcheckinternal_la_SOURCES	= $(CFILES) $(HFILES)
Packit f546b1
Packit f546b1
libcheckinternal_la_CFLAGS	= -I$(top_builddir)/libs/gst/check
Packit f546b1
libcheckinternal_la_LIBADD	=
Packit f546b1
Packit f546b1
# define HAVE_PTHREAD here as well so we keep changes to the code to a minimum
Packit f546b1
if HAVE_PTHREAD
Packit f546b1
libcheckinternal_la_CFLAGS	+= $(PTHREAD_CFLAGS) -D_GNU_SOURCE -DHAVE_PTHREAD
Packit f546b1
libcheckinternal_la_LIBADD	+= $(PTHREAD_LIBS)
Packit f546b1
else
Packit f546b1
libcheckinternal_la_CFLAGS	+= -D_GNU_SOURCE
Packit f546b1
endif
Packit f546b1
Packit f546b1
# Don't want libcompat to think we don't have these and substitute replacements
Packit f546b1
# See libcompat/libcompat.h
Packit f546b1
libcheckinternal_la_CFLAGS	+= -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_MALLOC -DHAVE_REALLOC