Mon Apr 18 20:06:24 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
+ * Autodist 1.1.
+
* All 'local' variables must be at the start of function for
compatibility.
#
ad_make_configure_ac ./configure.ad
+#
+# Process all files with .ad suffix for distribution processing
+#
+ad_process_ads
+
#
# Generate configure script
#
#
ad_make_makefile_ins
-#
-# Process all files with .ad suffix for distribution processing
-#
-ad_process_ads
-
#
# Create autodist.dist
#
If you need processed files during configuration or compilation then they
need to have '.ad' suffix.
+Note that, the distdef format used in these files must be the non-source
+format.
+
@menu
* Distdefines:: Using distdefs in files
@end menu
exclude README.* ltmain.sh
noprocess apps/autodist/doc apps/autodist/tests
-
define SILC_DIST_SIM
define SILC_DIST_MPI
define SILC_DIST_MATH
+define SILC_DIST_SFTP
define SILC_DIST_COMPILER
license-header distdir/GPL-header distdir/BSD-header
inherit common
define SILC_DIST_SERVER
+undef SILC_DIST_SFTP
post-dist-hook distdir/post-dist
#ifdef SILC_DIST_MATH
silcmath \
#endif SILC_DIST_MATH
+#ifdef SILC_DIST_SFTP
+ silcsftp \
+#endif SILC_DIST_SFTP
silcske \
- silcutil \
- silcsftp
+ silcutil
SILCLIB = libsilc.a
SILC_LIB_INCLUDES="$SILC_LIB_INCLUDES -I$SILC_TOP_SRCDIR/lib/silcmath/mpi"
#endif SILC_DIST_MPI
#endif SILC_DIST_MATH
-SILC_LIB_INCLUDES="$SILC_LIB_INCLUDES -I$SILC_TOP_SRCDIR/lib/silcske"
SILC_LIB_INCLUDES="$SILC_LIB_INCLUDES -I$SILC_TOP_SRCDIR/lib/silcutil"
+SILC_LIB_INCLUDES="$SILC_LIB_INCLUDES -I$SILC_TOP_SRCDIR/lib/silcske"
+#ifdef SILC_DIST_SFTP
SILC_LIB_INCLUDES="$SILC_LIB_INCLUDES -I$SILC_TOP_SRCDIR/lib/silcsftp"
+#endif SILC_DIST_SFTP
#ifdef SILC_DIST_SIM
SILC_LIB_INCLUDES="$SILC_LIB_INCLUDES -I$SILC_TOP_SRCDIR/lib/silcsim"
#endif SILC_DIST_SIM