76c73df80dafbe7b174dd7168866ff13ad87c8b1
[silc.git] / lib / silcutil / Makefile.ad
1 #
2 #  Makefile.ad
3 #
4 #  Author: Pekka Riikonen <priikone@silcnet.org>
5 #
6 #  Copyright (C) 2000 - 2005 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_EPOC
24 SUBDIRS=epoc
25 else
26 if SILC_BEOS
27 SUBDIRS=beos
28 else
29 if SILC_OS2
30 SUBDIRS=os2
31 else
32 SUBDIRS=unix
33 endif
34 endif
35 endif
36 endif
37
38 DIST_SUBDIRS=win32 epoc beos os2 unix
39
40 #ifdef SILC_DIST_TOOLKIT
41 SILC_DIST_SOURCE = stacktrace.c
42 SILC_DIST_HEADER = stacktrace.h
43 #endif SILC_DIST_TOOLKIT
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
70 #ifdef SILC_DIST_TOOLKIT
71 include_HEADERS =       \
72         $(SILC_DIST_HEADER) \
73         silcbuffer.h    \
74         silcbuffmt.h    \
75         silcconfig.h    \
76         silchashtable.h \
77         silclog.h       \
78         silclog_i.h     \
79         silcmemory.h    \
80         silcmutex.h     \
81         silcnet.h       \
82         silcschedule.h  \
83         silcschedule_i.h \
84         silcthread.h    \
85         silclist.h      \
86         silcdlist.h     \
87         silcfileutil.h  \
88         silcutil.h      \
89         silcstrutil.h   \
90         silcutf8.h      \
91         silcstringprep.h \
92         silctypes.h     \
93         silcstream.h    \
94         silcfdstream.h \
95         silcsocketstream.h \
96         silcfsm.h       \
97         silcfsm_i.h     \
98         silctime.h      \
99         silcmime.h      \
100         silcasync.h     \
101         silcasync_i.h   \
102         silcstack.h     \
103         silcstack_i.h
104
105 SILC_EXTRA_DIST = tests
106 #endif SILC_DIST_TOOLKIT
107
108 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
109
110 include $(top_srcdir)/Makefile.defines.in