Commit e921625e authored by Roland Levillain's avatar Roland Levillain
Browse files

Autoconfiscate the project and automate the tests.

- configure.ac: New file.
- Makefile.am, build-aux/Makefile.am, metalic/Makefile.am,
- metalic/mlc/Makefile.am, metalic/tests/Makefile.am: New file.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@411 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 14a17fbf
2006-02-16 Roland Levillain <roland@lrde.epita.fr>
Autoconfiscate the project and automate the tests.
* configure.ac: New file.
* Makefile.am, build-aux/Makefile.am, metalic/Makefile.am,
* metalic/mlc/Makefile.am, metalic/tests/Makefile.am: New file.
2006-02-14 Roland Levillain <roland@lrde.epita.fr>
Add TODO.
......
## Process this file through Automake to produce Makefile.in -*- Makefile -*-
SUBDIRS = build-aux metalic
## Process this file through Automake to produce Makefile.in -*- Makefile -*-
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.59])
## ---------------- ##
## Package set up. ##
## ---------------- ##
AC_INIT([Olena], [1.0], [olena@lrde.epita.fr], [olena])
# Auxiliary files.
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_FILES([build-aux/Makefile])
# Automake.
# 1.9.4 because of changelog vs. ChangeLog on Darwin.
AM_INIT_AUTOMAKE([1.9.4 foreign check-news dist-bzip2 -Wall])
## --------------------- ##
## C++ Compiler Set up. ##
## --------------------- ##
# Look for a C++ compiler.
AC_LANG([C++])
AC_PROG_CXX
# Speed the compilation up.
if test "$GXX" = yes; then
CXXFLAGS="$CXXFLAGS -pipe"
fi
## ------- ##
## Tests. ##
## ------- ##
# Students should create their test suite in tests/. Add the needed
# configure options here.
AC_CONFIG_FILES([metalic/tests/Makefile])
## --------------- ##
## Configuration. ##
## --------------- ##
# Ask for config.h.
AM_CONFIG_HEADER([config.h])
# Ask for the Makefile creations.
AC_CONFIG_FILES([
Makefile
metalic/Makefile
metalic/mlc/Makefile
])
# Checks for library functions.
AC_OUTPUT
## Process this file through Automake to create Makefile.in -*- Makefile -*-
SUBDIRS = mlc tests
## Process this file through Automake to create Makefile.in -*- Makefile -*-
mlcdir = $(includedir)/mlc
nobase_mlc_HEADERS = \
bool.hh \
cmp.hh \
comma.hh \
elt.hh \
flags.hh \
if.hh \
implies.hh \
is_a.hh \
logic.hh \
pair.hh \
properties.hh \
to_string.hh \
type.hh \
typedef.hh \
uint.hh \
valist.hh \
value.hh \
wrap.hh
## Process this file through Automake to create Makefile.in -*- Makefile -*-
AM_CPPFLAGS = -I$(top_srcdir)/metalic
# FIXME: Add
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_OPTIMIZE) -ggdb
#
# when oln.m4 is available in the distribution.
check_PROGRAMS = \
if \
is_a \
properties \
typedef
if_SOURCES = if.cc
is_a_SOURCES = is_a.cc
properties_SOURCES = properties.cc
typedef_SOURCES = typedef.cc
TESTS = $(check_PROGRAMS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment