Fixed topic annoucning, server signoff handling, added -D option,
[silc.git] / lib / silcutil / Makefile.am
1 #
2 #  Makefile.am
3 #
4 #  Author: Pekka Riikonen <priikone@silcnet.org>
5 #
6 #  Copyright (C) 2000 - 2002 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 if SILC_DIST_TOOLKIT
39 SILC_DIST_SOURCE = stacktrace.c
40 SILC_DIST_HEADERS = stacktrace.h
41 else
42 SILC_DIST_SOURCE =
43 SILC_DIST_HEADERS =
44 endif
45
46 noinst_LIBRARIES = libsilcutil.a
47
48 libsilcutil_a_SOURCES = \
49         $(SILC_DIST_SOURCE) \
50         silcbuffmt.c \
51         silcconfig.c \
52         silclog.c \
53         silcmemory.c \
54         silcnet.c \
55         silcschedule.c \
56         silcfileutil.c \
57         silcstrutil.c \
58         silcutil.c \
59         silchashtable.c \
60         silcsockconn.c  \
61         silcprotocol.c
62
63 if SILC_DIST_TOOLKIT
64 include_HEADERS =       \
65         $(SILC_DIST_SOURCE) \
66         silcbuffer.h    \
67         silcbuffmt.h    \
68         silcconfig.h    \
69         silchashtable.h \
70         silclog.h       \
71         silcmemory.h    \
72         silcmutex.h     \
73         silcnet.h       \
74         silcschedule.h  \
75         silcsockconn.h  \
76         silcprotocol.h  \
77         silcthread.h    \
78         silclist.h      \
79         silcdlist.h     \
80         silcfileutil.h  \
81         silcutil.h      \
82         silcstrutil.h   \
83         silctypes.h
84 endif
85
86 EXTRA_DIST = *.h
87
88 include $(top_srcdir)/Makefile.defines.in