mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-08 00:40:21 +08:00
Revert "Revert "libtests/math*: Avoid generated files""
This reverts commit 87c8d8aba6.
This commit is contained in:
1 parent
5e707bc75e
commit
61d2fb4dba
8 files changed
+316
-1116
No files matched your search
@@ -1,12 +1,5 @@
|
||||
rtems_tests_PROGRAMS = math
|
||||
math_SOURCES = init.c domath.c
|
||||
EXTRA_DIST = $(srcdir)/../math/domath.in
|
||||
|
||||
$(srcdir)/domath.c: $(srcdir)/../math/domath.in
|
||||
sed -e 's,[@]FTYPE[@],double,' \
|
||||
-e 's,[@]FSUFFIX[@], ,g' \
|
||||
-e 's,[@]FGUARD[@],NO_DOUBLE,' \
|
||||
$(srcdir)/../math/domath.in > $(srcdir)/domath.c
|
||||
|
||||
dist_rtems_tests_DATA = math.scn
|
||||
|
||||
@@ -14,6 +7,7 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
math_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/math
|
||||
math_LDADD = -lm
|
||||
|
||||
LINK_OBJS = $(math_OBJECTS) $(math_LDADD)
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,12 +1,5 @@
|
||||
rtems_tests_PROGRAMS = mathf
|
||||
mathf_SOURCES = init.c domathf.c
|
||||
EXTRA_DIST = $(srcdir)/../math/domath.in
|
||||
|
||||
$(srcdir)/domathf.c: $(srcdir)/../math/domath.in
|
||||
sed -e 's,[@]FTYPE[@],float,' \
|
||||
-e 's,[@]FSUFFIX[@],f,g' \
|
||||
-e 's,[@]FGUARD[@],NO_FLOAT,' \
|
||||
$(srcdir)/../math/domath.in > $(srcdir)/domathf.c
|
||||
|
||||
dist_rtems_tests_DATA = mathf.scn
|
||||
|
||||
@@ -14,6 +7,7 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
mathf_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/math
|
||||
mathf_LDADD = -lm
|
||||
|
||||
LINK_OBJS = $(mathf_OBJECTS) $(mathf_LDADD)
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -4,14 +4,7 @@ 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
|
||||
mathl_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/math -DNO_LONG_DOUBLE
|
||||
|
||||
dist_rtems_tests_DATA = mathl.scn
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user