115e0b261087916525bee9efd865974a4b71a5b9
[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         silcmime.c      \
64         silcutf8.c      \
65         silcstringprep.c
66
67 #ifdef 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         silclog_i.h     \
76         silcmemory.h    \
77         silcmutex.h     \
78         silcnet.h       \
79         silcschedule.h  \
80         silcsockconn.h  \
81         silcprotocol.h  \
82         silcthread.h    \
83         silclist.h      \
84         silcdlist.h     \
85         silcfileutil.h  \
86         silcutil.h      \
87         silcstrutil.h   \
88         silcvcard.h     \
89         silcapputil.h   \
90         silcmime.h      \
91         silcutf8.h      \
92         silcstringprep.h        \
93         silctypes.h
94
95 SILC_EXTRA_DIST = tests
96 #endif SILC_DIST_TOOLKIT
97
98 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
99
100 include $(top_srcdir)/Makefile.defines.in