#
# Author: Pekka Riikonen <priikone@silcnet.org>
#
-# Copyright (C) 2000 - 2005 Pekka Riikonen
+# Copyright (C) 2000 - 2008 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
symbian \
CHANGES CREDITS
+aclocaldir = $(datadir)/aclocal
+aclocal_DATA = srt.m4
+
include $(top_srcdir)/Makefile.defines.in
#
# INCLUDE defines
#
-INCLUDES = $(ADD_INCLUDES) $(SILC_CFLAGS) -DHAVE_SILCDEFS_H \
+INCLUDES = $(ADD_INCLUDES) $(SILC_CFLAGS) -DHAVE_RUNTIMEDEFS_H \
-I$(srcdir) -I$(top_srcdir) \
-I$(silc_top_srcdir) $(SILC_LIB_INCLUDES) \
-I$(silc_top_srcdir)/includes \
o mmap API
+ o Multicast support.
+
o silc_file_readfile and silc_file_writefile should perhaps do the thing
with mmap, as it's probably a bit faster.
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE
AC_PREREQ(2.52)
-AC_CONFIG_HEADERS(silcdefs.h)
+AC_CONFIG_HEADERS(runtimedefs.h)
AC_PROG_INSTALL
AC_PROG_MAKE_SET
EXTRA_DIST = srt.pc.in
-#srt-install:
-# -mkdir -p $(docdir)/toolkit/
-# -$(INSTALL_DATA) $(top_srcdir)/doc/toolkit/* $(docdir)/toolkit
-# -$(INSTALL_DATA) $(top_srcdir)/lib/doc/*.gif $(docdir)/toolkit
-# -cp -R $(top_srcdir)/tutorial $(docdir)
-
-#install-data-hook: \
-# srt-install
-
include $(top_srcdir)/Makefile.defines.in
silcthreadqueue.h \
silcrand.h \
silcglobal.h \
- silcruntime.h
+ silcruntime.h \
+ silcdir.h
SILC_EXTRA_DIST =
#include <silcsymbian.h>
#endif
-#if defined(HAVE_SILCDEFS_H)
+#ifndef DLLAPI
+#define DLLAPI
+#endif
+
+/* We except all systems to have these include files */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#if defined(HAVE_RUNTIMEDEFS_H)
/* Automatically generated configuration header. These are included only
when the SILC Runtime Toolkit itself is compiled. */
#ifndef SILC_SYMBIAN
-#include "silcdefs.h"
+#include "runtimedefs.h"
#else
#include "../../symbian/silcdefs.h"
#endif /* SILC_SYMBIAN */
#define SILC_ALIGNMENT SILC_SIZEOF_VOID_P
#endif /* SILC_ALIGNMENT */
-#endif /* HAVE_SILCDEFS_H */
+#endif /* HAVE_RUNTIMEDEFS_H */
+
+/* Feature defines */
+#ifdef __SILC_HAVE_PTHREAD
+#undef SILC_THREADS
+#define SILC_THREADS 1
+#endif /* __SILC_HAVE_PTHREAD */
+
+#ifdef __SILC_ENABLE_DEBUG
+#undef SILC_DEBUG
+#define SILC_DEBUG 1
+#endif /* __SILC_ENABLE_DEBUG */
/* SILC Runtime Toolkit includes */
#include <silcerrno.h>
\r
SYSTEMINCLUDE \epoc32\include \epoc32\include\libc \epoc32\include\variant .\r
CAPABILITY NONE\r
-MACRO HAVE_SILCDEFS_H\r
+MACRO HAVE_RUNTIMEDEFS_H\r
\r
SOURCEPATH ..\lib\contrib\r
SOURCE getopti.c nfkc.c regexpr.c rfc3454.c stringprep.c\r
\r
SYSTEMINCLUDE \epoc32\include \epoc32\include\libc \epoc32\include\variant .\r
CAPABILITY NONE\r
-MACRO HAVE_SILCDEFS_H\r
+MACRO HAVE_RUNTIMEDEFS_H\r
\r
SOURCEPATH ..\lib\contrib\r
SOURCE getopti.c nfkc.c regexpr.c rfc3454.c stringprep.c\r