4.115
Line | |
---|
1 | rtems_tests_PROGRAMS = mathl |
---|
2 | mathl_SOURCES = init.c domathl.c |
---|
3 | EXTRA_DIST = $(srcdir)/../math/domath.in |
---|
4 | |
---|
5 | # FIXME: Skip long double, not yet supported in newlib |
---|
6 | # => This test currently is a nop |
---|
7 | mathl_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 | |
---|
16 | dist_rtems_tests_DATA = mathl.scn |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(top_srcdir)/../automake/compile.am |
---|
20 | include $(top_srcdir)/../automake/leaf.am |
---|
21 | |
---|
22 | mathl_LDADD = -lm |
---|
23 | |
---|
24 | LINK_OBJS = $(mathl_OBJECTS) $(mathl_LDADD) |
---|
25 | LINK_LIBS = $(mathl_LDLIBS) |
---|
26 | |
---|
27 | mathl$(EXEEXT): $(mathl_OBJECTS) $(mathl_DEPENDENCIES) |
---|
28 | @rm -f mathl$(EXEEXT) |
---|
29 | $(make-exe) |
---|
30 | |
---|
31 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.