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