source: rtems/testsuites/libtests/math/Makefile.am @ 87c8d8ab

4.115
Last change on this file since 87c8d8ab was 87c8d8ab, checked in by Ralf Corsépius <ralf.corsepius@…>, on 05/23/12 at 14:45:01

Revert "libtests/math*: Avoid generated files"

This reverts commit 6a5bd1c65c005457455db344f2ee831d7a5cf99b.

  • Property mode set to 100644
File size: 687 bytes
RevLine 
[a52ac89f]1rtems_tests_PROGRAMS = math
[1c64f503]2math_SOURCES = init.c domath.c
[87c8d8ab]3EXTRA_DIST = $(srcdir)/../math/domath.in
4
5$(srcdir)/domath.c: $(srcdir)/../math/domath.in
6        sed -e 's,[@]FTYPE[@],double,' \
7        -e 's,[@]FSUFFIX[@], ,g' \
8        -e 's,[@]FGUARD[@],NO_DOUBLE,' \
9        $(srcdir)/../math/domath.in > $(srcdir)/domath.c
[a52ac89f]10
11dist_rtems_tests_DATA = math.scn
12
13include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
14include $(top_srcdir)/../automake/compile.am
15include $(top_srcdir)/../automake/leaf.am
16
[9f8115f9]17math_LDADD = -lm
[a52ac89f]18
19LINK_OBJS = $(math_OBJECTS) $(math_LDADD)
20LINK_LIBS = $(math_LDLIBS)
21
22math$(EXEEXT): $(math_OBJECTS) $(math_DEPENDENCIES)
23        @rm -f math$(EXEEXT)
24        $(make-exe)
25
26include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.