Removed references to lib/silcutil/epoc, fixed a bug in configure.ad.
[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_BEOS
24 SUBDIRS=beos
25 else
26 if SILC_OS2
27 SUBDIRS=os2
28 else
29 SUBDIRS=unix
30 endif
31 endif
32 endif
33
34 DIST_SUBDIRS=win32 beos os2 unix
35
36 #ifdef SILC_DIST_TOOLKIT
37 SILC_DIST_SOURCE = stacktrace.c
38 SILC_DIST_HEADER = stacktrace.h
39 #endif SILC_DIST_TOOLKIT
40
41 noinst_LTLIBRARIES = libsilcutil.la
42
43 libsilcutil_la_SOURCES = \
44         $(SILC_DIST_SOURCE) \
45         silcbuffmt.c \
46         silcconfig.c \
47         silclog.c \
48         silcmemory.c \
49         silcnet.c \
50         silcschedule.c \
51         silcfileutil.c \
52         silcstrutil.c \
53         silcutil.c \
54         silchashtable.c \
55         silcsockconn.c  \
56         silcprotocol.c  \
57         silcvcard.c     \
58         silcapputil.c   \
59         silcmime.c      \
60         silcutf8.c      \
61         silcstringprep.c
62
63 #ifdef SILC_DIST_TOOLKIT
64 include_HEADERS =       \
65         $(SILC_DIST_HEADER) \
66         silcbuffer.h    \
67         silcbuffmt.h    \
68         silcconfig.h    \
69         silchashtable.h \
70         silclog.h       \
71         silclog_i.h     \
72         silcmemory.h    \
73         silcmutex.h     \
74         silcnet.h       \
75         silcschedule.h  \
76         silcsockconn.h  \
77         silcprotocol.h  \
78         silcthread.h    \
79         silclist.h      \
80         silcdlist.h     \
81         silcfileutil.h  \
82         silcutil.h      \
83         silcstrutil.h   \
84         silcvcard.h     \
85         silcapputil.h   \
86         silcmime.h      \
87         silcutf8.h      \
88         silcstringprep.h        \
89         silctypes.h
90
91 SILC_EXTRA_DIST = tests
92 #endif SILC_DIST_TOOLKIT
93
94 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
95
96 include $(top_srcdir)/Makefile.defines.in