Merged silc_1_0_branch to trunk.
[silc.git] / lib / contrib / Makefile.am
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_GETOPT_LONG
23 GETOPT =
24 else
25 GETOPT = getopt.c getopt1.c
26 endif
27
28 if HAVE_REGEX
29 REGEX =
30 else
31 REGEX = regex.c
32 endif
33
34 STRINGPREP = nfkc.c rfc3454.c stringprep.c
35
36 if SILC_WIN32
37 libcontrib_la_SOURCES = $(STRINGPREP)
38 else
39 libcontrib_la_SOURCES = $(STRINGPREP) $(GETOPT) $(REGEX)
40 endif
41
42 EXTRA_DIST = *.c *.h
43
44 include $(top_srcdir)/Makefile.defines.in