source: rtems/testsuites/libtests/complex/Makefile.am @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1if HAS_COMPLEX
2rtems_tests_PROGRAMS = complex
3complex_SOURCES = init.c docomplex.c docomplexf.c docomplexl.c
4endif
5EXTRA_DIST = docomplex.in
6
7# FIXME: Skip long double, not yet supported in newlib
8complex_CPPFLAGS = $(AM_CPPFLAGS) -DNO_LONG_DOUBLE
9
10docomplex.c: $(srcdir)/docomplex.in
11        sed -e 's,[@]FTYPE[@],double,' \
12        -e 's,[@]FSUFFIX[@], ,g' \
13        -e 's,[@]FGUARD[@],NO_DOUBLE,' \
14        $(srcdir)/docomplex.in > $(srcdir)/docomplex.c
15
16docomplexf.c: $(srcdir)/docomplex.in
17        sed -e 's,[@]FTYPE[@],float,' \
18        -e 's,[@]FSUFFIX[@],f,g' \
19        -e 's,[@]FGUARD[@],NO_FLOAT,' \
20        $(srcdir)/docomplex.in > $(srcdir)/docomplexf.c
21
22docomplexl.c: $(srcdir)/docomplex.in
23        sed -e 's,[@]FTYPE[@],long double,' \
24        -e 's,[@]FSUFFIX[@],l,g' \
25        -e 's,%f,%Lf,g' \
26        -e 's,[@]FGUARD[@],NO_LONG_DOUBLE,' \
27        $(srcdir)/docomplex.in > $(srcdir)/docomplexl.c
28
29dist_rtems_tests_DATA = complex.scn
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(top_srcdir)/../automake/compile.am
33include $(top_srcdir)/../automake/leaf.am
34
35if HAS_COMPLEX
36complex_LDADD = -lm
37
38LINK_OBJS = $(complex_OBJECTS) $(complex_LDADD)
39LINK_LIBS = $(complex_LDLIBS)
40
41complex$(EXEEXT): $(complex_OBJECTS) $(complex_DEPENDENCIES)
42        @rm -f complex$(EXEEXT)
43        $(make-exe)
44endif
45
46include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.