Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More documentation of -version-info of libtool; reflect last change in configure...
[simgrid.git] / src / gras / Makefile.am
index 28a56a2..2a63cb2 100644 (file)
@@ -1,7 +1,15 @@
 SUBDIRS=. Tests
-AM_CFLAGS=-p -g -finline-functions -ffast-math -funroll-loops\
- -funroll-all-loops -fexpensive-optimizations -O3 -fno-omit-frame-pointer\
- -DGRAS_LOG_STATIC_THRESHOLD=gras_log_priority_infinite -DNDEBUG
+AM_CFLAGS= -DNDEBUG 
+
+# -DNLOG   cuts absolutely all logs at compilation time.
+# -DNDEBUG cuts asserts and logs at "trace" and "debug" levels.
+
+# -g -ffast-math -funroll-loops -O3 -fno-strict-aliasing
+# Those should be added by configure when using gcc
+# fast-math is nasty when using IEEE floating point semantic
+# strict-aliasing breaks my type-punning bad habit.
+
+
 MAINTAINERCLEANFILES=Makefile.in
 INCLUDES= -I$(top_srcdir)/src/include \
           @CFLAGS_SimGrid@
@@ -13,6 +21,19 @@ EXTRA_DIST= ./gras_private.h    \
        Virtu/virtu_sg.h \
        DataDesc/ddt_parse.yy.l DataDesc/ddt_parse.yy.c
 
+#LIBRARY_VERSION= 0:0:0
+#                 | | |
+#          +------+ | +---+
+#          |        |     |
+#       current:revision:age
+#          |        |     |
+#          |        |     +- Increment if interfaces have been added
+#          |        |        Set to zero if interfaces have been removed or
+#          |        |        changed
+#          |        +- Increment if source code has changed
+#          |           Set to zero if current is incremented
+#          +- Increment if interfaces have been added, removed or changed
+
 VERSION_INFO= -release 20040722 -version-info 0:0:0
 # from `info libtool "Updating version info"` 
 # and  `info libtool "Release numbers"` 
@@ -44,6 +65,8 @@ else
  lib_LTLIBRARIES= libgrasrl.la
 endif
 
+#  Core/config.c                               
+
 COMMON_S=\
   \
   Core/module.c      Core/core_interface.h                                      \
@@ -52,7 +75,6 @@ COMMON_S=\
   Core/dict.c        Core/dict_elm.c               Core/dict_cursor.c           \
   Core/set.c                                                                    \
   \
-  Core/config.c                               \
   \
   Transport/transport.c          Transport/transport_private.h   Transport/transport_plugin_buf.c  \
   \