updates.
[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 DIST_SUBDIRS=win32 epoc beos os2 unix
39
40 if SILC_DIST_TOOLKIT
41 SILC_DIST_SOURCE = stacktrace.c
42 SILC_DIST_HEADER = stacktrace.h
43 else
44 SILC_DIST_SOURCE =
45 SILC_DIST_HEADER =
46 endif
47
48 noinst_LTLIBRARIES = libsilcutil.la
49
50 libsilcutil_la_SOURCES = \
51         $(SILC_DIST_SOURCE) \
52         silcbuffmt.c \
53         silcconfig.c \
54         silclog.c \
55         silcmemory.c \
56         silcnet.c \
57         silcschedule.c \
58         silcfileutil.c \
59         silcstrutil.c \
60         silcutil.c \
61         silchashtable.c \
62         silcsockconn.c  \
63         silcprotocol.c  \
64         silcvcard.c     \
65         silcapputil.c
66
67 if SILC_DIST_TOOLKIT
68 include_HEADERS =       \
69         $(SILC_DIST_HEADER) \
70         silcbuffer.h    \
71         silcbuffmt.h    \
72         silcconfig.h    \
73         silchashtable.h \
74         silclog.h       \
75         silcmemory.h    \
76         silcmutex.h     \
77         silcnet.h       \
78         silcschedule.h  \
79         silcsockconn.h  \
80         silcprotocol.h  \
81         silcthread.h    \
82         silclist.h      \
83         silcdlist.h     \
84         silcfileutil.h  \
85         silcutil.h      \
86         silcstrutil.h   \
87         silcvcard.h     \
88         silcapputil.h   \
89         silctypes.h
90 endif
91
92 EXTRA_DIST = *.h tests
93
94 include $(top_srcdir)/Makefile.defines.in