Added silc_buffer_sfree and reorganized silcbuffer.h.
[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         silcthread.c    \
73         silcdll.c       \
74         silcenv.c       \
75         silcbase64.c
76
77 #ifdef SILC_DIST_TOOLKIT
78 include_HEADERS =       \
79         $(SILC_DIST_HEADER) \
80         silcbuffer.h    \
81         silcbuffmt.h    \
82         silcconfig.h    \
83         silchashtable.h \
84         silclog.h       \
85         silclog_i.h     \
86         silcmemory.h    \
87         silcmutex.h     \
88         silcatomic.h    \
89         silccond.h      \
90         silcnet.h       \
91         silcnet_i.h     \
92         silcschedule.h  \
93         silcschedule_i.h \
94         silcthread.h    \
95         silclist.h      \
96         silcdlist.h     \
97         silcfileutil.h  \
98         silcutil.h      \
99         silcstrutil.h   \
100         silcutf8.h      \
101         silcstringprep.h \
102         silctypes.h     \
103         silcstream.h    \
104         silcfdstream.h \
105         silcsocketstream.h \
106         silcsocketstream_i.h \
107         silcfsm.h       \
108         silcfsm_i.h     \
109         silctime.h      \
110         silcmime.h      \
111         silcmime_i.h    \
112         silcasync.h     \
113         silcasync_i.h   \
114         silcstack.h     \
115         silcstack_i.h   \
116         silcsnprintf.h  \
117         silcdll.h       \
118         silcenv.h       \
119         silcbase64.h
120
121 SILC_EXTRA_DIST = tests
122 #endif SILC_DIST_TOOLKIT
123
124 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
125
126 include $(top_srcdir)/Makefile.defines.in