Imported new UTF-8 routines from my 1.1 tree.
[silc.git] / lib / silcutil / Makefile.am
1 #
2 #  Makefile.am
3 #
4 #  Author: Pekka Riikonen <priikone@silcnet.org>
5 #
6 #  Copyright (C) 2000 - 2004 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         silcutf8.c      \
67         silcstringprep.c
68
69 if SILC_DIST_TOOLKIT
70 include_HEADERS =       \
71         $(SILC_DIST_HEADER) \
72         silcbuffer.h    \
73         silcbuffmt.h    \
74         silcconfig.h    \
75         silchashtable.h \
76         silclog.h       \
77         silcmemory.h    \
78         silcmutex.h     \
79         silcnet.h       \
80         silcschedule.h  \
81         silcsockconn.h  \
82         silcprotocol.h  \
83         silcthread.h    \
84         silclist.h      \
85         silcdlist.h     \
86         silcfileutil.h  \
87         silcutil.h      \
88         silcstrutil.h   \
89         silcvcard.h     \
90         silcapputil.h   \
91         silcutf8.h      \
92         silcstringprep.h        \
93         silctypes.h
94 endif
95
96 EXTRA_DIST = *.h tests
97
98 include $(top_srcdir)/Makefile.defines.in