test4.
[silc.git] / lib / silcutil / Makefile.am
1 #
2 #  Makefile.am
3 #
4 #  Author: Pekka Riikonen <priikone@silcnet.org>
5 #
6 #  Copyright (C) 2000 - 2002 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 if SILC_DIST_TOOLKIT
39 SILC_DIST_SOURCE = stacktrace.c
40 SILC_DIST_HEADER = stacktrace.h
41 else
42 SILC_DIST_SOURCE =
43 SILC_DIST_HEADER =
44 endif
45
46 noinst_LTLIBRARIES = libsilcutil.la
47
48 libsilcutil_la_SOURCES = \
49         $(SILC_DIST_SOURCE) \
50         silcbuffmt.c \
51         silcconfig.c \
52         silclog.c \
53         silcmemory.c \
54         silcnet.c \
55         silcschedule.c \
56         silcfileutil.c \
57         silcstrutil.c \
58         silcutil.c \
59         silchashtable.c \
60         silcsockconn.c  \
61         silcprotocol.c  \
62         silcvcard.c     \
63         silcapputil.c
64
65 if SILC_DIST_TOOLKIT
66 include_HEADERS =       \
67         $(SILC_DIST_HEADER) \
68         silcbuffer.h    \
69         silcbuffmt.h    \
70         silcconfig.h    \
71         silchashtable.h \
72         silclog.h       \
73         silcmemory.h    \
74         silcmutex.h     \
75         silcnet.h       \
76         silcschedule.h  \
77         silcsockconn.h  \
78         silcprotocol.h  \
79         silcthread.h    \
80         silclist.h      \
81         silcdlist.h     \
82         silcfileutil.h  \
83         silcutil.h      \
84         silcstrutil.h   \
85         silcvcard.h     \
86         silcapputil.h   \
87         silctypes.h
88 endif
89
90 EXTRA_DIST = *.h
91
92 include $(top_srcdir)/Makefile.defines.in