Files
rtems/testsuites/libtests/complex/Makefile.am
Sebastian Huber 7b00c2fac5 tests: Use <tmacros.h> in all tests
Update #3170.
Update #3199.
2017-11-06 09:06:20 +01:00

29 lines
713 B
Makefile

if HAS_COMPLEX
rtems_tests_PROGRAMS = complex
complex_SOURCES = init.c docomplex.c docomplexf.c docomplexl.c
endif
# FIXME: Skip long double, not yet supported in newlib
complex_CPPFLAGS = $(AM_CPPFLAGS) -DNO_LONG_DOUBLE
dist_rtems_tests_DATA = complex.scn
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
if HAS_COMPLEX
complex_LDADD = -lm
LINK_OBJS = $(complex_OBJECTS) $(complex_LDADD)
LINK_LIBS = $(complex_LDLIBS)
complex$(EXEEXT): $(complex_OBJECTS) $(complex_DEPENDENCIES)
@rm -f complex$(EXEEXT)
$(make-exe)
endif
include $(top_srcdir)/../automake/local.am