source: rtems/testsuites/libtests/mathl/Makefile.am @ 87c8d8ab

4.115
Last change on this file since 87c8d8ab was 87c8d8ab, checked in by Ralf Corsépius <ralf.corsepius@…>, on 05/23/12 at 14:45:01

Revert "libtests/math*: Avoid generated files"

This reverts commit 6a5bd1c65c005457455db344f2ee831d7a5cf99b.

  • Property mode set to 100644
File size: 869 bytes
Line 
1rtems_tests_PROGRAMS = mathl
2mathl_SOURCES = init.c domathl.c
3EXTRA_DIST = $(srcdir)/../math/domath.in
4
5# FIXME: Skip long double, not yet supported in newlib
6# => This test currently is a nop
7mathl_CPPFLAGS = $(AM_CPPFLAGS) -DNO_LONG_DOUBLE
8
9$(srcdir)/domathl.c: $(srcdir)/../math/domath.in
10        sed -e 's,[@]FTYPE[@],long double,' \
11        -e 's,[@]FSUFFIX[@],l,g' \
12        -e 's,%f,%Lf,g' \
13        -e 's,[@]FGUARD[@],NO_LONG_DOUBLE,' \
14        $(srcdir)/../math/domath.in > $(srcdir)/domathl.c
15
16dist_rtems_tests_DATA = mathl.scn
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../automake/compile.am
20include $(top_srcdir)/../automake/leaf.am
21
22mathl_LDADD = -lm
23
24LINK_OBJS = $(mathl_OBJECTS) $(mathl_LDADD)
25LINK_LIBS = $(mathl_LDLIBS)
26
27mathl$(EXEEXT): $(mathl_OBJECTS) $(mathl_DEPENDENCIES)
28        @rm -f mathl$(EXEEXT)
29        $(make-exe)
30
31include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.