source: rtems/testsuites/automake/compile.am

Last change on this file was cbfc3415, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 14, 2019 at 7:20:54 AM

ttest01: New test

This is an example test using the RTEMS Test Framework. It tests also
the framework itself.

Add T_FILE_NAME command line define to get rid of the full file path.
This is important to reduce the read-only data of test files and make
them build system independent.

Update #3199.

  • Property mode set to 100644
File size: 808 bytes
Line 
1CC = @CC@
2CXX = @CXX@
3CPP = @CPP@
4
5LD = @LD@
6OBJCOPY = @OBJCOPY@
7NM = @NM@
8SIZE = @SIZE@
9STRIP = @STRIP@
10
11TEST_LD_FLAGS = -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar
12
13AM_CPPFLAGS = $(TEST_FLAGS) @RTEMS_CPPFLAGS@ @RTEMS_BSP_CPPFLAGS@
14AM_CPPFLAGS += -DT_FILE_NAME='"$(notdir $<)"'
15AM_CFLAGS   = $(TEST_C_FLAGS)
16AM_CXXFLAGS = $(TEST_CXX_FLAGS)
17
18AM_LDFLAGS =
19AM_LDFLAGS += -B$(RTEMS_ROOT)lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@
20AM_LDFLAGS += $(GCCSPECS)
21AM_LDFLAGS += -L$(RTEMS_ROOT)cpukit
22AM_LDFLAGS += -L$(RTEMS_BSP_ARCH_LINKCMDS_PATH)
23AM_LDFLAGS += $(TEST_LD_FLAGS)
24
25LDADD =
26LDADD += $(RTEMS_ROOT)lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@/librtemsbsp.a
27LDADD += $(RTEMS_ROOT)cpukit/librtemscpu.a
28LDADD += $(RTEMS_ROOT)cpukit/librtemstest.a
29
30CLEANFILES = *.num *.nxe *.elf *.srec* *.bin *.bt *.ralf
Note: See TracBrowser for help on using the repository browser.