| 1 |
include ../../Config |
| 2 |
|
| 3 |
GNATMAKEFLAGS1 = -g -I../../floristlib -L../../floristlib |
| 4 |
GNATMAKEFLAGS2= -cargs -gnatay -gnatwue -largs -lresolv -lflorist |
| 5 |
|
| 6 |
TEST_FILES=\ |
| 7 |
p180400.adb\ |
| 8 |
p180401.adb\ |
| 9 |
p180402.adb\ |
| 10 |
p180402a.adb\ |
| 11 |
p180402b.adb\ |
| 12 |
p180402c.adb\ |
| 13 |
p180402d.adb\ |
| 14 |
pdd0100.adb\ |
| 15 |
test_tcp_listen.adb\ |
| 16 |
test_tcp_talk.adb\ |
| 17 |
test_addrinfo.adb\ |
| 18 |
test_database.adb\ |
| 19 |
test_local_listen.adb\ |
| 20 |
test_local_ltime.adb\ |
| 21 |
test_local_talk.adb\ |
| 22 |
test_local_ttime.adb\ |
| 23 |
test_poll_listen.adb\ |
| 24 |
test_select_listen.adb\ |
| 25 |
test_tcp_ltime.adb\ |
| 26 |
test_tcp_options.adb\ |
| 27 |
test_tcp_ttime.adb\ |
| 28 |
test_udp_listen.adb\ |
| 29 |
test_udp_options.adb\ |
| 30 |
test_udp_talk.adb |
| 31 |
TESTS=\ |
| 32 |
p180400\ |
| 33 |
p180401\ |
| 34 |
p180402\ |
| 35 |
p180402a\ |
| 36 |
p180402b\ |
| 37 |
p180402c\ |
| 38 |
p180402d\ |
| 39 |
pdd0100\ |
| 40 |
test_tcp_listen\ |
| 41 |
test_tcp_talk\ |
| 42 |
test_addrinfo\ |
| 43 |
test_database\ |
| 44 |
test_local_listen\ |
| 45 |
test_local_ltime\ |
| 46 |
test_local_talk\ |
| 47 |
test_local_ttime\ |
| 48 |
test_poll_listen\ |
| 49 |
test_select_listen\ |
| 50 |
test_tcp_ltime\ |
| 51 |
test_tcp_options\ |
| 52 |
test_tcp_ttime\ |
| 53 |
test_udp_listen\ |
| 54 |
test_udp_options\ |
| 55 |
test_udp_talk |
| 56 |
|
| 57 |
all: $(TESTS) |
| 58 |
posix_report.ads: |
| 59 |
ln -s ../posix_report.ads |
| 60 |
posix_report.adb: |
| 61 |
ln -s ../posix_report.adb |
| 62 |
test_parameters.ads: |
| 63 |
# ln -s ../test_parameters.ads |
| 64 |
test_parameters.adb: |
| 65 |
# ln -s ../test_parameters.adb |
| 66 |
p180400: p180400.adb |
| 67 |
p180401: p180401.adb |
| 68 |
p180402: p180402.adb |
| 69 |
p180402a: p180402a.adb |
| 70 |
p180402b: p180402b.adb |
| 71 |
p180402c: p180402c.adb |
| 72 |
p180402d: p180402d.adb |
| 73 |
pdd0100: pdd0100.adb test_parameters.adb |
| 74 |
test_tcp_listen: test_tcp_listen.adb |
| 75 |
test_tcp_talk: test_tcp_talk.adb |
| 76 |
test_addrinfo: test_addrinfo.adb |
| 77 |
test_database: test_database.adb |
| 78 |
test_local_listen: test_local_listen.adb |
| 79 |
test_local_ltime: test_local_ltime.adb |
| 80 |
test_local_talk: test_local_talk.adb |
| 81 |
test_local_ttime: test_local_ttime.adb |
| 82 |
test_poll_listen: test_poll_listen.adb |
| 83 |
test_select_listen: test_select_listen.adb |
| 84 |
test_tcp_ltime: test_tcp_ltime.adb |
| 85 |
test_tcp_options: test_tcp_options.adb |
| 86 |
test_tcp_ttime: test_tcp_ttime.adb |
| 87 |
test_udp_listen: test_udp_listen.adb |
| 88 |
test_udp_options: test_udp_options.adb |
| 89 |
test_udp_tal: test_udp_tal.adb |
| 90 |
tcp: test_tcp_listen test_tcp_talk |
| 91 |
|
| 92 |
$(TESTS): posix_report.ads posix_report.adb\ |
| 93 |
../../floristlib/libflorist.a test_parameters.ads test_parameters.adb |
| 94 |
gnatmake $(GNATMAKEFLAGS1) $@ $(GNATMAKEFLAGS2) |
| 95 |
clean: |
| 96 |
rm -f *.o *.ali $(TESTS) |