2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = \
6 filter_name_service_door \
12 noinst_HEADERS = scalar.h
15 aligned_alloc.stderr.exp aligned_alloc.vgtest \
16 aligned_alloc.stderr.exp-solaris \
17 brk.stderr.exp brk.stdout.exp brk.vgtest \
18 context_stack_die.stderr.exp context_stack_die.stdout.exp context_stack_die.vgtest \
19 door_data.stderr.exp door_data.stdout.exp door_data.vgtest \
20 door_kill.stderr.exp door_kill.stdout.exp door_kill.vgtest \
21 execx.stderr.exp execx.stdout.exp execx.vgtest \
22 getzoneoffset.stderr.exp getzoneoffset.vgtest \
23 gethrtime.stderr.exp gethrtime.stdout.exp gethrtime.vgtest \
24 gethrusec.stderr.exp gethrusec.stdout.exp gethrusec.vgtest \
25 ioctl.stderr.exp ioctl.stdout.exp ioctl.vgtest \
26 ldynsym.stderr.exp ldynsym.stdout.exp ldynsym.vgtest \
27 lsframe1.stderr.exp lsframe1.stdout.exp lsframe1.vgtest \
28 lsframe2.stderr.exp lsframe2.stdout.exp lsframe2.vgtest \
29 mmapobj_bssonly.stderr.exp mmapobj_bssonly.stdout.exp mmapobj_bssonly.vgtest \
30 name_service_door.stderr.exp-amd64 name_service_door.stderr.exp-x86 \
31 name_service_door.stdout.exp name_service_door.vgtest \
32 pkcs11.stderr.exp-illumos pkcs11.stderr.exp-solaris pkcs11.stdout.exp pkcs11.vgtest \
33 scalar.stderr.exp scalar.stdout.exp scalar.vgtest \
34 scalar_auditon_stat.stderr.exp scalar_auditon_stat.stdout.exp scalar_auditon_stat.vgtest \
35 scalar_frealpathat.stderr.exp scalar_frealpathat.stdout.exp scalar_frealpathat.vgtest \
36 scalar_getrandom.stderr.exp scalar_getrandom.stdout.exp scalar_getrandom.vgtest \
37 scalar_ioctl.stderr.exp scalar_ioctl.stdout.exp scalar_ioctl.vgtest \
38 scalar_lwp_kill.stderr.exp scalar_lwp_kill.stdout.exp scalar_lwp_kill.vgtest \
39 scalar_lwp_name.stderr.exp scalar_lwp_name.stdout.exp scalar_lwp_name.vgtest \
40 scalar_lwp_sigqueue.stderr.exp scalar_lwp_sigqueue.stdout.exp scalar_lwp_sigqueue.vgtest \
41 scalar_lwp_sigqueue_pid.stderr.exp scalar_lwp_sigqueue_pid.vgtest \
42 scalar_modctl_modnvl.stderr.exp scalar_modctl_modnvl.stdout.exp scalar_modctl_modnvl.vgtest \
43 scalar_obsolete.stderr.exp scalar_obsolete.stdout.exp scalar_obsolete.vgtest \
44 scalar_shm_new.stderr.exp scalar_shm_new.stdout.exp scalar_shm_new.vgtest \
45 scalar_spawn.stderr.exp scalar_spawn.stdout.exp scalar_spawn.vgtest \
46 scalar_system_stats.stderr.exp scalar_system_stats.stdout.exp scalar_system_stats.vgtest \
47 scalar_tsol_clearance.stderr.exp scalar_tsol_clearance.vgtest \
48 scalar_utimensat.stderr.exp scalar_utimensat.stdout.exp scalar_utimensat.vgtest \
49 scalar_utimesys.stderr.exp scalar_utimesys.stdout.exp scalar_utimesys.vgtest \
50 scalar_uuidsys.stderr.exp scalar_uuidsys.stdout.exp scalar_uuidsys.vgtest \
51 scalar_zone_defunct.stderr.exp scalar_zone_defunct.stdout.exp scalar_zone_defunct.vgtest \
52 sendfilev.stderr.exp sendfilev.stdout.exp sendfilev.vgtest \
53 shmat.stderr.exp shmat.stdout.exp shmat.vgtest \
54 spawn.stderr.exp spawn.stdout.exp spawn.vgtest \
55 strlcpy.stderr.exp strlcpy.stdout.exp strlcpy.vgtest \
56 supponlyobj.stderr.exp supponlyobj.supp supponlyobj.vgtest \
57 syscall_at.stderr.exp syscall_at.stdout.exp syscall_at.vgtest \
58 thr_daemon_exit_libc.stderr.exp thr_daemon_exit_libc.stdout.exp thr_daemon_exit_libc.vgtest \
59 thr_daemon_exit_standalone.stderr.exp thr_daemon_exit_standalone.stdout.exp thr_daemon_exit_standalone.vgtest \
60 memalign.vgtest memalign.stderr.exp
85 thr_daemon_exit_libc \
86 thr_daemon_exit_standalone \
89 if SOLARIS_EXECVE_SYSCALL_TAKES_FLAGS
90 check_PROGRAMS += execx
93 if SOLARIS_RESERVE_SYSSTAT_ADDR
94 check_PROGRAMS += gethrusec
97 if SOLARIS_GETZONEOFFSET_FASTTRAP
98 check_PROGRAMS += getzoneoffset
101 if SOLARIS_OLD_SYSCALLS
102 check_PROGRAMS += scalar_obsolete
105 if SOLARIS_AUDITON_STAT
106 check_PROGRAMS += scalar_auditon_stat
109 if SOLARIS_FREALPATHAT_SYSCALL
110 check_PROGRAMS += scalar_frealpathat
113 if SOLARIS_GETRANDOM_SYSCALL
114 check_PROGRAMS += scalar_getrandom
117 if SOLARIS_LWP_NAME_SYSCALL
118 check_PROGRAMS += scalar_lwp_name
121 if SOLARIS_MODCTL_MODNVL
122 check_PROGRAMS += scalar_modctl_modnvl
125 if SOLARIS_LWP_SIGQUEUE_SYSCALL
126 if SOLARIS_LWP_SIGQUEUE_SYSCALL_TAKES_PID
127 check_PROGRAMS += scalar_lwp_sigqueue_pid
129 check_PROGRAMS += scalar_lwp_sigqueue
132 check_PROGRAMS += scalar_lwp_kill
136 check_PROGRAMS += scalar_shm_new
139 if SOLARIS_SPAWN_SYSCALL
140 check_PROGRAMS += scalar_spawn spawn
143 if SOLARIS_SYSTEM_STATS_SYSCALL
144 check_PROGRAMS += scalar_system_stats
147 if SOLARIS_TSOL_CLEARANCE
148 check_PROGRAMS += scalar_tsol_clearance
149 scalar_tsol_clearance_LDADD = -ltsol
152 if SOLARIS_UTIMENSAT_SYSCALL
153 check_PROGRAMS += scalar_utimensat
156 if SOLARIS_UTIMESYS_SYSCALL
157 check_PROGRAMS += scalar_utimesys
160 if SOLARIS_UUIDSYS_SYSCALL
161 check_PROGRAMS += scalar_uuidsys
164 if SOLARIS_ZONE_DEFUNCT
165 check_PROGRAMS += scalar_zone_defunct
168 AM_CFLAGS += $(AM_FLAG_M3264_PRI)
169 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
171 door_kill_LDADD = -lpthread
172 ioctl_LDADD = -lsocket
173 ldynsym_LDFLAGS = -Wl,--strip-all
174 pkcs11_LDADD = -lpkcs11
175 sendfilev_LDADD = -lsendfile
177 inlinfo_SOURCES = inlinfo.c
178 inlinfo_DEPENDENCIES = inlinfo_nested.so
179 inlinfo_LDFLAGS = -Wl,-rpath,$(top_builddir)/memcheck/tests/solaris
180 inlinfo_LDADD = inlinfo_nested.so
181 inlinfo_nested_so_SOURCES = inlinfo_nested.c
182 inlinfo_nested_so_CFLAGS = $(AM_CFLAGS) -fPIC @FLAG_W_NO_UNINITIALIZED@
183 inlinfo_nested_so_LDFLAGS = -Wl,-rpath,$(top_builddir)/memcheck/tests/solaris -shared -fPIC
185 mmapobj_bssonly_SOURCES = mmapobj_bssonly.c
186 mmapobj_bssonly_DEPENDENCIES = mmapobj_bssonly.so
187 mmapobj_bssonly_LDFLAGS = -Wl,-rpath,$(top_builddir)/memcheck/tests/solaris
188 mmapobj_bssonly_LDADD = mmapobj_bssonly.so
189 mmapobj_bssonly_so_SOURCES = mmapobj_bssonly_lib.c
190 mmapobj_bssonly_so_CFLAGS = $(AM_CFLAGS) -fPIC
191 mmapobj_bssonly_so_LDFLAGS = -nostartfiles -nodefaultlibs -shared
193 thr_daemon_exit_standalone_LDFLAGS = -nostartfiles -nodefaultlibs