diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-22 10:49:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-22 10:52:41 +0200 |
commit | 6a5bd1c65c005457455db344f2ee831d7a5cf99b (patch) | |
tree | 1c28cb32ce710f2486aa84275880f2acf60d484e /testsuites/libtests/mathf/Makefile.am | |
parent | libtests/complex: Avoid generated files (diff) | |
download | rtems-6a5bd1c65c005457455db344f2ee831d7a5cf99b.tar.bz2 |
libtests/math*: Avoid generated files
Use C pre-processor instead of shell commands.
Diffstat (limited to 'testsuites/libtests/mathf/Makefile.am')
-rw-r--r-- | testsuites/libtests/mathf/Makefile.am | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/testsuites/libtests/mathf/Makefile.am b/testsuites/libtests/mathf/Makefile.am index 0834145292..e4bd7ba10c 100644 --- a/testsuites/libtests/mathf/Makefile.am +++ b/testsuites/libtests/mathf/Makefile.am @@ -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) |