summaryrefslogtreecommitdiff
path: root/build.symbian/pjlib_test.mmp
blob: 73f004bea86fd6a81ee69d70806494eca74ea56a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
TARGET 		pjlib_test.exe
TARGETTYPE 	exe
UID		0x0 0xA0000002


SOURCEPATH	..\pjlib\src\pjlib-test

MACRO		PJ_M_I386=1
MACRO		PJ_SYMBIAN=1

// Must compile as C++, otherwise exception would not work
OPTION CW -lang c++
OPTION ARMCC --cpp --gnu
OPTION GCC -x c++
OPTION GCCE -x c++

#if defined(PJ_BUILD_DLL)
MACRO		PJ_DLL
LIBRARY		pjlib.lib 
#else
STATICLIBRARY	pjlib.lib 
#endif

// Test files

SOURCE	activesock.c
SOURCE	atomic.c
SOURCE	echo_clt.c
SOURCE	errno.c
SOURCE	exception_wrap.cpp
SOURCE	fifobuf.c
SOURCE	file.c
SOURCE	hash_test.c
SOURCE	ioq_perf.c
SOURCE	ioq_tcp.c
SOURCE	ioq_udp.c
SOURCE	ioq_unreg.c
SOURCE	list.c
SOURCE	mutex.c
SOURCE	os.c
SOURCE	pool_wrap.cpp
SOURCE	pool_perf.c
SOURCE	rand.c
SOURCE	rbtree.c
SOURCE	select.c
SOURCE	sleep.c
SOURCE	sock.c
SOURCE	sock_perf.c
SOURCE	ssl_sock.c
SOURCE	string.c
SOURCE	test_wrap.cpp
SOURCE	thread.c
SOURCE	timer.c
SOURCE	timestamp.c
SOURCE	udp_echo_srv_ioqueue.c
SOURCE	udp_echo_srv_sync.c
SOURCE	util.c

SOURCE	main_symbian.cpp

DOCUMENT test.h

START RESOURCE  	pjlib_test_reg.rss
	TARGETPATH      \private\10003a3f\apps
END

SYSTEMINCLUDE	..\pjlib\include

SYSTEMINCLUDE	\epoc32\include
SYSTEMINCLUDE	\epoc32\include\libc

LIBRARY		esock.lib insock.lib charconv.lib euser.lib estlib.lib 
LIBRARY		securesocket.lib x509.lib crypto.lib x500.lib 
LIBRARY		hal.lib efsrv.lib
 
#ifdef WINSCW
STATICLIBRARY   eexe.lib ecrt0.lib
#endif

// Need a bit of mem for logging in the app.
EPOCSTACKSIZE		32768

CAPABILITY	NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment