blob: 57b372e08ffeb3de84bb7407a29b7456d804c4de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
##
## $Id$
##
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
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
mathf_LDADD = -lm
LINK_OBJS = $(mathf_OBJECTS) $(mathf_LDADD)
LINK_LIBS = $(mathf_LDLIBS)
mathf$(EXEEXT): $(mathf_OBJECTS) $(mathf_DEPENDENCIES)
@rm -f mathf$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
|