Debian Codegraph @

test/unit/server/Makefile.am

raw
1 #note all .a are here twice for compilation problems
2 AM_LIBTOOLFLAGS= --preserve-dup-deps
3 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
4 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
5 $(LDFLAGS) -o $@
6
7 LDADD = $(top_builddir)/server/libserver.a \
8 $(top_builddir)/common/libcross.a \
9 $(top_builddir)/server/libserver.a \
10 $(top_builddir)/common/libcross.a \
11 $(top_builddir)/random_maps/librandom_map.a \
12 $(top_builddir)/socket/libsocket.a \
13 $(top_builddir)/types/libtypes.a \
14 $(top_builddir)/test/toolkit/libtoolkit_server.a \
15 @CHECK_LIBS@
16
17 ../../../types/libtypes.a:
18 ( cd ../../../types ; make libtypes.a )
19
20 ../../logs/unit/server:
21 (mkdir ../../logs; mkdir ../../logs/unit; mkdir ../../logs/unit/server)
22
23 ../../../common/libcross.a:
24 ( cd ../../../common ; make libcross.a )
25
26 ../../../socket/libsocket.a:
27 ( cd ../../../socket ; make libsocket.a )
28
29 ../../../random_maps/librandom_map.a:
30 ( cd ../../../random_maps ; make librandom_map.a )
31
32 ../../../server/libserver.a:
33 ( cd ../../../server ; make libserver.a )
34
35 $(top_builddir)/test/toolkit/libtoolkit_server.a:
36 ( cd $(top_builddir)/test/toolkit/; make libtoolkit_server.a)
37
38 # tests not implemented for now
39 #TESTS=check_apply check_ban check_build_map check_c_chat check_c_misc check_c_move check_c_new check_commands check_c_range check_c_wiz check_disease check_egoitem check_gods check_hiscore check_init check_login check_main check_monster check_move check_pets check_player check_plugins check_resurrection check_rune check_skills check_skill_util check_spell_attack check_spell_effect check_spell_util check_swamp check_swap check_time check_timers check_weather check_win32
40 TESTS=check_account check_account_char check_alchemy check_attack check_c_object comet_perf \
41 check_c_party check_shop check_monster_change
42
43 CHECK_ROOT=../../
44 CHECK_FOLDER=unit/server
45 CHECK_PARENT_NAME=Unit
46 include $(top_srcdir)/check-fragment.am
47
48 DISTCLEANFILES= .autorun.xml
49
50 check-local: check-html
51 clean-local: clean-unit