ea704ecae753d7bfe57d0b5ff71a8333eb9965de
[silc.git] / apps / silcd / Makefile.am
1 #
2 #  Makefile.am
3 #
4 #  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
5 #
6 #  Copyright (C) 2000 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; either version 2 of the License, or
11 #  (at your option) any later version.
12 #
13 #  This program is distributed in the hope that it will be useful,
14 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #  GNU General Public License for more details.
17 #
18
19 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
20
21 sbin_PROGRAMS = silcd
22
23 silcd_SOURCES = \
24         protocol.c \
25         route.c \
26         server.c \
27         packet_send.c \
28         packet_receive.c \
29         idlist.c \
30         command.c \
31         command_reply.c \
32         serverconfig.c \
33         serverid.c \
34         silcd.c \
35         server_version.c
36
37 silcd_DEPENDENCIES = ../lib/libsilc.a
38
39 if SILC_BUILD_GMP
40 LDADD = -L. -L.. -L../lib -lsilc
41 else
42 LDADD = -L. -L.. -L../lib -lsilc -L/usr/lib -L/usr/local/lib -lgmp
43 endif
44
45 EXTRA_DIST = *.h
46
47 INCLUDES = -I. -I.. -I../lib/silccore -I../lib/silccrypt \
48         -I../lib/silcmath -I../lib/silcske -I../lib/silcsim \
49         -I../includes -I../lib/silcutil \
50         -I../lib/silcmath/gmp -I../lib/trq