source: rtems/testsuites/libtests/math/Makefile.am @ 9f8115f9

4.115
Last change on this file since 9f8115f9 was 9f8115f9, checked in by Joel Sherrill <joel.sherrill@…>, on 12/16/10 at 21:33:31

2010-12-16 Joel Sherrill <joel.sherrill@…>

  • math/Makefile.am, math/init.c: Init task has to be floating point and there is no point in using optional manager stubs since libio needs semaphores.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2##  $Id$
3##
4
5rtems_tests_PROGRAMS = math
6math_SOURCES = init.c domath.c domathf.c domathl.c
7EXTRA_DIST = domath.in
8
9# FIXME: Skip long double, not yet supported in newlib
10math_CPPFLAGS = $(AM_CPPFLAGS) -DNO_LONG_DOUBLE
11
12domath.c: $(srcdir)/domath.in
13        sed -e 's,[@]FTYPE[@],double,' \
14        -e 's,[@]FSUFFIX[@], ,g' \
15        -e 's,[@]FGUARD[@],NO_DOUBLE,' \
16        $(srcdir)/domath.in > $(srcdir)/domath.c
17
18domathf.c: $(srcdir)/domath.in
19        sed -e 's,[@]FTYPE[@],float,' \
20        -e 's,[@]FSUFFIX[@],f,g' \
21        -e 's,[@]FGUARD[@],NO_FLOAT,' \
22        $(srcdir)/domath.in > $(srcdir)/domathf.c
23
24domathl.c: $(srcdir)/domath.in
25        sed -e 's,[@]FTYPE[@],long double,' \
26        -e 's,[@]FSUFFIX[@],l,g' \
27        -e 's,%f,%Lf,g' \
28        -e 's,[@]FGUARD[@],NO_LONG_DOUBLE,' \
29        $(srcdir)/domath.in > $(srcdir)/domathl.c
30
31dist_rtems_tests_DATA = math.scn
32
33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
34include $(top_srcdir)/../automake/compile.am
35include $(top_srcdir)/../automake/leaf.am
36
37math_LDADD = -lm
38
39LINK_OBJS = $(math_OBJECTS) $(math_LDADD)
40LINK_LIBS = $(math_LDLIBS)
41
42math$(EXEEXT): $(math_OBJECTS) $(math_DEPENDENCIES)
43        @rm -f math$(EXEEXT)
44        $(make-exe)
45
46include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.