author | Mikael Hallendal <micke@imendio.com> |
Thu, 17 Jul 2008 00:36:18 +0200 | |
changeset 465 | dcbd87ebdeed |
parent 464 | e4e3b9afd58a |
child 472 | 5aa76e995f0d |
permissions | -rw-r--r-- |
397
5e2ad0e0704a
Migrated test suite to GLib unit test framework
Mikael Hallendal <micke@imendio.com>
parents:
315
diff
changeset
|
1 |
include $(top_srcdir)/Makefile.decl |
5e2ad0e0704a
Migrated test suite to GLib unit test framework
Mikael Hallendal <micke@imendio.com>
parents:
315
diff
changeset
|
2 |
|
1 | 3 |
NULL= |
4 |
||
171
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
5 |
TEST_DIR=$(top_srcdir)/ |
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
6 |
|
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
7 |
AM_CPPFLAGS = \ |
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
8 |
-I. \ |
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
9 |
-I$(top_srcdir) \ |
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
10 |
$(LOUDMOUTH_CFLAGS) \ |
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
11 |
$(LIBIDN_CFLAGS) \ |
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
12 |
-DLM_COMPILATION \ |
118ca6c4520e
2006-09-10 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
155
diff
changeset
|
13 |
-DRUNTIME_ENDIAN \ |
1 | 14 |
$(NULL) |
15 |
||
464
e4e3b9afd58a
Added small test program and simple tests seems to work.
Mikael Hallendal <micke@imendio.com>
parents:
458
diff
changeset
|
16 |
noinst_PROGRAMS = test-dns-blocking |
e4e3b9afd58a
Added small test program and simple tests seems to work.
Mikael Hallendal <micke@imendio.com>
parents:
458
diff
changeset
|
17 |
|
e4e3b9afd58a
Added small test program and simple tests seems to work.
Mikael Hallendal <micke@imendio.com>
parents:
458
diff
changeset
|
18 |
test_dns_blocking_SOURCES = test-dns-blocking.c |
e4e3b9afd58a
Added small test program and simple tests seems to work.
Mikael Hallendal <micke@imendio.com>
parents:
458
diff
changeset
|
19 |
|
e4e3b9afd58a
Added small test program and simple tests seems to work.
Mikael Hallendal <micke@imendio.com>
parents:
458
diff
changeset
|
20 |
test_dns_blocking_LDADD = $(LOUDMOUTH_LIBS) $(top_builddir)/loudmouth/libloudmouth-1.la |
e4e3b9afd58a
Added small test program and simple tests seems to work.
Mikael Hallendal <micke@imendio.com>
parents:
458
diff
changeset
|
21 |
|
70
4d33d6915f49
2004-01-21 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
68
diff
changeset
|
22 |
lib_LTLIBRARIES = libloudmouth-1.la |
1 | 23 |
|
138
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
24 |
if USE_GNUTLS |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
25 |
ssl_sources = \ |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
26 |
lm-ssl-gnutls.c |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
27 |
endif |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
28 |
|
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
29 |
if USE_OPENSSL |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
30 |
ssl_sources = \ |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
31 |
lm-ssl-openssl.c |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
32 |
endif |
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
33 |
|
70
4d33d6915f49
2004-01-21 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
68
diff
changeset
|
34 |
libloudmouth_1_la_SOURCES = \ |
1 | 35 |
lm-connection.c \ |
36 |
lm-debug.c \ |
|
37 |
lm-debug.h \ |
|
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
38 |
lm-dummy.c \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
39 |
lm-dummy.h \ |
1 | 40 |
lm-error.c \ |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
41 |
lm-marshal-main.c \ |
1 | 42 |
lm-message.c \ |
43 |
lm-message-handler.c \ |
|
44 |
lm-message-node.c \ |
|
196
209bfa124066
Imported LmConnection refactor from old repository.
Mikael Hallendal <micke@imendio.com>
parents:
171
diff
changeset
|
45 |
lm-message-queue.c \ |
209bfa124066
Imported LmConnection refactor from old repository.
Mikael Hallendal <micke@imendio.com>
parents:
171
diff
changeset
|
46 |
lm-message-queue.h \ |
209bfa124066
Imported LmConnection refactor from old repository.
Mikael Hallendal <micke@imendio.com>
parents:
171
diff
changeset
|
47 |
lm-misc.c \ |
209bfa124066
Imported LmConnection refactor from old repository.
Mikael Hallendal <micke@imendio.com>
parents:
171
diff
changeset
|
48 |
lm-misc.h \ |
1 | 49 |
lm-parser.c \ |
50 |
lm-parser.h \ |
|
457
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
51 |
\ |
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
52 |
asyncns.c \ |
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
53 |
asyncns.h \ |
452
ad59c48027f2
Added LmResolver interface.
Mikael Hallendal <micke@imendio.com>
parents:
434
diff
changeset
|
54 |
lm-resolver.c \ |
ad59c48027f2
Added LmResolver interface.
Mikael Hallendal <micke@imendio.com>
parents:
434
diff
changeset
|
55 |
lm-resolver.h \ |
457
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
56 |
lm-asyncns-resolver.c \ |
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
57 |
lm-asyncns-resolver.h \ |
458
0cd193ceddaa
Added LmBlockingResolver which will handle the case when we do not have libasyncns.
Mikael Hallendal <micke@imendio.com>
parents:
457
diff
changeset
|
58 |
lm-blocking-resolver.c \ |
0cd193ceddaa
Added LmBlockingResolver which will handle the case when we do not have libasyncns.
Mikael Hallendal <micke@imendio.com>
parents:
457
diff
changeset
|
59 |
lm-blocking-resolver.h \ |
457
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
60 |
\ |
1 | 61 |
lm-internals.h \ |
62 |
lm-sha.c \ |
|
63 |
lm-sha.h \ |
|
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
84
diff
changeset
|
64 |
lm-ssl-generic.c \ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
84
diff
changeset
|
65 |
lm-ssl-base.c \ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
84
diff
changeset
|
66 |
lm-ssl-base.h \ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
84
diff
changeset
|
67 |
lm-ssl-internals.h \ |
138
210cf8993393
2006-04-12 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
137
diff
changeset
|
68 |
$(ssl_sources) \ |
1 | 69 |
lm-utils.c \ |
66
577d5059b718
2004-01-15 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
39
diff
changeset
|
70 |
lm-proxy.c \ |
140
103227122f45
2006-04-19 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
138
diff
changeset
|
71 |
lm-sock.h \ |
103227122f45
2006-04-19 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
138
diff
changeset
|
72 |
lm-sock.c \ |
457
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
73 |
lm-old-socket.c \ |
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
74 |
lm-old-socket.h \ |
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
75 |
\ |
432
63a049d146c3
Added basic API for the new LmSocket
Mikael Hallendal <micke@imendio.com>
parents:
431
diff
changeset
|
76 |
lm-socket.c \ |
63a049d146c3
Added basic API for the new LmSocket
Mikael Hallendal <micke@imendio.com>
parents:
431
diff
changeset
|
77 |
lm-socket.h \ |
433
2ed69f025f4a
Made LmSocket into an interface and hooked up implementation of it in LmTcpSocket.
Mikael Hallendal <micke@imendio.com>
parents:
432
diff
changeset
|
78 |
lm-tcp-socket.c \ |
2ed69f025f4a
Made LmSocket into an interface and hooked up implementation of it in LmTcpSocket.
Mikael Hallendal <micke@imendio.com>
parents:
432
diff
changeset
|
79 |
lm-tcp-socket.h \ |
457
9eeae02afc18
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com>
parents:
452
diff
changeset
|
80 |
\ |
218
bc855c0839bb
Applied Makefile.am changes for Sasl branch
Mikael Hallendal <micke@imendio.com>
parents:
196
diff
changeset
|
81 |
lm-sasl.c \ |
bc855c0839bb
Applied Makefile.am changes for Sasl branch
Mikael Hallendal <micke@imendio.com>
parents:
196
diff
changeset
|
82 |
lm-sasl.h \ |
425 | 83 |
lm-simple-io.c \ |
84 |
lm-simple-io.h \ |
|
423
9987db86f2ef
Added LmXmppWriter interface
Mikael Hallendal <micke@imendio.com>
parents:
407
diff
changeset
|
85 |
lm-xmpp-writer.c \ |
9987db86f2ef
Added LmXmppWriter interface
Mikael Hallendal <micke@imendio.com>
parents:
407
diff
changeset
|
86 |
lm-xmpp-writer.h \ |
218
bc855c0839bb
Applied Makefile.am changes for Sasl branch
Mikael Hallendal <micke@imendio.com>
parents:
196
diff
changeset
|
87 |
md5.c \ |
bc855c0839bb
Applied Makefile.am changes for Sasl branch
Mikael Hallendal <micke@imendio.com>
parents:
196
diff
changeset
|
88 |
md5.h \ |
1 | 89 |
$(NULL) |
90 |
||
91 |
libloudmouthinclude_HEADERS = \ |
|
92 |
lm-connection.h \ |
|
93 |
lm-error.h \ |
|
94 |
lm-message.h \ |
|
95 |
lm-message-handler.h \ |
|
96 |
lm-message-node.h \ |
|
97 |
lm-utils.h \ |
|
66
577d5059b718
2004-01-15 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
39
diff
changeset
|
98 |
lm-proxy.h \ |
68
28203e15de0e
2004-01-15 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
66
diff
changeset
|
99 |
lm-ssl.h \ |
1 | 100 |
loudmouth.h \ |
101 |
$(NULL) |
|
102 |
||
70
4d33d6915f49
2004-01-21 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
68
diff
changeset
|
103 |
libloudmouth_1_la_LIBADD = \ |
155
d24c4392d4e3
2006-06-16 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
142
diff
changeset
|
104 |
$(LOUDMOUTH_LIBS) \ |
271
52ea4e0b897a
Perform name resolution asynchronously. Patch by Senko Rašić.
Dafydd Harries <daf@rhydd.org>
parents:
218
diff
changeset
|
105 |
$(LIBIDN_LIBS) \ |
52ea4e0b897a
Perform name resolution asynchronously. Patch by Senko Rašić.
Dafydd Harries <daf@rhydd.org>
parents:
218
diff
changeset
|
106 |
-lresolv |
1 | 107 |
|
305
f42625a65dd3
only export symbols explicitly listed in a file
Dafydd Harries <daf@rhydd.org>
parents:
296
diff
changeset
|
108 |
libloudmouth_1_la_LDFLAGS = \ |
f42625a65dd3
only export symbols explicitly listed in a file
Dafydd Harries <daf@rhydd.org>
parents:
296
diff
changeset
|
109 |
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ |
315
eafeecd05c9a
include $(srcdir) in path to symbol file
Dafydd Harries <dafydd.harries@collabora.co.uk>
parents:
305
diff
changeset
|
110 |
-export-symbols $(srcdir)/loudmouth.sym |
1 | 111 |
libloudmouthincludedir = $(includedir)/loudmouth-1.0/loudmouth |
112 |
||
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
113 |
lm-marshal.h: lm-marshal.list |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
114 |
(cd $(srcdir) && \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
115 |
$(GLIB_GENMARSHAL) --prefix=lm_marshal lm-marshal.list --header) > xgen-gmh \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
116 |
&& (cmp -s xgen-gmh lm-marshal.h || cp xgen-gmh lm-marshal.h) \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
117 |
&& rm -f xgen-gmh xgen-gmh~ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
118 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
119 |
lm-marshal.c: lm-marshal.list |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
120 |
(cd $(srcdir) && \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
121 |
$(GLIB_GENMARSHAL) --prefix=lm_marshal lm-marshal.list --body) > xgen-gmc \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
122 |
&& cp xgen-gmc lm-marshal.c \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
123 |
&& rm -f xgen-gmc xgen-gmc~ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
124 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
125 |
lm-marshal-main.c: lm-marshal.c lm-marshal.h |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
126 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
127 |
BUILT_SOURCES = \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
128 |
lm-marshal.h \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
129 |
lm-marshal.c |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
130 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
131 |
# an explicit dependency here so all generated files get built |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
132 |
$(OBJECTS): $(BUILT_SOURCES) |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
133 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
134 |
CLEANFILES = $(BUILT_SOURCES) |
142
f8b4c3dc5630
2006-04-19 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
140
diff
changeset
|
135 |
|
397
5e2ad0e0704a
Migrated test suite to GLib unit test framework
Mikael Hallendal <micke@imendio.com>
parents:
315
diff
changeset
|
136 |
EXTRA_DIST += \ |
305
f42625a65dd3
only export symbols explicitly listed in a file
Dafydd Harries <daf@rhydd.org>
parents:
296
diff
changeset
|
137 |
lm-ssl-gnutls.c \ |
f42625a65dd3
only export symbols explicitly listed in a file
Dafydd Harries <daf@rhydd.org>
parents:
296
diff
changeset
|
138 |
lm-ssl-openssl.c \ |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
139 |
loudmouth.sym \ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
423
diff
changeset
|
140 |
lm-marshal.list |
305
f42625a65dd3
only export symbols explicitly listed in a file
Dafydd Harries <daf@rhydd.org>
parents:
296
diff
changeset
|
141 |