Merged silc_1_0_branch to trunk.
[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_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 #ifdef SILC_DIST_TOOLKIT
41 SILC_DIST_SOURCE = stacktrace.c
42 SILC_DIST_HEADER = stacktrace.h
43 #endif SILC_DIST_TOOLKIT
44
45 noinst_LTLIBRARIES = libsilcutil.la
46
47 libsilcutil_la_SOURCES = \
48         $(SILC_DIST_SOURCE) \
49         silcbuffmt.c \
50         silcconfig.c \
51         silclog.c \
52         silcmemory.c \
53         silcnet.c \
54         silcschedule.c \
55         silcfileutil.c \
56         silcstrutil.c \
57         silcutil.c \
58         silchashtable.c \
59         silcsockconn.c  \
60         silcprotocol.c  \
61         silcvcard.c     \
62         silcapputil.c   \
63         silcutf8.c      \
64         silcstringprep.c
65
66 #ifdef SILC_DIST_TOOLKIT
67 include_HEADERS =       \
68         $(SILC_DIST_HEADER) \
69         silcbuffer.h    \
70         silcbuffmt.h    \
71         silcconfig.h    \
72         silchashtable.h \
73         silclog.h       \
74         silclog_i.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         silcutf8.h      \
90         silcstringprep.h        \
91         silctypes.h
92
93 SILC_EXTRA_DIST = tests
94 #endif SILC_DIST_TOOLKIT
95
96 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
97
98 include $(top_srcdir)/Makefile.defines.in