Added silc_snprintf, silc_vsnprintf, silc_asprintf, silc_vasprintf
[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 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         silcsnprintf.c
62
63 #ifdef SILC_DIST_TOOLKIT
64 include_HEADERS =       \
65         $(SILC_DIST_HEADER) \
66         silcbuffer.h    \
67         silcbuffmt.h    \
68         silcconfig.h    \
69         silchashtable.h \
70         silclog.h       \
71         silclog_i.h     \
72         silcmemory.h    \
73         silcmutex.h     \
74         silcnet.h       \
75         silcschedule.h  \
76         silcschedule_i.h \
77         silcthread.h    \
78         silclist.h      \
79         silcdlist.h     \
80         silcfileutil.h  \
81         silcutil.h      \
82         silcstrutil.h   \
83         silcutf8.h      \
84         silcstringprep.h \
85         silctypes.h     \
86         silcstream.h    \
87         silcfdstream.h \
88         silcsocketstream.h \
89         silcfsm.h       \
90         silcfsm_i.h     \
91         silctime.h      \
92         silcmime.h      \
93         silcasync.h     \
94         silcasync_i.h   \
95         silcstack.h     \
96         silcstack_i.h   \
97         silcsnprintf.h
98
99 SILC_EXTRA_DIST = tests
100 #endif SILC_DIST_TOOLKIT
101
102 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
103
104 include $(top_srcdir)/Makefile.defines.in