source: rtems/testsuites/fstests/Makefile.am @ cbb08b61

5
Last change on this file since cbb08b61 was 477bca2, checked in by Sebastian Huber <sebastian.huber@…>, on 10/06/18 at 08:59:10

build: Remove local.am

  • Property mode set to 100644
File size: 23.4 KB
Line 
1#
2# File System Testsuite
3#
4
5ACLOCAL_AMFLAGS = -I ../aclocal
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../automake/compile.am
9
10fs_tests =
11fs_screens =
12fs_docs =
13
14support_includes = -I$(top_srcdir)/../support/include
15test_includes = -I$(top_srcdir)/support \
16        -I$(top_srcdir)/../psxtests/include
17
18if TEST_fsbdpart01
19fs_tests += fsbdpart01
20fs_screens += fsbdpart01/fsbdpart01.scn
21fs_docs += fsbdpart01/fsbdpart01.doc
22fsbdpart01_SOURCES = fsbdpart01/init.c
23fsbdpart01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsbdpart01) \
24        $(support_includes)
25endif
26
27if TEST_fsclose01
28fs_tests += fsclose01
29fs_screens += fsclose01/fsclose01.scn
30fs_docs += fsclose01/fsclose01.doc
31fsclose01_SOURCES = fsclose01/init.c
32fsclose01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsclose01) \
33        $(support_includes)
34endif
35
36if TEST_fsdosfsformat01
37fs_tests += fsdosfsformat01
38fs_screens += fsdosfsformat01/fsdosfsformat01.scn
39fs_docs += fsdosfsformat01/fsdosfsformat01.doc
40fsdosfsformat01_SOURCES = fsdosfsformat01/init.c
41fsdosfsformat01_CPPFLAGS = $(AM_CPPFLAGS) \
42        $(TEST_FLAGS_fsdosfsformat01) $(support_includes)
43endif
44
45if TEST_fsdosfsname01
46fs_tests += fsdosfsname01
47fs_screens += fsdosfsname01/fsdosfsname01.scn
48fs_docs += fsdosfsname01/fsdosfsname01.doc
49fsdosfsname01_SOURCES = fsdosfsname01/init.c support/ramdisk_support.c
50fsdosfsname01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname01) \
51        $(support_includes) $(test_includes)
52endif
53
54if TEST_fsdosfsname02
55fs_tests += fsdosfsname02
56fs_screens += fsdosfsname02/fsdosfsname02.scn
57fs_docs += fsdosfsname02/fsdosfsname02.doc
58fsdosfsname02_SOURCES = fsdosfsname02/init.c
59fsdosfsname02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname02) \
60        $(support_includes)
61endif
62
63if TEST_fsdosfssync01
64fs_tests += fsdosfssync01
65fs_screens += fsdosfssync01/fsdosfssync01.scn
66fs_docs += fsdosfssync01/fsdosfssync01.doc
67fsdosfssync01_SOURCES = fsdosfssync01/init.c
68fsdosfssync01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfssync01) \
69        $(support_includes)
70endif
71
72if TEST_fsdosfswrite01
73fs_tests += fsdosfswrite01
74fs_screens += fsdosfswrite01/fsdosfswrite01.scn
75fs_docs += fsdosfswrite01/fsdosfswrite01.doc
76fsdosfswrite01_SOURCES = fsdosfswrite01/init.c
77fsdosfswrite01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfswrite01) \
78        $(support_includes)
79endif
80
81if TEST_fsfseeko01
82fs_tests += fsfseeko01
83fs_screens += fsfseeko01/fsfseeko01.scn
84fs_docs += fsfseeko01/fsfseeko01.doc
85fsfseeko01_SOURCES = fsfseeko01/init.c
86fsfseeko01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsfseeko01) \
87        $(support_includes)
88endif
89
90if TEST_fsimfsconfig01
91fs_tests += fsimfsconfig01
92fs_screens += fsimfsconfig01/fsimfsconfig01.scn
93fs_docs += fsimfsconfig01/fsimfsconfig01.doc
94fsimfsconfig01_SOURCES = fsimfsconfig01/init.c
95fsimfsconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig01) \
96        $(support_includes)
97endif
98
99if TEST_fsimfsconfig02
100fs_tests += fsimfsconfig02
101fs_screens += fsimfsconfig02/fsimfsconfig02.scn
102fs_docs += fsimfsconfig02/fsimfsconfig02.doc
103fsimfsconfig02_SOURCES = fsimfsconfig02/init.c
104fsimfsconfig02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig02) \
105        $(support_includes)
106endif
107
108if TEST_fsimfsconfig03
109fs_tests += fsimfsconfig03
110fs_screens += fsimfsconfig03/fsimfsconfig03.scn
111fs_docs += fsimfsconfig03/fsimfsconfig03.doc
112fsimfsconfig03_SOURCES = fsimfsconfig03/init.c
113fsimfsconfig03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig03) \
114        $(support_includes)
115endif
116
117if TEST_fsimfsgeneric01
118fs_tests += fsimfsgeneric01
119fs_screens += fsimfsgeneric01/fsimfsgeneric01.scn
120fs_docs += fsimfsgeneric01/fsimfsgeneric01.doc
121fsimfsgeneric01_SOURCES = fsimfsgeneric01/init.c
122fsimfsgeneric01_CPPFLAGS = $(AM_CPPFLAGS) \
123        $(TEST_FLAGS_fsimfsgeneric01) $(support_includes)
124endif
125
126if TEST_fsjffs2gc01
127fs_tests += fsjffs2gc01
128fs_screens += fsjffs2gc01/fsjffs2gc01.scn
129fs_docs += fsjffs2gc01/fsjffs2gc01.doc
130fsjffs2gc01_SOURCES = fsjffs2gc01/init.c support/fstest_support.c \
131        support/fstest_support.h support/fstest.h \
132        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
133        jffs2_support/fs_config.h
134fsjffs2gc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsjffs2gc01) \
135        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
136fsjffs2gc01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
137endif
138
139if TEST_fsnofs01
140fs_tests += fsnofs01
141fs_screens += fsnofs01/fsnofs01.scn
142fs_docs += fsnofs01/fsnofs01.doc
143fsnofs01_SOURCES = fsnofs01/init.c
144fsnofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsnofs01) \
145        $(support_includes)
146endif
147
148if TEST_fsrfsbitmap01
149fs_tests += fsrfsbitmap01
150fs_screens += fsrfsbitmap01/fsrfsbitmap01.scn
151fs_docs += fsrfsbitmap01/fsrfsbitmap01.doc
152fsrfsbitmap01_SOURCES = fsrfsbitmap01/test.c support/ramdisk_support.c \
153        support/fstest_support.c support/fstest_support.h \
154        support/ramdisk_support.h support/fstest.h \
155        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
156        mrfs_support/fs_config.h
157fsrfsbitmap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrfsbitmap01) \
158        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
159endif
160
161if TEST_fsrofs01
162fs_tests += fsrofs01
163fs_screens += fsrofs01/fsrofs01.scn
164fs_docs += fsrofs01/fsrofs01.doc
165fsrofs01_SOURCES = fsrofs01/init.c
166fsrofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrofs01) \
167        $(support_includes)
168endif
169
170if TEST_imfs_fserror
171fs_tests += imfs_fserror
172fs_screens += fserror/imfs_fserror.scn
173imfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \
174        support/fstest_support.h support/fstest.h \
175        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
176        imfs_spupport/fs_config.h
177imfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fserror) \
178        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
179endif
180
181if TEST_imfs_fslink
182fs_tests += imfs_fslink
183fs_screens += fslink/imfs_fslink.scn
184imfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \
185        support/fstest_support.h support/fstest.h \
186        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
187        imfs_support/fs_config.h
188imfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fslink) \
189        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
190endif
191
192if TEST_imfs_fspatheval
193fs_tests += imfs_fspatheval
194fs_screens += fspatheval/imfs_fspatheval.scn
195imfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \
196        support/fstest_support.h support/fstest.h \
197        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
198        imfs_support/fs_config.h
199imfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
200        $(TEST_FLAGS_imfs_fspatheval) $(support_includes) $(test_includes) \
201        -I$(top_srcdir)/imfs_support
202endif
203
204if TEST_imfs_fspermission
205fs_tests += imfs_fspermission
206fs_screens += fspermission/imfs_fspermission.scn
207imfs_fspermission_SOURCES = fspermission/test.c \
208        support/fstest_support.c support/fstest_support.h support/fstest.h \
209        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
210        imfs_support/fs_config.h
211imfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
212        $(TEST_FLAGS_imfs_fspermission) $(support_includes) $(test_includes) \
213        -I$(top_srcdir)/imfs_support
214endif
215
216if TEST_imfs_fsrdwr
217fs_tests += imfs_fsrdwr
218fs_screens += fsrdwr/imfs_fsrdwr.scn
219imfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \
220        support/fstest_support.h support/fstest.h \
221        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
222        imfs_support/fs_config.h
223imfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fsrdwr) \
224        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
225endif
226
227if TEST_imfs_fsscandir01
228fs_tests += imfs_fsscandir01
229fs_screens += fsscandir01/imfs_fsscandir01.scn
230imfs_fsscandir01_SOURCES = fsscandir01/init.c support/fstest_support.c \
231        support/fstest_support.h support/fstest.h \
232        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
233        imfs_support/fs_config.h
234imfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
235        $(TEST_FLAGS_imfs_fsscandir01) $(support_includes) $(test_includes) \
236        -I$(top_srcdir)/imfs_support
237endif
238
239if TEST_imfs_fssymlink
240fs_tests += imfs_fssymlink
241fs_screens += fssymlink/imfs_fssymlink.scn
242imfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \
243        support/fstest_support.h support/fstest.h \
244        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
245        imfs_support/fs_config.h
246imfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fssymlink) \
247        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
248endif
249
250if TEST_imfs_fstime
251fs_tests += imfs_fstime
252fs_screens += fstime/imfs_fstime.scn
253imfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \
254        support/fstest_support.h support/fstest.h \
255        ../psxtests/include/pmacros.h imfs_support/fs_support.c \
256        imfs_support/fs_config.h
257imfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fstime) \
258        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
259endif
260
261if TEST_jffs2_fserror
262fs_tests += jffs2_fserror
263fs_screens += fserror/jffs2_fserror.scn
264jffs2_fserror_SOURCES = fserror/test.c support/fstest_support.c \
265        support/fstest_support.h support/fstest.h \
266        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
267        jffs2_support/fs_config.h
268jffs2_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fserror) \
269        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
270jffs2_fserror_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
271endif
272
273if TEST_jffs2_fslink
274fs_tests += jffs2_fslink
275fs_screens += fslink/jffs2_fslink.scn
276jffs2_fslink_SOURCES = fslink/test.c support/fstest_support.c \
277        support/fstest_support.h support/fstest.h \
278        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
279        jffs2_support/fs_config.h
280jffs2_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fslink) \
281        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
282jffs2_fslink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
283endif
284
285if TEST_jffs2_fspatheval
286fs_tests += jffs2_fspatheval
287fs_screens += fspatheval/jffs2_fspatheval.scn
288jffs2_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \
289        support/fstest_support.h support/fstest.h \
290        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
291        jffs2_support/fs_config.h
292jffs2_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
293        $(TEST_FLAGS_jffs2_fspatheval) $(support_includes) $(test_includes) \
294        -I$(top_srcdir)/jffs2_support
295jffs2_fspatheval_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
296endif
297
298if TEST_jffs2_fspermission
299fs_tests += jffs2_fspermission
300fs_screens += fspermission/jffs2_fspermission.scn
301jffs2_fspermission_SOURCES = fspermission/test.c \
302        support/fstest_support.c support/fstest_support.h support/fstest.h \
303        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
304        jffs2_support/fs_config.h
305jffs2_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
306        $(TEST_FLAGS_jffs2_fspermission) $(support_includes) $(test_includes) \
307        -I$(top_srcdir)/jffs2_support
308jffs2_fspermission_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
309endif
310
311if TEST_jffs2_fsrdwr
312fs_tests += jffs2_fsrdwr
313fs_screens += fsrdwr/jffs2_fsrdwr.scn
314jffs2_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \
315        support/fstest_support.h support/fstest.h \
316        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
317        jffs2_support/fs_config.h
318jffs2_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fsrdwr) \
319        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
320jffs2_fsrdwr_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
321endif
322
323if TEST_jffs2_fsscandir01
324fs_tests += jffs2_fsscandir01
325fs_screens += fsscandir01/jffs2_fsscandir01.scn
326jffs2_fsscandir01_SOURCES = fsscandir01/init.c \
327        support/fstest_support.c support/fstest_support.h support/fstest.h \
328        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
329        jffs2_support/fs_config.h
330jffs2_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
331        $(TEST_FLAGS_jffs2_fsscandir01) $(support_includes) $(test_includes) \
332        -I$(top_srcdir)/jffs2_support
333jffs2_fsscandir01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
334endif
335
336if TEST_jffs2_fssymlink
337fs_tests += jffs2_fssymlink
338fs_screens += fssymlink/jffs2_fssymlink.scn
339jffs2_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \
340        support/fstest_support.h support/fstest.h \
341        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
342        jffs2_support/fs_config.h
343jffs2_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \
344        $(TEST_FLAGS_jffs2_fssymlink) $(support_includes) $(test_includes) \
345        -I$(top_srcdir)/jffs2_support
346jffs2_fssymlink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
347endif
348
349if TEST_jffs2_fstime
350fs_tests += jffs2_fstime
351fs_screens += fstime/jffs2_fstime.scn
352jffs2_fstime_SOURCES = fstime/test.c support/fstest_support.c \
353        support/fstest_support.h support/fstest.h \
354        ../psxtests/include/pmacros.h jffs2_support/fs_support.c \
355        jffs2_support/fs_config.h
356jffs2_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fstime) \
357        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
358jffs2_fstime_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
359endif
360
361if TEST_mdosfs_fserror
362fs_tests += mdosfs_fserror
363fs_screens += fserror/mdosfs_fserror.scn
364mdosfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \
365        support/fstest_support.c support/fstest_support.h \
366        support/ramdisk_support.h support/fstest.h \
367        ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
368        mdosfs_support/fs_config.h
369mdosfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fserror) \
370        $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
371endif
372
373if TEST_mdosfs_fspatheval
374fs_tests += mdosfs_fspatheval
375fs_screens += fspatheval/mdosfs_fspatheval.scn
376mdosfs_fspatheval_SOURCES = fspatheval/test.c \
377        support/ramdisk_support.c support/fstest_support.c \
378        support/fstest_support.h support/ramdisk_support.h support/fstest.h \
379        ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
380        mdosfs_support/fs_config.h
381mdosfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
382        $(TEST_FLAGS_mdosfs_fspatheval) $(support_includes) $(test_includes) \
383        -I$(top_srcdir)/mdosfs_support
384endif
385
386if TEST_mdosfs_fsrdwr
387fs_tests += mdosfs_fsrdwr
388fs_screens += fsrdwr/mdosfs_fsrdwr.scn
389mdosfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \
390        support/fstest_support.c support/fstest_support.h \
391        support/ramdisk_support.h support/fstest.h \
392        ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
393        mdosfs_support/fs_config.h
394mdosfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fsrdwr) \
395        $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
396endif
397
398if TEST_mdosfs_fsscandir01
399fs_tests += mdosfs_fsscandir01
400fs_screens += fsscandir01/mdosfs_fsscandir01.scn
401mdosfs_fsscandir01_SOURCES = fsscandir01/init.c \
402        support/ramdisk_support.c support/fstest_support.c \
403        support/fstest_support.h support/ramdisk_support.h support/fstest.h \
404        ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
405        mdosfs_support/fs_config.h
406mdosfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
407        $(TEST_FLAGS_mdosfs_fsscandir01) $(support_includes) $(test_includes) \
408        -I$(top_srcdir)/mdosfs_support
409endif
410
411if TEST_mdosfs_fsstatvfs
412fs_tests += mdosfs_fsstatvfs
413fs_screens += fsstatvfs/mdosfs_fsstatvfs.scn
414mdosfs_fsstatvfs_SOURCES = fsstatvfs/test.c support/ramdisk_support.c \
415        support/fstest_support.c support/fstest_support.h \
416        support/ramdisk_support.h support/fstest.h \
417        ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
418        mdosfs_support/fs_config.h
419mdosfs_fsstatvfs_CPPFLAGS = $(AM_CPPFLAGS) \
420        $(TEST_FLAGS_mdosfs_fsstatvfs) $(support_includes) $(test_includes) \
421        -I$(top_srcdir)/mdosfs_support
422endif
423
424if TEST_mdosfs_fstime
425fs_tests += mdosfs_fstime
426mdosfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \
427        support/fstest_support.c support/fstest_support.h \
428        support/ramdisk_support.h support/fstest.h \
429        ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
430        mdosfs_support/fs_config.h
431mdosfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fstime) \
432        $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
433endif
434
435if TEST_mimfs_fserror
436fs_tests += mimfs_fserror
437fs_screens += fserror/mimfs_fserror.scn
438mimfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \
439        support/fstest_support.h support/fstest.h \
440        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
441        mimfs_support/fs_config.h
442mimfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fserror) \
443        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
444endif
445
446if TEST_mimfs_fslink
447fs_tests += mimfs_fslink
448mimfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \
449        support/fstest_support.h support/fstest.h \
450        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
451        mimfs_support/fs_config.h
452mimfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fslink) \
453        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
454endif
455
456if TEST_mimfs_fspatheval
457fs_tests += mimfs_fspatheval
458mimfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \
459        support/fstest_support.h support/fstest.h \
460        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
461        mimfs_support/fs_config.h
462mimfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
463        $(TEST_FLAGS_mimfs_fspatheval) $(support_includes) $(test_includes) \
464        -I$(top_srcdir)/mimfs_support
465endif
466
467if TEST_mimfs_fspermission
468fs_tests += mimfs_fspermission
469mimfs_fspermission_SOURCES = fspermission/test.c \
470        support/fstest_support.c support/fstest_support.h support/fstest.h \
471        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
472        mimfs_support/fs_config.h
473mimfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
474        $(TEST_FLAGS_mimfs_fspermission) $(support_includes) $(test_includes) \
475        -I$(top_srcdir)/mimfs_support
476endif
477
478if TEST_mimfs_fsrdwr
479fs_tests += mimfs_fsrdwr
480mimfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \
481        support/fstest_support.h support/fstest.h \
482        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
483        mimfs_support/fs_config.h
484mimfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrdwr) \
485        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
486endif
487
488if TEST_mimfs_fsrename
489fs_tests += mimfs_fsrename
490fs_screens += fsrename/mimfs_fsrename.scn
491mimfs_fsrename_SOURCES = fsrename/test.c support/fstest_support.c \
492        support/fstest_support.h support/fstest.h \
493        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
494        mimfs_support/fs_config.h
495mimfs_fsrename_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrename) \
496        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
497endif
498
499if TEST_mimfs_fsscandir01
500fs_tests += mimfs_fsscandir01
501mimfs_fsscandir01_SOURCES = fsscandir01/init.c \
502        support/fstest_support.c support/fstest_support.h support/fstest.h \
503        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
504        mimfs_support/fs_config.h
505mimfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
506        $(TEST_FLAGS_mimfs_fsscandir01) $(support_includes) $(test_includes) \
507        -I$(top_srcdir)/mimfs_support
508endif
509
510if TEST_mimfs_fssymlink
511fs_tests += mimfs_fssymlink
512mimfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \
513        support/fstest_support.h support/fstest.h \
514        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
515        mimfs_support/fs_config.h
516mimfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \
517        $(TEST_FLAGS_mimfs_fssymlink) $(support_includes) $(test_includes) \
518        -I$(top_srcdir)/mimfs_support
519endif
520
521if TEST_mimfs_fstime
522fs_tests += mimfs_fstime
523mimfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \
524        support/fstest_support.h support/fstest.h \
525        ../psxtests/include/pmacros.h mimfs_support/fs_support.c \
526        mimfs_support/fs_config.h
527mimfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fstime) \
528        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
529endif
530
531if TEST_mrfs_fserror
532fs_tests += mrfs_fserror
533fs_screens += fserror/mrfs_fserror.scn
534mrfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \
535        support/fstest_support.c support/fstest_support.h \
536        support/ramdisk_support.h support/fstest.h \
537        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
538        mrfs_support/fs_config.h
539mrfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fserror) \
540        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
541endif
542
543if TEST_mrfs_fsfpathconf
544fs_tests += mrfs_fsfpathconf
545fs_screens += fsfpathconf/mrfs_fsfpathconf.scn
546mrfs_fsfpathconf_SOURCES = fsfpathconf/test.c \
547        support/ramdisk_support.c support/fstest_support.c \
548        support/fstest_support.h support/ramdisk_support.h support/fstest.h \
549        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
550        mrfs_support/fs_config.h
551mrfs_fsfpathconf_CPPFLAGS = $(AM_CPPFLAGS) \
552        $(TEST_FLAGS_mrfs_fsfpathconf) $(support_includes) $(test_includes) \
553        -I$(top_srcdir)/mrfs_support
554endif
555
556if TEST_mrfs_fslink
557fs_tests += mrfs_fslink
558fs_screens += fslink/mrfs_fslink.scn
559mrfs_fslink_SOURCES = fslink/test.c support/ramdisk_support.c \
560        support/fstest_support.c support/fstest_support.h \
561        support/ramdisk_support.h support/fstest.h \
562        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
563        mrfs_support/fs_config.h
564mrfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fslink) \
565        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
566endif
567
568if TEST_mrfs_fspatheval
569fs_tests += mrfs_fspatheval
570fs_screens += fspatheval/mrfs_fspatheval.scn
571mrfs_fspatheval_SOURCES = fspatheval/test.c support/ramdisk_support.c \
572        support/fstest_support.c support/fstest_support.h \
573        support/ramdisk_support.h support/fstest.h \
574        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
575        mrfs_support/fs_config.h
576mrfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
577        $(TEST_FLAGS_mrfs_fspatheval) $(support_includes) $(test_includes) \
578        -I$(top_srcdir)/mrfs_support
579endif
580
581if TEST_mrfs_fspermission
582fs_tests += mrfs_fspermission
583fs_screens += fspermission/mrfs_fspermission.scn
584mrfs_fspermission_SOURCES = fspermission/test.c \
585        support/ramdisk_support.c support/fstest_support.c \
586        support/fstest_support.h support/ramdisk_support.h support/fstest.h \
587        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
588        mrfs_support/fs_config.h
589mrfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
590        $(TEST_FLAGS_mrfs_fspermission) $(support_includes) $(test_includes) \
591        -I$(top_srcdir)/mrfs_support
592endif
593
594if TEST_mrfs_fsrdwr
595fs_tests += mrfs_fsrdwr
596fs_screens += fsrdwr/mrfs_fsrdwr.scn
597mrfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \
598        support/fstest_support.c support/fstest_support.h \
599        support/ramdisk_support.h support/fstest.h \
600        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
601        mrfs_support/fs_config.h
602mrfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fsrdwr) \
603        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
604endif
605
606if TEST_mrfs_fsscandir01
607fs_tests += mrfs_fsscandir01
608fs_screens += fsscandir01/mrfs_fsscandir01.scn
609mrfs_fsscandir01_SOURCES = fsscandir01/init.c \
610        support/ramdisk_support.c support/fstest_support.c \
611        support/fstest_support.h support/ramdisk_support.h support/fstest.h \
612        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
613        mrfs_support/fs_config.h
614mrfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
615        $(TEST_FLAGS_mrfs_fsscandir01) $(support_includes) $(test_includes) \
616        -I$(top_srcdir)/mrfs_support
617endif
618
619if TEST_mrfs_fssymlink
620fs_tests += mrfs_fssymlink
621fs_screens += fssymlink/mrfs_fssymlink.scn
622mrfs_fssymlink_SOURCES = fssymlink/test.c support/ramdisk_support.c \
623        support/fstest_support.c support/fstest_support.h \
624        support/ramdisk_support.h support/fstest.h \
625        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
626        mrfs_support/fs_config.h
627mrfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fssymlink) \
628        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
629endif
630
631if TEST_mrfs_fstime
632fs_tests += mrfs_fstime
633fs_screens += fstime/mrfs_fstime.scn
634mrfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \
635        support/fstest_support.c support/fstest_support.h \
636        support/ramdisk_support.h support/fstest.h \
637        ../psxtests/include/pmacros.h mrfs_support/fs_support.c \
638        mrfs_support/fs_config.h
639mrfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fstime) \
640        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
641endif
642
643rtems_tests_PROGRAMS = $(fs_tests)
644dist_rtems_tests_DATA = $(fs_screens) $(fs_docs)
645
Note: See TracBrowser for help on using the repository browser.