Permalink
Browse files

Added basic autotools scripts including src, tests and include direct…

…ories
  • Loading branch information...
1 parent 315a012 commit 45d65d1676ae4abc1075446018af7dc7cbe856bb @LA-Toth committed Jan 22, 2012
Showing with 104 additions and 0 deletions.
  1. +1 −0 Makefile.am
  2. +7 −0 autogen.sh
  3. +34 −0 configure.in
  4. 0 include/Makefile.am
  5. +62 −0 paulusconfig.h.in
  6. 0 src/Makefile.am
  7. 0 tests/Makefile.am
View
1 Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = src include
View
7 autogen.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+[[ -n "`which libtoolize`" ]] && libtoolize -f || glibtoolize -f
+aclocal
+autoheader
+autoconf
+automake --add-missing --foreign
View
34 configure.in
@@ -0,0 +1,34 @@
+AC_INIT(paulus, [0,1],)
+
+PACKAGE=paulus
+VERSION=0.1.0
+
+# We want an absolute path to the source-dir.
+case "$srcdir" in
+ /*)
+ top_srcdir=$srcdir
+ ;;
+ *)
+ oldsrcdir="$srcdir"
+ top_srcdir="`cd \"$srcdir\"; pwd`"
+ ;;
+esac
+
+AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
+LT_INIT
+
+CXXFLAGS="${CXXFLAGS:+${CXXFLAGS} } -Werror -W -Wall -Wno-error=unused-parameter"
+
+CPPFLAGS="-I$top_srcdir/include -I$top_srcdir"
+
+AC_CONFIG_MACRO_DIR([m4])
+
+AM_CONFIG_HEADER(paulusconfig.h)
+AC_PROG_CXX
+
+AC_OUTPUT(
+Makefile
+src/Makefile
+tests/Makefile
+include/Makefile
+)
View
0 include/Makefile.am
No changes.
View
62 paulusconfig.h.in
@@ -0,0 +1,62 @@
+/* paulusconfig.h.in. Generated from configure.in by autoheader. */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Version number of package */
+#undef VERSION
View
0 src/Makefile.am
No changes.
View
0 tests/Makefile.am
No changes.

0 comments on commit 45d65d1

Please sign in to comment.