forked from Imagelibrary/rtems
Make <rtems/score/atomic.h> available for all RTEMS configurations. Use inline functions instead of macros. Use ISR disable/enable on uni-processor configurations to ensure atomicity. Update #2273.
20 lines
530 B
Makefile
20 lines
530 B
Makefile
rtems_tests_PROGRAMS = spatomic01
|
|
spatomic01_SOURCES = init.c
|
|
|
|
dist_rtems_tests_DATA = spatomic01.scn spatomic01.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 = $(spatomic01_OBJECTS)
|
|
LINK_LIBS = $(spatomic01_LDLIBS)
|
|
|
|
spatomic01$(EXEEXT): $(spatomic01_OBJECTS) $(spatomic01_DEPENDENCIES)
|
|
@rm -f spatomic01$(EXEEXT)
|
|
$(make-exe)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|