source: rtems/testsuites/libtests/mathf/Makefile.am @ 5e707bc

4.11
Last change on this file since 5e707bc was 5e707bc, checked in by Ralf Corsépius <ralf.corsepius@…>, on May 23, 2012 at 2:45:01 PM

Revert "libtests/math*: Avoid generated files"

This reverts commit 6a5bd1c65c005457455db344f2ee831d7a5cf99b.

  • Property mode set to 100644
File size: 699 bytes
Line 
1rtems_tests_PROGRAMS = mathf
2mathf_SOURCES = init.c domathf.c
3EXTRA_DIST = $(srcdir)/../math/domath.in
4
5$(srcdir)/domathf.c: $(srcdir)/../math/domath.in
6        sed -e 's,[@]FTYPE[@],float,' \
7        -e 's,[@]FSUFFIX[@],f,g' \
8        -e 's,[@]FGUARD[@],NO_FLOAT,' \
9        $(srcdir)/../math/domath.in > $(srcdir)/domathf.c
10
11dist_rtems_tests_DATA = mathf.scn
12
13include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
14include $(top_srcdir)/../automake/compile.am
15include $(top_srcdir)/../automake/leaf.am
16
17mathf_LDADD = -lm
18
19LINK_OBJS = $(mathf_OBJECTS) $(mathf_LDADD)
20LINK_LIBS = $(mathf_LDLIBS)
21
22mathf$(EXEEXT): $(mathf_OBJECTS) $(mathf_DEPENDENCIES)
23        @rm -f mathf$(EXEEXT)
24        $(make-exe)
25
26include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.