SUBDIRS=. Tests
-DISTCLEANFILES=Makefile.in
+MAINTAINERCLEANFILES=Makefile.in
INCLUDES= -I$(top_srcdir)/src/include \
@CFLAGS_SimGrid@
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"`
+#
+# - Begin with C:R:A = 0:0:0
+# - Do not update it before public release (keep numbers small)
+#
+# ----------------------------------------------------------------------+
+# + Interface | code of existing | Interface | New version info |
+# | removal/change? | interface changed? | addition? | |
+# +-----------------+--------------------+-----------+------------------+
+# | yes | must be yes ;) | | C++ : 0 : 0 |
+# | no | yes | yes | C : R++ : A++ |
+# | no | yes | no | C : R++ : A |
+# | no | no | yes | C : R : A++ |
+# | no | no | no | C : R : A |
+# +-----------------+--------------------+-----------+------------------+
+
if HAVE_SG
- lib_LIBRARIES= libgrasrl.a libgrassg.a
+ lib_LTLIBRARIES= libgrasrl.la libgrassg.la
else
- lib_LIBRARIES= libgrasrl.a
+ lib_LTLIBRARIES= libgrasrl.la
endif
COMMON_S=\
DataDesc/ddt_parse.yy.c: DataDesc/ddt_parse.yy.l
@LEX@ -o$@ -Pgras_ddt_parse_ $^
-libgrasrl_a_SOURCES= $(COMMON_S) \
+libgrasrl_la_SOURCES= $(COMMON_S) \
Transport/rl_transport.c Transport/transport_plugin_tcp.c Transport/transport_plugin_file.c \
\
Virtu/rl_process.c Virtu/rl_time.c Virtu/rl_conditional.c
+libgrasrl_la_LDFLAGS = $(VERSION_INFO)
if HAVE_SG
- libgrassg_a_SOURCES= $(COMMON_S) \
+ libgrassg_la_SOURCES= $(COMMON_S) \
Transport/sg_transport.c Transport/transport_plugin_sg.c \
\
Virtu/sg_process.c Virtu/sg_time.c Virtu/sg_conditional.c
+ libgrassg_la_LDFLAGS = $(VERSION_INFO)
endif