Merge branch 'topic/mm-fixes' of git://208.110.73.182/silc into silc.1.1.branch
[silc.git] / lib / silcutil / Makefile.ad
1 #
2 #  Makefile.ad
3 #
4 #  Author: Pekka Riikonen <priikone@silcnet.org>
5 #
6 #  Copyright (C) 2000 - 2007 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 #ifdef SILC_DIST_TOOLKIT
31 DIST_SUBDIRS=win32 symbian unix
32 #else !SILC_DIST_TOOLKIT
33 #ifdef SILC_DIST_CLIENT
34 DIST_SUBDIRS=win32 unix
35 #else !SILC_DIST_CLIENT
36 #ifdef SILC_DIST_SERVER
37 DIST_SUBDIRS=unix
38 #endif SILC_DIST_SERVER
39 #endif SILC_DIST_CLIENT
40 #endif SILC_DIST_TOOLKIT
41
42 #ifdef SILC_DIST_TOOLKIT
43 SILC_DIST_SOURCE = stacktrace.c
44 SILC_DIST_HEADER = stacktrace.h
45 #endif SILC_DIST_TOOLKIT
46
47 noinst_LTLIBRARIES = libsilcutil.la
48
49 libsilcutil_la_SOURCES = \
50         $(SILC_DIST_SOURCE) \
51         silcbuffmt.c    \
52         silcconfig.c    \
53         silclog.c       \
54         silcmemory.c    \
55         silcnet.c       \
56         silcschedule.c  \
57         silcfileutil.c  \
58         silcstrutil.c   \
59         silcutil.c      \
60         silchashtable.c \
61         silcutf8.c      \
62         silcstringprep.c \
63         silcstream.c    \
64         silcfdstream.c  \
65         silcsocketstream.c \
66         silcfsm.c       \
67         silcasync.c     \
68         silctime.c      \
69         silcmime.c      \
70         silcstack.c     \
71         silcsnprintf.c
72
73 #ifdef SILC_DIST_TOOLKIT
74 include_HEADERS =       \
75         $(SILC_DIST_HEADER) \
76         silcbuffer.h    \
77         silcbuffmt.h    \
78         silcconfig.h    \
79         silchashtable.h \
80         silclog.h       \
81         silclog_i.h     \
82         silcmemory.h    \
83         silcmutex.h     \
84         silcatomic.h    \
85         silccond.h      \
86         silcnet.h       \
87         silcnet_i.h     \
88         silcschedule.h  \
89         silcschedule_i.h \
90         silcthread.h    \
91         silclist.h      \
92         silcdlist.h     \
93         silcfileutil.h  \
94         silcutil.h      \
95         silcstrutil.h   \
96         silcutf8.h      \
97         silcstringprep.h \
98         silctypes.h     \
99         silcstream.h    \
100         silcfdstream.h \
101         silcsocketstream.h \
102         silcsocketstream_i.h \
103         silcfsm.h       \
104         silcfsm_i.h     \
105         silctime.h      \
106         silcmime.h      \
107         silcmime_i.h    \
108         silcasync.h     \
109         silcasync_i.h   \
110         silcstack.h     \
111         silcstack_i.h   \
112         silcsnprintf.h
113
114 SILC_EXTRA_DIST = tests
115 #endif SILC_DIST_TOOLKIT
116
117 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
118
119 include $(top_srcdir)/Makefile.defines.in