Added preliminary Symbian support.
[silc.git] / lib / silcutil / Makefile.ad
1 #
2 #  Makefile.ad
3 #
4 #  Author: Pekka Riikonen <priikone@silcnet.org>
5 #
6 #  Copyright (C) 2000 - 2006 Pekka Riikonen
7 #
8 #  This program is free software; you can redistribute it and/or modify
9 #  it under the terms of the GNU General Public License as published by
10 #  the Free Software Foundation; version 2 of the License.
11 #
12 #  This program is distributed in the hope that it will be useful,
13 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #  GNU General Public License for more details.
16 #
17
18 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
19
20 if SILC_WIN32
21 SUBDIRS=win32
22 else
23 if SILC_SYMBIAN
24 SUBDIRS=symbian
25 else
26 SUBDIRS=unix
27 endif
28 endif
29
30 DIST_SUBDIRS=win32 symbian unix
31
32 #ifdef SILC_DIST_TOOLKIT
33 SILC_DIST_SOURCE = stacktrace.c
34 SILC_DIST_HEADER = stacktrace.h
35 #endif SILC_DIST_TOOLKIT
36
37 noinst_LTLIBRARIES = libsilcutil.la
38
39 libsilcutil_la_SOURCES = \
40         $(SILC_DIST_SOURCE) \
41         silcbuffmt.c    \
42         silcconfig.c    \
43         silclog.c       \
44         silcmemory.c    \
45         silcnet.c       \
46         silcschedule.c  \
47         silcfileutil.c  \
48         silcstrutil.c   \
49         silcutil.c      \
50         silchashtable.c \
51         silcutf8.c      \
52         silcstringprep.c \
53         silcstream.c    \
54         silcfdstream.c  \
55         silcsocketstream.c \
56         silcfsm.c       \
57         silcasync.c     \
58         silctime.c      \
59         silcmime.c      \
60         silcstack.c
61
62 #ifdef SILC_DIST_TOOLKIT
63 include_HEADERS =       \
64         $(SILC_DIST_HEADER) \
65         silcbuffer.h    \
66         silcbuffmt.h    \
67         silcconfig.h    \
68         silchashtable.h \
69         silclog.h       \
70         silclog_i.h     \
71         silcmemory.h    \
72         silcmutex.h     \
73         silcnet.h       \
74         silcschedule.h  \
75         silcschedule_i.h \
76         silcthread.h    \
77         silclist.h      \
78         silcdlist.h     \
79         silcfileutil.h  \
80         silcutil.h      \
81         silcstrutil.h   \
82         silcutf8.h      \
83         silcstringprep.h \
84         silctypes.h     \
85         silcstream.h    \
86         silcfdstream.h \
87         silcsocketstream.h \
88         silcfsm.h       \
89         silcfsm_i.h     \
90         silctime.h      \
91         silcmime.h      \
92         silcasync.h     \
93         silcasync_i.h   \
94         silcstack.h     \
95         silcstack_i.h
96
97 SILC_EXTRA_DIST = tests
98 #endif SILC_DIST_TOOLKIT
99
100 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
101
102 include $(top_srcdir)/Makefile.defines.in