Improved UTF-8 encoding and decoding, improved toolkit doc,
[silc.git] / lib / silcutil / Makefile.am
index 161f04712922c77a157843affe375efab809d323..93979c86d113930d90d8883165d79237eef299f8 100644 (file)
@@ -1,14 +1,13 @@
 #
 #  Makefile.am
 #
-#  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
+#  Author: Pekka Riikonen <priikone@silcnet.org>
 #
-#  Copyright (C) 2000 Pekka Riikonen
+#  Copyright (C) 2000 - 2002 Pekka Riikonen
 #
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
+#  the Free Software Foundation; version 2 of the License.
 #
 #  This program is distributed in the hope that it will be useful,
 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,27 +20,51 @@ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
 if SILC_WIN32
 SUBDIRS=win32
 else
+if SILC_EPOC
+SUBDIRS=epoc
+else
+if SILC_BEOS
+SUBDIRS=beos
+else
+if SILC_OS2
+SUBDIRS=os2
+else
 SUBDIRS=unix
 endif
+endif
+endif
+endif
+
+if SILC_DIST_TOOLKIT
+SILC_DIST_SOURCE = stacktrace.c
+SILC_DIST_HEADER = stacktrace.h
+else
+SILC_DIST_SOURCE =
+SILC_DIST_HEADER =
+endif
 
 noinst_LIBRARIES = libsilcutil.a
 
 libsilcutil_a_SOURCES = \
+       $(SILC_DIST_SOURCE) \
        silcbuffmt.c \
        silcconfig.c \
        silclog.c \
        silcmemory.c \
        silcnet.c \
-       silctask.c \
        silcschedule.c \
+       silcfileutil.c \
+       silcstrutil.c \
        silcutil.c \
        silchashtable.c \
-       silcsockconn.c
+       silcsockconn.c  \
+       silcprotocol.c
 
+if SILC_DIST_TOOLKIT
 include_HEADERS =      \
+       $(SILC_DIST_HEADER) \
        silcbuffer.h    \
        silcbuffmt.h    \
-       silcbufutil.h   \
        silcconfig.h    \
        silchashtable.h \
        silclog.h       \
@@ -50,9 +73,15 @@ include_HEADERS =    \
        silcnet.h       \
        silcschedule.h  \
        silcsockconn.h  \
-       silctask.h      \
+       silcprotocol.h  \
        silcthread.h    \
-       silcutil.h
+       silclist.h      \
+       silcdlist.h     \
+       silcfileutil.h  \
+       silcutil.h      \
+       silcstrutil.h   \
+       silctypes.h
+endif
 
 EXTRA_DIST = *.h