Browse files

Move to old-code

svn path=/old-code/; revision=156241
  • Loading branch information...
1 parent 7050a81 commit f14cae272b0d7f0ea8b490fe92ca31beb88d12fb @migueldeicaza migueldeicaza committed Apr 27, 2010
View
1 acceptance-tests-ifolder/monoskel-lib/AUTHORS
@@ -0,0 +1 @@
+Authors list goes here
View
16 acceptance-tests-ifolder/monoskel-lib/ChangeLog
@@ -0,0 +1,16 @@
+2005-10-19 Everaldo Canuto <everaldo@smios.org>
+
+ * src/Makefile.am: Fix DISTCLEANFILES to properly execute maintainerclean.
+
+2005-09-16 Everaldo Canuto <everaldo@smios.org>
+
+ * src/AssemblyInfo.cs.in: This file is a template in which configure
+ will perform substitutions. We use it to get the VERSION variable
+ replaced by the version we provided in AM_INIT_AUTOMAKE, which will be
+ 0.0.1 for the first time. src/Makefile.am
+ * Makefile.am: Add Makefile.in to DISTCLEANFILES
+ * src/Makefile.am: Add DISTCLEANFILES and fix compiling line
+ * autogen.sh: Make aclocal to runs first in autogen.sh
+ * Makefile.in: Delete this file because is automatically generated
+ by autogen.sh
+
View
7 acceptance-tests-ifolder/monoskel-lib/Makefile.am
@@ -0,0 +1,7 @@
+SUBDIRS = src
+EXTRA_DIST = superstring-sharp.pc.in
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = superstring-sharp.pc
+
+DISTCLEANFILES = config.guess config.sub Makefile.in configure COPYING INSTALL install-sh missing aclocal.m4
View
1 acceptance-tests-ifolder/monoskel-lib/NEWS
@@ -0,0 +1 @@
+Describe the new features here
View
1 acceptance-tests-ifolder/monoskel-lib/README
@@ -0,0 +1 @@
+All that your user has to know goes here
View
84 acceptance-tests-ifolder/monoskel-lib/autogen.sh
@@ -0,0 +1,84 @@
+#! /bin/sh
+
+PROJECT=monoskel-lib
+FILE=src/SuperString.cs
+CONFIGURE=configure.ac
+
+: ${AUTOCONF=autoconf}
+: ${AUTOHEADER=autoheader}
+: ${AUTOMAKE=automake}
+: ${LIBTOOLIZE=libtoolize}
+: ${ACLOCAL=aclocal}
+: ${LIBTOOL=libtool}
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+TEST_TYPE=-f
+aclocalinclude="-I . $ACLOCAL_FLAGS"
+
+DIE=0
+
+($AUTOCONF --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have autoconf installed to compile $PROJECT."
+ echo "Download the appropriate package for your distribution,"
+ echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
+ DIE=1
+}
+
+($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have automake installed to compile $PROJECT."
+ echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
+ echo "(or a newer version if it is available)"
+ DIE=1
+}
+
+(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
+ ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: You must have \`libtool' installed to compile $PROJECT."
+ echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
+ echo "(or a newer version if it is available)"
+ DIE=1
+ }
+}
+
+if test "$DIE" -eq 1; then
+ exit 1
+fi
+
+test $TEST_TYPE $FILE || {
+ echo "You must run this script in the top-level $PROJECT directory"
+ exit 1
+}
+
+if test -z "$*"; then
+ echo "I am going to run ./configure with no arguments - if you wish "
+ echo "to pass any to it, please specify them on the $0 command line."
+fi
+
+case $CC in
+*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
+esac
+
+(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
+ echo "Running $LIBTOOLIZE ..."
+ $LIBTOOLIZE --force --copy
+}
+
+echo "Running $ACLOCAL $aclocalinclude ..."
+$ACLOCAL $aclocalinclude
+
+echo "Running $AUTOMAKE --gnu $am_opt ..."
+$AUTOMAKE --add-missing --gnu $am_opt
+
+echo "Running $AUTOCONF ..."
+$AUTOCONF
+
+echo Running $srcdir/configure $conf_flags "$@" ...
+$srcdir/configure --enable-maintainer-mode $conf_flags "$@" \
+
View
38 acceptance-tests-ifolder/monoskel-lib/configure.ac
@@ -0,0 +1,38 @@
+AC_INIT(README)
+AC_CANONICAL_SYSTEM
+AM_INIT_AUTOMAKE(superstring-sharp, 0.1)
+AM_MAINTAINER_MODE
+
+AC_PROG_INSTALL
+
+dnl pkg-config
+AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+if test "x$PKG_CONFIG" = "xno"; then
+ AC_MSG_ERROR([You need to install pkg-config])
+fi
+
+AC_PATH_PROG(CSC, csc, no)
+AC_PATH_PROG(MCS, mcs, no)
+AC_PATH_PROG(MONO, mono, no)
+
+CS="C#"
+if test "x$CSC" = "xno" -a "x$MCS" = "xno" ; then
+ AC_MSG_ERROR([No $CS compiler found])
+fi
+
+if test "x$MCS" = "xno" ; then
+ MCS=$CSC
+fi
+
+if test "x$MONO" = "xno"; then
+ AC_MSG_ERROR([No mono runtime found])
+fi
+
+AC_SUBST(MCS)
+
+AC_OUTPUT([
+Makefile
+superstring-sharp.pc
+src/Makefile
+src/AssemblyInfo.cs
+])
View
15 acceptance-tests-ifolder/monoskel-lib/src/AssemblyInfo.cs.in
@@ -0,0 +1,15 @@
+//
+// AssemblyInfo.cs.in for project 'superstring-sharp'
+//
+// Authors:
+// Everaldo Canuto (everaldo@simios.org)
+//
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@")]
+[assembly: AssemblyTitle ("superstring-sharp")]
+[assembly: AssemblyDescription ("superstring-sharp - Sample Mono Library")]
+[assembly: AssemblyCopyright ("Copyright (c) 2004 Novell, Inc.")]
+[assembly: AssemblyCompany ("Novell, Inc.")]
View
15 acceptance-tests-ifolder/monoskel-lib/src/Makefile.am
@@ -0,0 +1,15 @@
+superstringdir=$(pkglibdir)
+superstring_SCRIPTS = superstring-sharp.dll
+EXTRA_DIST = $(superstring_sources) $(superstring_sources_in)
+CLEANFILES = superstring-sharp.dll
+DISTCLEANFILES = AssemblyInfo.cs Makefile.in
+
+superstring_sources_in = AssemblyInfo.cs.in
+superstring_generated_sources = $(superstring_sources_in:.in=)
+superstring_sources = SuperString.cs
+
+superstring_build_sources = $(addprefix $(srcdir)/, $(superstring_sources))
+superstring_build_sources += $(superstring_generated_sources)
+
+superstring-sharp.dll: $(superstring_build_sources)
+ $(MCS) -target:library -out:$@ $(superstring_build_sources)
View
8 acceptance-tests-ifolder/monoskel-lib/src/SuperString.cs
@@ -0,0 +1,8 @@
+public class SuperString
+{
+ public static bool Contains(string a, string b)
+ {
+ return a.IndexOf(b) >= 0;
+ }
+}
+
View
11 acceptance-tests-ifolder/monoskel-lib/superstring-sharp.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+Libraries=@libdir@/superstring-sharp/superstring-sharp.dll
+
+Name: superstring-sharp
+Description: superstring-sharp - Sample Mono Library
+Version: @VERSION@
+Libs: -r:@libdir@/superstring-sharp/superstring-sharp.dll
+

0 comments on commit f14cae2

Please sign in to comment.