X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ebd3066b86ef358bce0557c175febcd8ed6fdefc..27e45c4d7ab7139603ac3f62de10f44d1bb071a0:/src/gras/Makefile.am diff --git a/src/gras/Makefile.am b/src/gras/Makefile.am index b479b2b0d0..2a63cb2d93 100644 --- a/src/gras/Makefile.am +++ b/src/gras/Makefile.am @@ -1,4 +1,15 @@ SUBDIRS=. Tests +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@ @@ -10,10 +21,26 @@ EXTRA_DIST= ./gras_private.h \ Virtu/virtu_sg.h \ DataDesc/ddt_parse.yy.l DataDesc/ddt_parse.yy.c -VERSION_INFO= -version-info 1:0:0 -# from `info libtool "Updating version info"` +#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"` # -# - Begin with C:R:A = 0:0:0 +# A) For stable library (interface wise), you should use --version-info: +# +# - Begin with C:R:A = 0:0:0 (ie here, VERSION_INFO= -version-info 0:0:0) # - Do not update it before public release (keep numbers small) # # ----------------------------------------------------------------------+ @@ -26,6 +53,11 @@ VERSION_INFO= -version-info 1:0:0 # | no | no | yes | C : R : A++ | # | no | no | no | C : R : A | # +-----------------+--------------------+-----------+------------------+ +# +# B) For rapidely changing library, you should go for the -release flag +# +# It modifies the library name, and you thus cannot say that a library +# using this trick is ready for a "stable" release (say, in Debian). if HAVE_SG lib_LTLIBRARIES= libgrasrl.la libgrassg.la @@ -33,6 +65,8 @@ else lib_LTLIBRARIES= libgrasrl.la endif +# Core/config.c + COMMON_S=\ \ Core/module.c Core/core_interface.h \ @@ -41,9 +75,8 @@ 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.c Transport/transport_private.h Transport/transport_plugin_buf.c \ \ DataDesc/ddt_create.c \ DataDesc/ddt_convert.c DataDesc/ddt_exchange.c \