Merged silc_1_0_branch to trunk.
[silc.git] / lib / contrib / Makefile.ad
1 #
2 #  Makefile.am
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 noinst_LTLIBRARIES = libcontrib.la
21
22 if HAVE_REGEX
23 REGEX =
24 else
25 REGEX = regexpr.c
26 endif
27
28 STRINGPREP = nfkc.c rfc3454.c stringprep.c
29
30 if SILC_WIN32
31 libcontrib_la_SOURCES = getopti.c $(STRINGPREP)
32 else
33 libcontrib_la_SOURCES = getopti.c $(STRINGPREP) $(REGEX)
34 endif
35
36 #ifdef SILC_DIST_TOOLKIT
37 if HAVE_REGEX
38 REGEXH =
39 else
40 REGEXH = regexpr.h
41 endif
42 include_HEADERS =       \
43         $(REGEXH)       \
44         getopti.h       \
45         gunicomp.h      \
46         gunidecomp.h    \
47         stringprep.h
48 #endif SILC_DIST_TOOLKIT
49
50 EXTRA_DIST = *.c *.h
51
52 include $(top_srcdir)/Makefile.defines.in