forked from Imagelibrary/rtems
A resource is something that has at most one owner at a time and may have multiple rivals in case an owner is present. The owner and rivals are impersonated via resource nodes. A resource is represented via the resource control structure. The resource controls and nodes are organized as trees. It is possible to detect deadlocks via such a resource tree. The _Resource_Iterate() function can be used to iterate through such a resource tree starting at a top node.
20 lines
550 B
Makefile
20 lines
550 B
Makefile
rtems_tests_PROGRAMS = spresource01
|
|
spresource01_SOURCES = init.c
|
|
|
|
dist_rtems_tests_DATA = spresource01.scn spresource01.doc
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/compile.am
|
|
include $(top_srcdir)/../automake/leaf.am
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
|
|
|
LINK_OBJS = $(spresource01_OBJECTS)
|
|
LINK_LIBS = $(spresource01_LDLIBS)
|
|
|
|
spresource01$(EXEEXT): $(spresource01_OBJECTS) $(spresource01_DEPENDENCIES)
|
|
@rm -f spresource01$(EXEEXT)
|
|
$(make-exe)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|