Files
rtems/testsuites/libtests/mathl/Makefile.am
Sebastian Huber 6a5bd1c65c libtests/math*: Avoid generated files
Use C pre-processor instead of shell commands.
2012-05-22 10:52:41 +02:00

25 lines
664 B
Makefile

rtems_tests_PROGRAMS = mathl
mathl_SOURCES = init.c domathl.c
EXTRA_DIST = $(srcdir)/../math/domath.in
# FIXME: Skip long double, not yet supported in newlib
# => This test currently is a nop
mathl_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/math -DNO_LONG_DOUBLE
dist_rtems_tests_DATA = mathl.scn
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
mathl_LDADD = -lm
LINK_OBJS = $(mathl_OBJECTS) $(mathl_LDADD)
LINK_LIBS = $(mathl_LDLIBS)
mathl$(EXEEXT): $(mathl_OBJECTS) $(mathl_DEPENDENCIES)
@rm -f mathl$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am