mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 22:38:17 +08:00
* 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.
31 lines
716 B
Makefile
31 lines
716 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
MANAGERS = all
|
|
|
|
rtems_tests_PROGRAMS = psxspin02
|
|
psxspin02_SOURCES = main.c test.c ../include/pmacros.h
|
|
|
|
scndir = $(rtems_testsdir)
|
|
dist_scn_DATA = psxspin02.scn
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/compile.am
|
|
include $(top_srcdir)/../automake/leaf.am
|
|
|
|
psxspin02_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/include
|
|
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
|
|
|
LINK_OBJS = $(psxspin02_OBJECTS) $(psxspin02_LDADD)
|
|
LINK_LIBS = $(psxspin02_LDLIBS)
|
|
|
|
psxspin02$(EXEEXT): $(psxspin02_OBJECTS) \
|
|
$(psxspin02_DEPENDENCIES)
|
|
@rm -f psxspin02$(EXEEXT)
|
|
$(make-exe)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|