updates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 28 May 2001 16:00:52 +0000 (16:00 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 28 May 2001 16:00:52 +0000 (16:00 +0000)
Makefile.defines [new file with mode: 0644]
prepare

diff --git a/Makefile.defines b/Makefile.defines
new file mode 100644 (file)
index 0000000..cf01bc6
--- /dev/null
@@ -0,0 +1,68 @@
+# Generated automatically from Makefile.defines.in by configure.
+#
+#  Makefile.defines.in
+#
+#  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
+#
+#  Copyright (C) 2000 - 2001 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.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+
+#
+# This file is intended to include all common compilation defines for the
+# SILC source tree.  All Makefile.ams in the SILC source tree are expected
+# to include this file (Makefile.defines).  Also all external packages
+# that are included in the SILC source tree and that needs the SILC
+# specific complation defines must include this file.
+#
+# Add following to your Makefile.am:
+#
+# include $(top_srcdir)/Makefile.defines
+#
+
+#
+# Generic definitions
+#
+silc_top_srcdir = /home/priikone/silc
+
+#
+# Common libraries that are linked against the created executable
+#
+SILC_COMMON_LIBS =  -lncurses -ldl -L$(silc_top_srcdir)/lib -lsilc
+
+#
+# Installation defines
+#
+silc_etcdir = /etc/silc
+silc_modulesdir = $(prefix)/modules
+silc_helpdir = $(prefix)/help
+silc_docdir = $(prefix)/doc
+silc_logsdir = $(prefix)/logs
+
+#
+# INCLUDE defines
+#
+INCLUDES = $(ADD_INCLUDES) \
+       -I$(srcdir) -I$(top_srcdir) \
+       -I$(silc_top_srcdir) \
+       -I$(silc_top_srcdir)/lib/silccore \
+       -I$(silc_top_srcdir)/lib/silccrypt \
+        -I$(silc_top_srcdir)/lib/silcmath \
+        -I$(silc_top_srcdir)/lib/silcmath/gmp \
+       -I$(silc_top_srcdir)/lib/silcske \
+       -I$(silc_top_srcdir)/lib/silcsim \
+       -I$(silc_top_srcdir)/lib/silcutil \
+       -I$(silc_top_srcdir)/lib/silcclient \
+       -I$(silc_top_srcdir)/lib/contrib \
+        -I$(silc_top_srcdir)/includes \
+        -I$(silc_top_srcdir)/doc \
+       -I$(silc_top_srcdir)/lib/trq
diff --git a/prepare b/prepare
index c7a4584390066d3833b5e9c46f547391c9a741fd..444153ea9d90a05164ff1d81241ef8abc98f7960 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -84,10 +84,13 @@ done
 cd $path
 
 # Replace version string and create configure.in
-sed -e "/SILC_VERSION/s//$dist_version/" configure.in.pre >configure.in2
+echo "# Automatically generated by ./prepare from configure.in.pre. Do not edit!" >configure.in2
+sed -e "/SILC_VERSION/s//$dist_version/" configure.in.pre >>configure.in2
 sed -e "/SILC_PACKAGE/s//silc-"$distribution"/" configure.in2 >configure.in
 rm -f configure.in2
 
+touch Makefile.defines
+
 aclocal
 autoconf
 autoheader