blob: 23d21d65c0b0ed7eaf00b18837181c47428fa3ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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) -DNO_LONG_DOUBLE
$(srcdir)/domathl.c: $(srcdir)/../math/domath.in
sed -e 's,[@]FTYPE[@],long double,' \
-e 's,[@]FSUFFIX[@],l,g' \
-e 's,%f,%Lf,g' \
-e 's,[@]FGUARD[@],NO_LONG_DOUBLE,' \
$(srcdir)/../math/domath.in > $(srcdir)/domathl.c
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
|