source: rtems/testsuites/libtests/mathl/Makefile.am @ 2e50ba1a

4.115
Last change on this file since 2e50ba1a was 2e50ba1a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/02/11 at 13:58:02

New (Split out from math/).

  • Property mode set to 100644
File size: 885 bytes
Line 
1##
2##  $Id$
3##
4
5rtems_tests_PROGRAMS = mathl
6mathl_SOURCES = init.c domathl.c
7EXTRA_DIST = $(srcdir)/../math/domath.in
8
9# FIXME: Skip long double, not yet supported in newlib
10# => This test currently is a nop
11mathl_CPPFLAGS = $(AM_CPPFLAGS) -DNO_LONG_DOUBLE
12
13$(srcdir)/domathl.c: $(srcdir)/../math/domath.in
14        sed -e 's,[@]FTYPE[@],long double,' \
15        -e 's,[@]FSUFFIX[@],l,g' \
16        -e 's,%f,%Lf,g' \
17        -e 's,[@]FGUARD[@],NO_LONG_DOUBLE,' \
18        $(srcdir)/../math/domath.in > $(srcdir)/domathl.c
19
20dist_rtems_tests_DATA = mathl.scn
21
22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23include $(top_srcdir)/../automake/compile.am
24include $(top_srcdir)/../automake/leaf.am
25
26mathl_LDADD = -lm
27
28LINK_OBJS = $(mathl_OBJECTS) $(mathl_LDADD)
29LINK_LIBS = $(mathl_LDLIBS)
30
31mathl$(EXEEXT): $(mathl_OBJECTS) $(mathl_DEPENDENCIES)
32        @rm -f mathl$(EXEEXT)
33        $(make-exe)
34
35include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.