forked from Imagelibrary/rtems
1195 lines
35 KiB
Makefile
1195 lines
35 KiB
Makefile
#
|
|
# POSIX Teststuite
|
|
#
|
|
|
|
ACLOCAL_AMFLAGS = -I ../aclocal
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/compile.am
|
|
|
|
psx_tests =
|
|
psx_screens =
|
|
psx_docs =
|
|
psx_lib =
|
|
|
|
support_includes = -I$(top_srcdir)/../support/include
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx01
|
|
psx_tests += psx01
|
|
psx01_SOURCES = psx01/init.c psx01/task.c psx01/system.h \
|
|
include/pmacros.h
|
|
psx01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx02
|
|
psx_tests += psx02
|
|
psx_screens += psx02/psx02.scn
|
|
psx02_SOURCES = psx02/init.c psx02/task.c psx02/system.h \
|
|
include/pmacros.h
|
|
psx02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx03
|
|
psx_tests += psx03
|
|
psx_screens += psx03/psx03.scn
|
|
psx03_SOURCES = psx03/init.c psx03/task.c psx03/system.h \
|
|
include/pmacros.h
|
|
psx03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx03) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx04
|
|
psx_tests += psx04
|
|
psx_screens += psx04/psx04.scn
|
|
psx04_SOURCES = psx04/init.c psx04/task1.c psx04/task2.c psx04/task3.c \
|
|
psx04/system.h include/pmacros.h
|
|
psx04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx04) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx05
|
|
psx_tests += psx05
|
|
psx_screens += psx05/psx05.scn
|
|
psx05_SOURCES = psx05/init.c psx05/task.c psx05/task2.c psx05/task3.c \
|
|
psx05/system.h include/pmacros.h
|
|
psx05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx05) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx06
|
|
psx_tests += psx06
|
|
psx_screens += psx06/psx06.scn
|
|
psx06_SOURCES = psx06/init.c psx06/task.c psx06/task2.c psx06/system.h \
|
|
include/pmacros.h
|
|
psx06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx06) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx07
|
|
psx_tests += psx07
|
|
psx_screens += psx07/psx07.scn
|
|
psx_docs += psx07/psx07.doc
|
|
psx07_SOURCES = psx07/init.c psx07/task.c psx07/system.h \
|
|
include/pmacros.h
|
|
psx07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx07) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx08
|
|
psx_tests += psx08
|
|
psx_screens += psx08/psx08.scn
|
|
psx08_SOURCES = psx08/init.c psx08/task1.c psx08/task2.c psx08/task3.c \
|
|
psx08/system.h include/pmacros.h
|
|
psx08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx08) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx09
|
|
psx_tests += psx09
|
|
psx_screens += psx09/psx09.scn
|
|
psx09_SOURCES = psx09/init.c psx09/system.h include/pmacros.h
|
|
psx09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx09) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx10
|
|
psx_tests += psx10
|
|
psx_screens += psx10/psx10.scn
|
|
psx10_SOURCES = psx10/init.c psx10/task.c psx10/task2.c psx10/task3.c \
|
|
psx10/system.h include/pmacros.h
|
|
psx10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx10) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx11
|
|
psx_tests += psx11
|
|
psx_screens += psx11/psx11.scn
|
|
psx11_SOURCES = psx11/init.c psx11/task.c psx11/system.h \
|
|
include/pmacros.h
|
|
psx11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx11) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx12
|
|
psx_tests += psx12
|
|
psx_screens += psx12/psx12.scn
|
|
psx12_SOURCES = psx12/init.c include/pmacros.h
|
|
psx12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx12) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psx13
|
|
psx_tests += psx13
|
|
psx_screens += psx13/psx13.scn
|
|
psx13_SOURCES = psx13/main.c psx13/test.c include/pmacros.h
|
|
psx13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx13) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx14
|
|
psx_tests += psx14
|
|
psx_screens += psx14/psx14.scn
|
|
psx14_SOURCES = psx14/init.c psx14/system.h include/pmacros.h
|
|
psx14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx14) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx15
|
|
psx_tests += psx15
|
|
psx_screens += psx15/psx15.scn
|
|
psx15_SOURCES = psx15/init.c include/pmacros.h
|
|
psx15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx15) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psx16
|
|
psx_tests += psx16
|
|
psx_screens += psx16/psx16.scn
|
|
psx16_SOURCES = psx16/init.c include/pmacros.h
|
|
psx16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx16) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxaio01
|
|
psx_tests += psxaio01
|
|
psx_screens += psxaio01/psxaio01.scn
|
|
psxaio01_SOURCES = psxaio01/init.c psxaio01/system.h include/pmacros.h
|
|
psxaio01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxaio01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxaio02
|
|
psx_tests += psxaio02
|
|
psx_screens += psxaio02/psxaio02.scn
|
|
psxaio02_SOURCES = psxaio02/init.c psxaio02/system.h include/pmacros.h
|
|
psxaio02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxaio02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxaio03
|
|
psx_tests += psxaio03
|
|
psx_screens += psxaio03/psxaio03.scn
|
|
psxaio03_SOURCES = psxaio03/init.c psxaio03/system.h include/pmacros.h
|
|
psxaio03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxaio03) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxalarm01
|
|
psx_tests += psxalarm01
|
|
psx_screens += psxalarm01/psxalarm01.scn
|
|
psx_docs += psxalarm01/psxalarm01.doc
|
|
psxalarm01_SOURCES = psxalarm01/init.c include/pmacros.h
|
|
psxalarm01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxalarm01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxautoinit01
|
|
psx_tests += psxautoinit01
|
|
psx_screens += psxautoinit01/psxautoinit01.scn
|
|
psxautoinit01_SOURCES = psxautoinit01/init.c include/pmacros.h
|
|
psxautoinit01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxautoinit01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxautoinit02
|
|
psx_tests += psxautoinit02
|
|
psx_screens += psxautoinit02/psxautoinit02.scn
|
|
psx_docs += psxautoinit02/psxautoinit02.doc
|
|
psxautoinit02_SOURCES = psxautoinit02/init.c include/pmacros.h
|
|
psxautoinit02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxautoinit02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxbarrier01
|
|
psx_tests += psxbarrier01
|
|
psx_screens += psxbarrier01/psxbarrier01.scn
|
|
psxbarrier01_SOURCES = psxbarrier01/main.c psxbarrier01/test.c \
|
|
include/pmacros.h
|
|
psxbarrier01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxbarrier01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxcancel
|
|
psx_tests += psxcancel
|
|
psx_screens += psxcancel/psxcancel.scn
|
|
psx_docs += psxcancel/psxcancel.doc
|
|
psxcancel_SOURCES = psxcancel/init.c include/pmacros.h
|
|
psxcancel_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcancel) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxcancel01
|
|
psx_tests += psxcancel01
|
|
psx_screens += psxcancel01/psxcancel01.scn
|
|
psx_docs += psxcancel01/psxcancel01.doc
|
|
psxcancel01_SOURCES = psxcancel01/init.c include/pmacros.h
|
|
psxcancel01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcancel01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxchroot01
|
|
psx_tests += psxchroot01
|
|
psx_screens += psxchroot01/psxchroot01.scn
|
|
psxchroot01_SOURCES = psxchroot01/main.c psxchroot01/test.c \
|
|
include/pmacros.h
|
|
psxchroot01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxchroot01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxclassic01
|
|
psx_tests += psxclassic01
|
|
psx_screens += psxclassic01/psxclassic01.scn
|
|
psx_docs += psxclassic01/psxclassic01.doc
|
|
psxclassic01_SOURCES = psxclassic01/init.c include/pmacros.h
|
|
psxclassic01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxclassic01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxcleanup
|
|
psx_tests += psxcleanup
|
|
psx_screens += psxcleanup/psxcleanup.scn
|
|
psxcleanup_SOURCES = psxcleanup/psxcleanup.c psxcleanup/system.h \
|
|
include/pmacros.h
|
|
psxcleanup_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcleanup) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxcleanup01
|
|
psx_tests += psxcleanup01
|
|
psx_screens += psxcleanup01/psxcleanup01.scn
|
|
psx_docs += psxcleanup01/psxcleanup01.doc
|
|
psxcleanup01_SOURCES = psxcleanup01/init.c include/pmacros.h
|
|
psxcleanup01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcleanup01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxcleanup02
|
|
psx_tests += psxcleanup02
|
|
psx_screens += psxcleanup02/psxcleanup02.scn
|
|
psx_docs += psxcleanup02/psxcleanup02.doc
|
|
psxcleanup02_SOURCES = psxcleanup02/init.c psxcleanup02/main.c
|
|
psxcleanup02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcleanup02) \
|
|
$(support_includes)
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxclock
|
|
psx_tests += psxclock
|
|
psx_screens += psxclock/psxclock.scn
|
|
psx_docs += psxclock/psxclock.doc
|
|
psxclock_SOURCES = psxclock/init.c include/pmacros.h
|
|
psxclock_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxclock) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxclock01
|
|
psx_tests += psxclock01
|
|
psx_screens += psxclock01/psxclock01.scn
|
|
psx_docs += psxclock01/psxclock01.doc
|
|
psxclock01_SOURCES = psxclock01/init.c
|
|
psxclock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxclock01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxclockrealtime01
|
|
psx_tests += psxclockrealtime01
|
|
psx_screens += psxclockrealtime01/psxclockrealtime01.scn
|
|
psx_docs += psxclockrealtime01/psxclockrealtime01.doc
|
|
psxclockrealtime01_SOURCES = psxclockrealtime01/init.c
|
|
psxclockrealtime01_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
$(TEST_FLAGS_psxclockrealtime01) $(support_includes)
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxconcurrency01
|
|
psx_tests += psxconcurrency01
|
|
psx_screens += psxconcurrency01/psxconcurrency01.scn
|
|
psx_docs += psxconcurrency01/psxconcurrency01.doc
|
|
psxconcurrency01_SOURCES = psxconcurrency01/init.c include/pmacros.h
|
|
psxconcurrency01_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
$(TEST_FLAGS_psxconcurrency01) $(support_includes) \
|
|
-I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxcond01
|
|
psx_tests += psxcond01
|
|
psx_screens += psxcond01/psxcond01.scn
|
|
psx_docs += psxcond01/psxcond01.doc
|
|
psxcond01_SOURCES = psxcond01/init.c include/pmacros.h
|
|
psxcond01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcond01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxcond02
|
|
psx_tests += psxcond02
|
|
psx_screens += psxcond02/psxcond02.scn
|
|
psx_docs += psxcond02/psxcond02.doc
|
|
psxcond02_SOURCES = psxcond02/init.c include/pmacros.h
|
|
psxcond02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcond02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxconfig01
|
|
psx_tests += psxconfig01
|
|
psx_screens += psxconfig01/psxconfig01.scn
|
|
psx_docs += psxconfig01/psxconfig01.doc
|
|
psxconfig01_SOURCES = psxconfig01/init.c include/pmacros.h
|
|
psxconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxconfig01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxdevctl01
|
|
psx_tests += psxdevctl01
|
|
psx_screens += psxdevctl01/psxdevctl01.scn
|
|
psxdevctl01_SOURCES = psxdevctl01/main.c psxdevctl01/test.c \
|
|
include/pmacros.h
|
|
psxdevctl01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxdevctl01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxeintr_join
|
|
psx_tests += psxeintr_join
|
|
psx_screens += psxeintr_join/psxeintr_join.scn
|
|
psx_docs += psxeintr_join/psxeintr_join.doc
|
|
psxeintr_join_SOURCES = psxeintr_join/init.c
|
|
psxeintr_join_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxeintr_join) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxenosys
|
|
psx_tests += psxenosys
|
|
psx_screens += psxenosys/psxenosys.scn
|
|
psx_docs += psxenosys/psxenosys.doc
|
|
psxenosys_SOURCES = psxenosys/init.c psxenosys/system.h \
|
|
include/pmacros.h
|
|
psxenosys_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxenosys) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxfatal01
|
|
psx_tests += psxfatal01
|
|
psx_screens += psxfatal01/psxfatal01.scn
|
|
psxfatal01_SOURCES = psxfatal_support/init.c psxfatal_support/system.h \
|
|
psxfatal01/testcase.h
|
|
psxfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfatal01) \
|
|
$(support_includes) -I$(top_srcdir)/psxfatal01
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxfatal02
|
|
psx_tests += psxfatal02
|
|
psx_screens += psxfatal02/psxfatal02.scn
|
|
psxfatal02_SOURCES = psxfatal_support/init.c psxfatal_support/system.h \
|
|
psxfatal02/testcase.h
|
|
psxfatal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfatal02) \
|
|
$(support_includes) -I$(top_srcdir)/psxfatal02
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxfchx01
|
|
psx_tests += psxfchx01
|
|
psx_screens += psxfchx01/psxfchx01.scn
|
|
psx_docs += psxfchx01/psxfchx01.doc
|
|
psxfchx01_SOURCES = psxfchx01/init.c include/pmacros.h
|
|
psxfchx01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfchx01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxfile01
|
|
psx_tests += psxfile01
|
|
psx_screens += psxfile01/psxfile01.scn
|
|
psxfile01_SOURCES = psxfile01/main.c psxfile01/test.c \
|
|
psxfile01/test_cat.c psxfile01/test_extend.c psxfile01/test_write.c \
|
|
include/pmacros.h
|
|
psxfile01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfile01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxfile02
|
|
psx_tests += psxfile02
|
|
psx_screens += psxfile02/psxfile02.scn
|
|
psx_docs += psxfile02/psxfile02.doc
|
|
psxfile02_SOURCES = psxfile02/init.c ../support/src/spin.c
|
|
psxfile02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfile02) \
|
|
$(support_includes)
|
|
endif
|
|
|
|
if TEST_psxfilelock01
|
|
psx_tests += psxfilelock01
|
|
psx_screens += psxfilelock01/psxfilelock01.scn
|
|
psx_docs += psxfilelock01/psxfilelock01.doc
|
|
psxfilelock01_SOURCES = psxfilelock01/init.c
|
|
psxfilelock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfilelock01) \
|
|
$(support_includes)
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxgetattrnp01
|
|
psx_tests += psxgetattrnp01
|
|
psx_screens += psxgetattrnp01/psxgetattrnp01.scn
|
|
psx_docs += psxgetattrnp01/psxgetattrnp01.doc
|
|
psxgetattrnp01_SOURCES = psxgetattrnp01/init.c
|
|
psxgetattrnp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxgetattrnp01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxgetrusage01
|
|
psx_tests += psxgetrusage01
|
|
psx_screens += psxgetrusage01/psxgetrusage01.scn
|
|
psx_docs += psxgetrusage01/psxgetrusage01.doc
|
|
psxgetrusage01_SOURCES = psxgetrusage01/init.c ../support/src/spin.c
|
|
psxgetrusage01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxgetrusage01) \
|
|
$(support_includes)
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if HAS_CPLUSPLUS
|
|
if TEST_psxglobalcon01
|
|
psx_tests += psxglobalcon01
|
|
psx_screens += psxglobalcon01/psxglobalcon01.scn
|
|
psx_docs += psxglobalcon01/psxglobalcon01.doc
|
|
psxglobalcon01_SOURCES = psxglobalcon01/init.cc
|
|
psxglobalcon01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxglobalcon01) \
|
|
$(support_includes)
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if HAS_CPLUSPLUS
|
|
if TEST_psxglobalcon02
|
|
psx_tests += psxglobalcon02
|
|
psx_screens += psxglobalcon02/psxglobalcon02.scn
|
|
psx_docs += psxglobalcon02/psxglobalcon02.doc
|
|
psxglobalcon02_SOURCES = psxglobalcon02/init.cc
|
|
psxglobalcon02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxglobalcon02) \
|
|
$(support_includes)
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxid01
|
|
psx_tests += psxid01
|
|
psx_screens += psxid01/psxid01.scn
|
|
psx_docs += psxid01/psxid01.doc
|
|
psxid01_SOURCES = psxid01/init.c
|
|
psxid01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxid01) \
|
|
$(support_includes)
|
|
endif
|
|
|
|
if TEST_psximfs01
|
|
psx_tests += psximfs01
|
|
psx_screens += psximfs01/psximfs01.scn
|
|
psx_docs += psximfs01/psximfs01.doc
|
|
psximfs01_SOURCES = psximfs01/init.c
|
|
psximfs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psximfs01) \
|
|
$(support_includes)
|
|
endif
|
|
|
|
if TEST_psximfs02
|
|
psx_tests += psximfs02
|
|
psx_screens += psximfs02/psximfs02.scn
|
|
psx_docs += psximfs02/psximfs02.doc
|
|
psximfs02_SOURCES = psximfs02/init.c
|
|
psximfs02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psximfs02) \
|
|
$(support_includes)
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxintrcritical01
|
|
psx_tests += psxintrcritical01
|
|
psx_screens += psxintrcritical01/psxintrcritical01.scn
|
|
psx_docs += psxintrcritical01/psxintrcritical01.doc
|
|
psxintrcritical01_SOURCES = psxintrcritical01/init.c \
|
|
../sptests/spintrcritical_support/intrcritical.c
|
|
psxintrcritical01_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
$(TEST_FLAGS_psxintrcritical01) $(support_includes) \
|
|
-I$(top_srcdir)/../sptests/spintrcritical_support
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxitimer
|
|
psx_tests += psxitimer
|
|
psx_screens += psxitimer/psxitimer.scn
|
|
psxitimer_SOURCES = psxitimer/init.c include/pmacros.h
|
|
psxitimer_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxitimer) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxkey01
|
|
psx_tests += psxkey01
|
|
psx_screens += psxkey01/psxkey01.scn
|
|
psxkey01_SOURCES = psxkey01/init.c psxkey01/system.h include/pmacros.h \
|
|
../support/src/test_support.c
|
|
psxkey01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxkey02
|
|
psx_tests += psxkey02
|
|
psx_screens += psxkey02/psxkey02.scn
|
|
psx_docs += psxkey02/psxkey02.doc
|
|
psxkey02_SOURCES = psxkey02/init.c
|
|
psxkey02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxkey03
|
|
psx_tests += psxkey03
|
|
psx_screens += psxkey03/psxkey03.scn
|
|
psx_docs += psxkey03/psxkey03.doc
|
|
psxkey03_SOURCES = psxkey03/init.c
|
|
psxkey03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey03) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxkey04
|
|
psx_tests += psxkey04
|
|
psx_screens += psxkey04/psxkey04.scn
|
|
psx_docs += psxkey04/psxkey04.doc
|
|
psxkey04_SOURCES = psxkey04/init.c
|
|
psxkey04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey04) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxkey05
|
|
psx_tests += psxkey05
|
|
psx_screens += psxkey05/psxkey05.scn
|
|
psx_docs += psxkey05/psxkey05.doc
|
|
psxkey05_SOURCES = psxkey05/init.c
|
|
psxkey05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey05) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxkey06
|
|
psx_tests += psxkey06
|
|
psx_screens += psxkey06/psxkey06.scn
|
|
psx_docs += psxkey06/psxkey06.doc
|
|
psxkey06_SOURCES = psxkey06/init.c
|
|
psxkey06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey06) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxkey07
|
|
psx_tests += psxkey07
|
|
psx_screens += psxkey07/psxkey07.scn
|
|
psx_docs += psxkey07/psxkey07.doc
|
|
psxkey07_SOURCES = psxkey07/init.c
|
|
psxkey07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey07) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxkey08
|
|
psx_tests += psxkey08
|
|
psx_screens += psxkey08/psxkey08.scn
|
|
psx_docs += psxkey08/psxkey08.doc
|
|
psxkey08_SOURCES = psxkey08/init.c
|
|
psxkey08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey08) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxkey09
|
|
psx_tests += psxkey09
|
|
psx_screens += psxkey09/psxkey09.scn
|
|
psx_docs += psxkey09/psxkey09.doc
|
|
psxkey09_SOURCES = psxkey09/init.c
|
|
psxkey09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey09) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxkey10
|
|
psx_tests += psxkey10
|
|
psx_screens += psxkey10/psxkey10.scn
|
|
psx_docs += psxkey10/psxkey10.doc
|
|
psxkey10_SOURCES = psxkey10/init.c
|
|
psxkey10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey10) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxmmap01
|
|
psx_tests += psxmmap01
|
|
psx_screens += psxmmap01/psxmmap01.scn
|
|
psxmmap01_SOURCES = psxmmap01/init.c psxmmap01/test_helper.c \
|
|
psxmmap01/test_driver.c psxmmap01/system.h
|
|
psxmmap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmmap01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxmount
|
|
psx_tests += psxmount
|
|
psx_screens += psxmount/psxmount.scn
|
|
psxmount_SOURCES = psxmount/main.c psxmount/test.c include/pmacros.h
|
|
psxmount_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmount) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxmsgq01
|
|
psx_tests += psxmsgq01
|
|
psx_screens += psxmsgq01/psxmsgq01.scn
|
|
psxmsgq01_SOURCES = psxmsgq01/init.c psxmsgq01/system.h \
|
|
include/pmacros.h ../support/src/test_support.c
|
|
psxmsgq01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxmsgq02
|
|
psx_tests += psxmsgq02
|
|
psx_screens += psxmsgq02/psxmsgq02.scn
|
|
psxmsgq02_SOURCES = psxmsgq02/init.c psxmsgq02/system.h \
|
|
include/pmacros.h ../support/src/test_support.c
|
|
psxmsgq02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxmsgq03
|
|
psx_tests += psxmsgq03
|
|
psx_screens += psxmsgq03/psxmsgq03.scn
|
|
psx_docs += psxmsgq03/psxmsgq03.doc
|
|
psxmsgq03_SOURCES = psxmsgq03/init.c psxmsgq03/system.h \
|
|
include/pmacros.h ../support/src/test_support.c
|
|
psxmsgq03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq03) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxmsgq04
|
|
psx_tests += psxmsgq04
|
|
psx_screens += psxmsgq04/psxmsgq04.scn
|
|
psx_docs += psxmsgq04/psxmsgq04.doc
|
|
psxmsgq04_SOURCES = psxmsgq04/init.c include/pmacros.h \
|
|
../support/src/test_support.c
|
|
psxmsgq04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq04) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxmutexattr01
|
|
psx_tests += psxmutexattr01
|
|
psx_screens += psxmutexattr01/psxmutexattr01.scn
|
|
psx_docs += psxmutexattr01/psxmutexattr01.doc
|
|
psxmutexattr01_SOURCES = psxmutexattr01/init.c
|
|
psxmutexattr01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmutexattr01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxobj01
|
|
psx_tests += psxobj01
|
|
psx_screens += psxobj01/psxobj01.scn
|
|
psx_docs += psxobj01/psxobj01.doc
|
|
psxobj01_SOURCES = psxobj01/init.c ../support/src/test_support.c
|
|
psxobj01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxobj01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxonce01
|
|
psx_tests += psxonce01
|
|
psx_screens += psxonce01/psxonce01.scn
|
|
psxonce01_SOURCES = psxonce01/init.c psxonce01/system.h \
|
|
include/pmacros.h
|
|
psxonce01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxonce01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxpasswd01
|
|
psx_tests += psxpasswd01
|
|
psx_screens += psxpasswd01/psxpasswd01.scn
|
|
psx_docs += psxpasswd01/psxpasswd01.doc
|
|
psxpasswd01_SOURCES = psxpasswd01/init.c include/pmacros.h
|
|
psxpasswd01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxpasswd01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxpasswd02
|
|
psx_tests += psxpasswd02
|
|
psx_screens += psxpasswd02/psxpasswd02.scn
|
|
psx_docs += psxpasswd02/psxpasswd02.doc
|
|
psxpasswd02_SOURCES = psxpasswd02/init.c include/pmacros.h
|
|
psxpasswd02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxpasswd02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxpipe01
|
|
psx_tests += psxpipe01
|
|
psx_screens += psxpipe01/psxpipe01.scn
|
|
psx_docs += psxpipe01/psxpipe01.doc
|
|
psxpipe01_SOURCES = psxpipe01/init.c include/pmacros.h
|
|
psxpipe01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxpipe01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxrdwrv
|
|
psx_tests += psxrdwrv
|
|
psx_screens += psxrdwrv/psxrdwrv.scn
|
|
psxrdwrv_SOURCES = psxrdwrv/main.c psxrdwrv/test.c include/pmacros.h
|
|
psxrdwrv_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxrdwrv) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if TEST_psxreaddir
|
|
psx_tests += psxreaddir
|
|
psx_screens += psxreaddir/psxreaddir.scn
|
|
psxreaddir_SOURCES = psxreaddir/main.c psxreaddir/test.c \
|
|
include/pmacros.h
|
|
psxreaddir_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxreaddir) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxrwlock01
|
|
psx_tests += psxrwlock01
|
|
psx_screens += psxrwlock01/psxrwlock01.scn
|
|
psxrwlock01_SOURCES = psxrwlock01/main.c psxrwlock01/test.c \
|
|
include/pmacros.h
|
|
psxrwlock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxrwlock01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsem01
|
|
psx_tests += psxsem01
|
|
psx_screens += psxsem01/psxsem01.scn
|
|
psxsem01_SOURCES = psxsem01/init.c include/pmacros.h \
|
|
../support/src/test_support.c
|
|
psxsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsem01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxshm01
|
|
psx_tests += psxshm01
|
|
psx_screens += psxshm01/psxshm01.scn
|
|
psxshm01_SOURCES = psxshm01/init.c psxshm01/system.h
|
|
psxshm01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxshm01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxshm02
|
|
psx_tests += psxshm02
|
|
psx_screens += psxshm02/psxshm02.scn
|
|
psxshm02_SOURCES = psxshm02/init.c psxshm02/system.h
|
|
psxshm02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxshm02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsignal01
|
|
psx_tests += psxsignal01
|
|
psx_screens += psxsignal01/psxsignal01.scn
|
|
psxsignal01_SOURCES = psxsignal01/init.c psxsignal01/task1.c \
|
|
psxsignal01/system.h include/pmacros.h
|
|
psxsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsignal02
|
|
psx_tests += psxsignal02
|
|
psx_screens += psxsignal02/psxsignal02.scn
|
|
psx_docs += psxsignal02/psxsignal02.doc
|
|
psxsignal02_SOURCES = psxsignal02/init.c include/pmacros.h
|
|
psxsignal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsignal03
|
|
psx_tests += psxsignal03
|
|
psx_screens += psxsignal03/psxsignal03.scn
|
|
psx_docs += psxsignal03/psxsignal03.doc
|
|
psxsignal03_SOURCES = psxsignal03/init.c include/pmacros.h
|
|
psxsignal03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal03) \
|
|
$(support_includes) -I$(top_srcdir)/include \
|
|
-DUSE_USER_SIGNALS_PROCESS
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsignal04
|
|
psx_tests += psxsignal04
|
|
psx_screens += psxsignal04/psxsignal04.scn
|
|
psx_docs += psxsignal04/psxsignal04.doc
|
|
psxsignal04_SOURCES = psxsignal03/init.c include/pmacros.h
|
|
psxsignal04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal04) \
|
|
$(support_includes) -I$(top_srcdir)/include \
|
|
-DUSE_REAL_TIME_SIGNALS_PROCESS
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsignal05
|
|
psx_tests += psxsignal05
|
|
psx_screens += psxsignal05/psxsignal05.scn
|
|
psx_docs += psxsignal05/psxsignal05.doc
|
|
psxsignal05_SOURCES = psxsignal05/init.c include/pmacros.h
|
|
psxsignal05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal05) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsignal06
|
|
psx_tests += psxsignal06
|
|
psx_screens += psxsignal06/psxsignal06.scn
|
|
psx_docs += psxsignal06/psxsignal06.doc
|
|
psxsignal06_SOURCES = psxsignal06/init.c
|
|
psxsignal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal06) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxspin01
|
|
psx_tests += psxspin01
|
|
psx_screens += psxspin01/psxspin01.scn
|
|
psxspin01_SOURCES = psxspin01/main.c psxspin01/test.c \
|
|
include/pmacros.h
|
|
psxspin01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxspin01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxstack01
|
|
psx_tests += psxstack01
|
|
psx_screens += psxstack01/psxstack01.scn
|
|
psx_docs += psxstack01/psxstack01.doc
|
|
psxstack01_SOURCES = psxstack01/init.c include/pmacros.h
|
|
psxstack01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstack01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxstack02
|
|
psx_tests += psxstack02
|
|
psx_screens += psxstack02/psxstack02.scn
|
|
psx_docs += psxstack02/psxstack02.doc
|
|
psxstack02_SOURCES = psxstack02/init.c
|
|
psxstack02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstack02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxstat
|
|
psx_tests += psxstat
|
|
psx_screens += psxstat/psxstat.scn
|
|
psxstat_SOURCES = psxstat/main.c psxstat/test.c include/pmacros.h
|
|
psxstat_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstat) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxstrsignal01
|
|
psx_tests += psxstrsignal01
|
|
psx_screens += psxstrsignal01/psxstrsignal01.scn
|
|
psx_docs += psxstrsignal01/psxstrsignal01.doc
|
|
psxstrsignal01_SOURCES = psxstrsignal01/init.c include/pmacros.h
|
|
psxstrsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstrsignal01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxsysconf
|
|
psx_tests += psxsysconf
|
|
psx_screens += psxsysconf/psxsysconf.scn
|
|
psxsysconf_SOURCES = psxsysconf/init.c psxsysconf/system.h \
|
|
include/pmacros.h
|
|
psxsysconf_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsysconf) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxthreadname01
|
|
psx_tests += psxthreadname01
|
|
psx_screens += psxthreadname01/psxthreadname01.scn
|
|
psx_docs += psxthreadname01/psxthreadname01.doc
|
|
psxthreadname01_SOURCES = psxthreadname01/init.c
|
|
psxthreadname01_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
$(TEST_FLAGS_psxthreadname01) $(support_includes)
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxtime
|
|
psx_tests += psxtime
|
|
psx_screens += psxtime/psxtime.scn
|
|
psxtime_SOURCES = psxtime/main.c psxtime/test.c
|
|
psxtime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtime) \
|
|
$(support_includes)
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxtimer01
|
|
psx_tests += psxtimer01
|
|
psx_screens += psxtimer01/psxtimer01.scn
|
|
psxtimer01_SOURCES = psxtimer01/psxtimer.c psxtimer01/system.h \
|
|
include/pmacros.h
|
|
psxtimer01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtimer01) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxtimer02
|
|
psx_tests += psxtimer02
|
|
psx_screens += psxtimer02/psxtimer02.scn
|
|
psxtimer02_SOURCES = psxtimer02/psxtimer.c psxtimer02/system.h \
|
|
include/pmacros.h
|
|
psxtimer02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtimer02) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if TEST_psxtimes01
|
|
psx_tests += psxtimes01
|
|
psx_screens += psxtimes01/psxtimes01.scn
|
|
psx_docs += psxtimes01/psxtimes01.doc
|
|
psxtimes01_SOURCES = psxtimes01/init.c ../support/src/spin.c
|
|
psxtimes01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtimes01) \
|
|
$(support_includes)
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxualarm
|
|
psx_tests += psxualarm
|
|
psx_screens += psxualarm/psxualarm.scn
|
|
psxualarm_SOURCES = psxualarm/init.c psxualarm/system.h \
|
|
include/pmacros.h
|
|
psxualarm_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxualarm) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_psxusleep
|
|
psx_tests += psxusleep
|
|
psx_screens += psxusleep/psxusleep.scn
|
|
psx_docs += psxusleep/psxusleep.doc
|
|
psxusleep_SOURCES = psxusleep/init.c include/pmacros.h
|
|
psxusleep_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxusleep) \
|
|
$(support_includes) -I$(top_srcdir)/include
|
|
endif
|
|
endif
|
|
|
|
if HAS_POSIX
|
|
if TEST_lib_a
|
|
psx_lib += lib.a
|
|
lib_a_SOURCES = psxhdrs/devctl/posix_devctl.c \
|
|
psxhdrs/pthread/pthread_attr_destroy.c \
|
|
psxhdrs/pthread/pthread_attr_getdetachstate.c \
|
|
psxhdrs/pthread/pthread_attr_getguardsize.c \
|
|
psxhdrs/pthread/pthread_attr_getinheritsched.c \
|
|
psxhdrs/pthread/pthread_attr_getschedparam.c \
|
|
psxhdrs/pthread/pthread_attr_getschedpolicy.c \
|
|
psxhdrs/pthread/pthread_attr_getscope.c \
|
|
psxhdrs/pthread/pthread_attr_getstackaddr.c \
|
|
psxhdrs/pthread/pthread_attr_getstack.c \
|
|
psxhdrs/pthread/pthread_attr_getstacksize.c \
|
|
psxhdrs/pthread/pthread_attr_init.c \
|
|
psxhdrs/pthread/pthread_attr_setdetachstate.c \
|
|
psxhdrs/pthread/pthread_attr_setguardsize.c \
|
|
psxhdrs/pthread/pthread_attr_setinheritsched.c \
|
|
psxhdrs/pthread/pthread_attr_setschedparam.c \
|
|
psxhdrs/pthread/pthread_attr_setschedpolicy.c \
|
|
psxhdrs/pthread/pthread_attr_setscope.c \
|
|
psxhdrs/pthread/pthread_attr_setstackaddr.c \
|
|
psxhdrs/pthread/pthread_attr_setstack.c \
|
|
psxhdrs/pthread/pthread_attr_setstacksize.c \
|
|
psxhdrs/pthread/pthread_cancel.c psxhdrs/pthread/pthread_cleanup.c \
|
|
psxhdrs/pthread/pthread_condattr_destroy.c \
|
|
psxhdrs/pthread/pthread_condattr_getpshared.c \
|
|
psxhdrs/pthread/pthread_condattr_init.c \
|
|
psxhdrs/pthread/pthread_condattr_setpshared.c \
|
|
psxhdrs/pthread/pthread_cond_broadcast.c \
|
|
psxhdrs/pthread/pthread_cond_destroy.c \
|
|
psxhdrs/pthread/pthread_cond_init.c \
|
|
psxhdrs/pthread/pthread_cond_signal.c \
|
|
psxhdrs/pthread/pthread_cond_timedwait.c \
|
|
psxhdrs/pthread/pthread_cond_wait.c psxhdrs/pthread/pthread_create.c \
|
|
psxhdrs/pthread/pthread_detach.c psxhdrs/pthread/pthread_equal.c \
|
|
psxhdrs/pthread/pthread_exit.c \
|
|
psxhdrs/pthread/pthread_getconcurrency.c \
|
|
psxhdrs/pthread/pthread_getcpuclockid.c \
|
|
psxhdrs/pthread/pthread_getschedparam.c \
|
|
psxhdrs/pthread/pthread_getspecific.c psxhdrs/pthread/pthread_join.c \
|
|
psxhdrs/pthread/pthread_key_create.c \
|
|
psxhdrs/pthread/pthread_key_delete.c \
|
|
psxhdrs/pthread/pthread_mutexattr_destroy.c \
|
|
psxhdrs/pthread/pthread_mutexattr_getprioceiling.c \
|
|
psxhdrs/pthread/pthread_mutexattr_getprotocol.c \
|
|
psxhdrs/pthread/pthread_mutexattr_getpshared.c \
|
|
psxhdrs/pthread/pthread_mutexattr_init.c \
|
|
psxhdrs/pthread/pthread_mutexattr_setprioceiling.c \
|
|
psxhdrs/pthread/pthread_mutexattr_setprotocol.c \
|
|
psxhdrs/pthread/pthread_mutexattr_setpshared.c \
|
|
psxhdrs/pthread/pthread_mutex_destroy.c \
|
|
psxhdrs/pthread/pthread_mutex_getprioceiling.c \
|
|
psxhdrs/pthread/pthread_mutex_init.c \
|
|
psxhdrs/pthread/pthread_mutex_lock.c \
|
|
psxhdrs/pthread/pthread_mutex_setprioceiling.c \
|
|
psxhdrs/pthread/pthread_mutex_timedlock.c \
|
|
psxhdrs/pthread/pthread_mutex_trylock.c \
|
|
psxhdrs/pthread/pthread_mutex_unlock.c psxhdrs/pthread/pthread_once.c \
|
|
psxhdrs/pthread/pthread_self.c \
|
|
psxhdrs/pthread/pthread_setcancelstate.c \
|
|
psxhdrs/pthread/pthread_setcanceltype.c \
|
|
psxhdrs/pthread/pthread_setconcurrency.c \
|
|
psxhdrs/pthread/pthread_setschedparam.c \
|
|
psxhdrs/pthread/pthread_setspecific.c \
|
|
psxhdrs/pthread/pthread_testcancel.c psxhdrs/sched/sched_getparam.c \
|
|
psxhdrs/sched/sched_get_priority_max.c \
|
|
psxhdrs/sched/sched_get_priority_min.c \
|
|
psxhdrs/sched/sched_getscheduler.c \
|
|
psxhdrs/sched/sched_rr_get_interval.c psxhdrs/sched/sched_setparam.c \
|
|
psxhdrs/sched/sched_setscheduler.c psxhdrs/sched/sched_yield.c \
|
|
psxhdrs/signal/pthread_sigmask.c psxhdrs/signal/raise.c \
|
|
psxhdrs/signal/signal.c psxhdrs/signal/sigpending.c \
|
|
psxhdrs/signal/sigprocmask.c psxhdrs/signal/sigsuspend.c \
|
|
psxhdrs/signal/sigtimedwait.c psxhdrs/signal/sigwait.c \
|
|
psxhdrs/signal/sigwaitinfo.c psxhdrs/time/asctime.c \
|
|
psxhdrs/time/asctime_r.c psxhdrs/time/clock.c \
|
|
psxhdrs/time/clock_getcpuclockid.c psxhdrs/time/clock_getres.c \
|
|
psxhdrs/time/clock_gettime.c psxhdrs/time/clock_nanosleep.c \
|
|
psxhdrs/time/clock_settime.c psxhdrs/time/ctime.c \
|
|
psxhdrs/time/ctime_r.c psxhdrs/time/difftime.c psxhdrs/time/gmtime.c \
|
|
psxhdrs/time/gmtime_r.c psxhdrs/time/localtime.c \
|
|
psxhdrs/time/localtime_r.c psxhdrs/time/mktime.c \
|
|
psxhdrs/time/nanosleep.c psxhdrs/time/strftime.c psxhdrs/time/time.c \
|
|
psxhdrs/time/timer_create.c psxhdrs/time/timer_delete.c \
|
|
psxhdrs/time/timer_getoverrun.c psxhdrs/time/timer_gettime.c \
|
|
psxhdrs/time/timer_settime.c psxhdrs/unistd/alarm.c \
|
|
psxhdrs/unistd/fdatasync.c psxhdrs/unistd/fsync.c \
|
|
psxhdrs/unistd/getegid.c psxhdrs/unistd/geteuid.c \
|
|
psxhdrs/unistd/getgid.c psxhdrs/unistd/getgroups.c \
|
|
psxhdrs/unistd/getlogin.c psxhdrs/unistd/getlogin_r.c \
|
|
psxhdrs/unistd/getpgrp.c psxhdrs/unistd/getpid.c \
|
|
psxhdrs/unistd/getppid.c psxhdrs/unistd/getuid.c \
|
|
psxhdrs/unistd/pause.c psxhdrs/unistd/setgid.c \
|
|
psxhdrs/unistd/setgroups.c psxhdrs/unistd/setpgid.c \
|
|
psxhdrs/unistd/setsid.c psxhdrs/unistd/setuid.c \
|
|
psxhdrs/unistd/sleep.c psxhdrs/unistd/sync.c psxhdrs/unistd/ualarm.c \
|
|
psxhdrs/unistd/usleep.c psxhdrs/sys/mman/mlockall.c \
|
|
psxhdrs/sys/mman/mlock.c psxhdrs/sys/mman/mmap.c \
|
|
psxhdrs/sys/mman/mprotect.c psxhdrs/sys/mman/msync.c \
|
|
psxhdrs/sys/mman/munlockall.c psxhdrs/sys/mman/munlock.c \
|
|
psxhdrs/sys/mman/munmap.c psxhdrs/sys/mman/posix_madvise.c \
|
|
psxhdrs/sys/mman/shm_open.c psxhdrs/sys/mman/shm_unlink.c \
|
|
psxhdrs/sys/socket/accept.c psxhdrs/sys/socket/bind.c \
|
|
psxhdrs/sys/socket/connect.c psxhdrs/sys/socket/getpeername.c \
|
|
psxhdrs/sys/socket/getsockname.c psxhdrs/sys/socket/getsockopt.c \
|
|
psxhdrs/sys/socket/listen.c psxhdrs/sys/socket/recv.c \
|
|
psxhdrs/sys/socket/recvfrom.c psxhdrs/sys/socket/recvmsg.c \
|
|
psxhdrs/sys/socket/send.c psxhdrs/sys/socket/sendmsg.c \
|
|
psxhdrs/sys/socket/sendto.c psxhdrs/sys/socket/setsockopt.c \
|
|
psxhdrs/sys/socket/shutdown.c psxhdrs/sys/socket/socket.c \
|
|
psxhdrs/sys/socket/socketpair.c
|
|
endif
|
|
endif
|
|
|
|
rtems_tests_PROGRAMS = $(psx_tests)
|
|
noinst_LIBRARIES = $(psx_lib)
|
|
dist_rtems_tests_DATA = $(psx_screens) $(psx_docs)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|