Added SILC Bit Operations API.
[crypto.git] / lib / silcutil / Makefile.ad
1 #
2 #  Makefile.ad
3 #
4 #  Author: Pekka Riikonen <priikone@silcnet.org>
5 #
6 #  Copyright (C) 2000 - 2007 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_SYMBIAN
24 SUBDIRS=symbian
25 else
26 SUBDIRS=unix
27 endif
28 endif
29
30 #ifdef SILC_DIST_TOOLKIT
31 DIST_SUBDIRS=win32 symbian unix
32 #else !SILC_DIST_TOOLKIT
33 #ifdef SILC_DIST_CLIENT
34 DIST_SUBDIRS=win32 unix
35 #else !SILC_DIST_CLIENT
36 #ifdef SILC_DIST_SERVER
37 DIST_SUBDIRS=unix
38 #endif SILC_DIST_SERVER
39 #endif SILC_DIST_CLIENT
40 #endif SILC_DIST_TOOLKIT
41
42 #ifdef SILC_DIST_TOOLKIT
43 SILC_DIST_SOURCE = stacktrace.c
44 SILC_DIST_HEADER = stacktrace.h
45 #endif SILC_DIST_TOOLKIT
46
47 noinst_LTLIBRARIES = libsilcutil.la
48
49 libsilcutil_la_SOURCES = \
50         $(SILC_DIST_SOURCE) \
51         silcbuffmt.c    \
52         silcconfig.c    \
53         silclog.c       \
54         silcmemory.c    \
55         silcnet.c       \
56         silcschedule.c  \
57         silcfileutil.c  \
58         silcstrutil.c   \
59         silcutil.c      \
60         silchashtable.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         silctimer.c     \
70         silcmime.c      \
71         silcstack.c     \
72         silcsnprintf.c  \
73         silcthread.c    \
74         silcdll.c       \
75         silcenv.c       \
76         silcbase64.c    \
77         silcbitops.c
78
79 #ifdef SILC_DIST_TOOLKIT
80 include_HEADERS =       \
81         $(SILC_DIST_HEADER) \
82         silcbuffer.h    \
83         silcbuffmt.h    \
84         silcconfig.h    \
85         silchashtable.h \
86         silclog.h       \
87         silclog_i.h     \
88         silcmemory.h    \
89         silcmutex.h     \
90         silcatomic.h    \
91         silccond.h      \
92         silcnet.h       \
93         silcnet_i.h     \
94         silcschedule.h  \
95         silcschedule_i.h \
96         silcthread.h    \
97         silcthread_i.h  \
98         silclist.h      \
99         silcdlist.h     \
100         silcfileutil.h  \
101         silcutil.h      \
102         silcstrutil.h   \
103         silcutf8.h      \
104         silcstringprep.h \
105         silctypes.h     \
106         silcstream.h    \
107         silcfdstream.h \
108         silcsocketstream.h \
109         silcsocketstream_i.h \
110         silcfsm.h       \
111         silcfsm_i.h     \
112         silctime.h      \
113         silctimer.h     \
114         silctimer_i.h   \
115         silcmime.h      \
116         silcmime_i.h    \
117         silcasync.h     \
118         silcasync_i.h   \
119         silcstack.h     \
120         silcstack_i.h   \
121         silcsnprintf.h  \
122         silcdll.h       \
123         silcenv.h       \
124         silcbase64.h    \
125         silcbitops.h
126
127 SILC_EXTRA_DIST = tests
128 #endif SILC_DIST_TOOLKIT
129
130 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
131
132 include $(top_srcdir)/Makefile.defines.in