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