Use backtrace() in stack tracing for prettier output
[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 SILC_DIST_SOURCE = stacktrace.c
43 SILC_DIST_HEADER = stacktrace.h
44
45 noinst_LTLIBRARIES = libsilcutil.la
46
47 libsilcutil_la_SOURCES = \
48         $(SILC_DIST_SOURCE) \
49         silcbuffmt.c    \
50         silcconfig.c    \
51         silclog.c       \
52         silcmemory.c    \
53         silcnet.c       \
54         silcschedule.c  \
55         silcfileutil.c  \
56         silcstrutil.c   \
57         silcutil.c      \
58         silchashtable.c \
59         silcutf8.c      \
60         silcstringprep.c \
61         silcstream.c    \
62         silcfdstream.c  \
63         silcsocketstream.c \
64         silcfsm.c       \
65         silcasync.c     \
66         silctime.c      \
67         silcmime.c      \
68         silcstack.c     \
69         silcsnprintf.c
70
71 #ifdef SILC_DIST_TOOLKIT
72 include_HEADERS =       \
73         $(SILC_DIST_HEADER) \
74         silcbuffer.h    \
75         silcbuffmt.h    \
76         silcconfig.h    \
77         silchashtable.h \
78         silclog.h       \
79         silclog_i.h     \
80         silcmemory.h    \
81         silcmutex.h     \
82         silcatomic.h    \
83         silccond.h      \
84         silcnet.h       \
85         silcnet_i.h     \
86         silcschedule.h  \
87         silcschedule_i.h \
88         silcthread.h    \
89         silclist.h      \
90         silcdlist.h     \
91         silcfileutil.h  \
92         silcutil.h      \
93         silcstrutil.h   \
94         silcutf8.h      \
95         silcstringprep.h \
96         silctypes.h     \
97         silcstream.h    \
98         silcfdstream.h \
99         silcsocketstream.h \
100         silcsocketstream_i.h \
101         silcfsm.h       \
102         silcfsm_i.h     \
103         silctime.h      \
104         silcmime.h      \
105         silcmime_i.h    \
106         silcasync.h     \
107         silcasync_i.h   \
108         silcstack.h     \
109         silcstack_i.h   \
110         silcsnprintf.h
111
112 SILC_EXTRA_DIST = tests
113 #endif SILC_DIST_TOOLKIT
114
115 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
116
117 include $(top_srcdir)/Makefile.defines.in