Initial code commit for Toolkit 1.1.
[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         silcvcard.c     \
60         silcapputil.c   \
61         silcutf8.c      \
62         silcstringprep.c \
63         silcstream.c    \
64         silcfdstream.c  \
65         silcsocketstream.c \
66         silcfsm.c       \
67         silcasync.c     \
68         silctime.c      \
69         silcmime.c      \
70         silcstack.c
71
72 #ifdef SILC_DIST_TOOLKIT
73 include_HEADERS =       \
74         $(SILC_DIST_HEADER) \
75         silcbuffer.h    \
76         silcbuffmt.h    \
77         silcconfig.h    \
78         silchashtable.h \
79         silclog.h       \
80         silclog_i.h     \
81         silcmemory.h    \
82         silcmutex.h     \
83         silcnet.h       \
84         silcschedule.h  \
85         silcschedule_i.h \
86         silcthread.h    \
87         silclist.h      \
88         silcdlist.h     \
89         silcfileutil.h  \
90         silcutil.h      \
91         silcstrutil.h   \
92         silcvcard.h     \
93         silcapputil.h   \
94         silcutf8.h      \
95         silcstringprep.h \
96         silctypes.h     \
97         silcstream.h    \
98         silcfdstream.h \
99         silcsocketstream.h \
100         silcfsm.h       \
101         silcfsm_i.h     \
102         silctime.h      \
103         silcmime.h      \
104         silcasync.h     \
105         silcasync_i.h   \
106         silcstack.h     \
107         silcstack_i.h
108
109 SILC_EXTRA_DIST = tests
110 #endif SILC_DIST_TOOLKIT
111
112 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
113
114 include $(top_srcdir)/Makefile.defines.in