source: rtems/testsuites/psxtests/psxspin02/Makefile.am @ 1938cc07

4.104.115
Last change on this file since 1938cc07 was 1938cc07, checked in by Joel Sherrill <joel.sherrill@…>, on 07/20/09 at 01:12:25

2009-07-19 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Add psxspin02 to exercise case where trylock is unable to obtain the spinlock and that attempting to unlock a spinlock from a thread which did not lock it works as expected.
  • psxspin02/.cvsignore, psxspin02/Makefile.am, psxspin02/main.c, psxspin02/psxspin02.doc, psxspin02/psxspin02.scn, psxspin02/test.c: New files.
  • Property mode set to 100644
File size: 716 bytes
Line 
1##
2## $Id$
3##
4
5MANAGERS = all
6
7rtems_tests_PROGRAMS = psxspin02
8psxspin02_SOURCES = main.c test.c ../include/pmacros.h
9
10scndir = $(rtems_testsdir)
11dist_scn_DATA = psxspin02.scn
12
13include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
14include $(top_srcdir)/../automake/compile.am
15include $(top_srcdir)/../automake/leaf.am
16
17psxspin02_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
18
19AM_CPPFLAGS += -I$(top_srcdir)/include
20AM_CPPFLAGS += -I$(top_srcdir)/../support/include
21
22LINK_OBJS = $(psxspin02_OBJECTS) $(psxspin02_LDADD)
23LINK_LIBS = $(psxspin02_LDLIBS)
24
25psxspin02$(EXEEXT): $(psxspin02_OBJECTS) \
26    $(psxspin02_DEPENDENCIES)
27        @rm -f psxspin02$(EXEEXT)
28        $(make-exe)
29
30include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.