Skip to content

Commit

Permalink
Added basic autotools scripts including src, tests and include direct…
Browse files Browse the repository at this point in the history
…ories
  • Loading branch information
LA-Toth committed Jan 22, 2012
1 parent 315a012 commit 45d65d1
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
@@ -0,0 +1 @@
SUBDIRS = src include
7 changes: 7 additions & 0 deletions autogen.sh
@@ -0,0 +1,7 @@
#!/bin/bash

[[ -n "`which libtoolize`" ]] && libtoolize -f || glibtoolize -f
aclocal
autoheader
autoconf
automake --add-missing --foreign
34 changes: 34 additions & 0 deletions 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
)
Empty file added include/Makefile.am
Empty file.
62 changes: 62 additions & 0 deletions 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
Empty file added src/Makefile.am
Empty file.
Empty file added tests/Makefile.am
Empty file.

0 comments on commit 45d65d1

Please sign in to comment.