updates.
[silc.git] / apps / silcd / Makefile.am
index 2ff3d1696abe1523bb07a4d83afaa6eba0c17208..0e3802222371f0c9d9bcf9576f6ba04aae11cfa1 100644 (file)
 
 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
 
-bin_PROGRAMS = silcd
+sbin_PROGRAMS = silcd
 
 silcd_SOURCES = \
        protocol.c \
        route.c \
        server.c \
+       packet_send.c \
+       packet_receive.c \
        idlist.c \
        command.c \
        command_reply.c \
@@ -31,13 +33,17 @@ silcd_SOURCES = \
        serverid.c \
        silcd.c \
        server_version.c
+silcd_DEPENDENCIES = ../lib/libsilc.a
 
+if SILC_BUILD_GMP
 LDADD = -L. -L.. -L../lib -lsilc
-#LDADD = -L. -L.. -L../lib -lsilc -L../lib/silcmath/gmp-3.0.1/lib -lgmp
+else
+LDADD = -L. -L.. -L../lib -lsilc -L/usr/lib -L/usr/local/lib -lgmp
+endif
 
 EXTRA_DIST = *.h
 
 INCLUDES = -I. -I.. -I../lib/silccore -I../lib/silccrypt \
        -I../lib/silcmath -I../lib/silcske -I../lib/silcsim \
-       -I../includes \
-       -I../lib/silcmath/gmp-3.0.1
+       -I../includes -I../lib/silcutil \
+       -I../lib/silcmath/gmp -I../lib/trq