b91e5c5d1b60515344246704c65e6f22caf95376
[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 noinst_LIBRARIES = libsilcutil.a
39
40 libsilcutil_a_SOURCES = \
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         silcsockconn.c  \
52         silcprotocol.c  \
53         stacktrace.c
54
55 if SILC_DIST_TOOLKIT
56 include_HEADERS =       \
57         silcbuffer.h    \
58         silcbuffmt.h    \
59         silcconfig.h    \
60         silchashtable.h \
61         silclog.h       \
62         silcmemory.h    \
63         silcmutex.h     \
64         silcnet.h       \
65         silcschedule.h  \
66         silcsockconn.h  \
67         silcprotocol.h  \
68         silcthread.h    \
69         silclist.h      \
70         silcdlist.h     \
71         silcfileutil.h  \
72         silcutil.h      \
73         silcstrutil.h   \
74         silctypes.h
75 endif
76
77 EXTRA_DIST = *.h
78
79 include $(top_srcdir)/Makefile.defines.in