Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
38e230f5292266bf1185568e9ac2cbb732b63fb0
[simgrid.git] / src / gras / Makefile.am
1 SUBDIRS=. Tests
2 DISTCLEANFILES=Makefile.in
3 INCLUDES= -I$(top_srcdir)/src/include \
4           @CFLAGS_XML@ @CFLAGS_SimGrid@
5 EXTRA_DIST=                 \
6         gras_private.h      \
7         Core/dict_private.h 
8 #       DataDesc/parse.yy.l      
9
10
11 if HAVE_SG
12  lib_LIBRARIES= libgrasrl.a libgrassg.a
13 else
14  lib_LIBRARIES= libgrasrl.a
15 endif
16
17 COMMON_S=\
18   \
19   Core/module.c      Core/core_interface.h                                      \
20   Core/log.c         Core/log_default_appender.c   Core/error.c                 \
21   Core/dynar.c                                                                  \
22   Core/dict.c        Core/dict_elm.c               Core/dict_cursor.c           \
23   Core/set.c                                                                    \
24   \
25   Core/config.c                               \
26   \
27   Transport/transport.c          Transport/transport_private.h  \
28   \
29   DataDesc/ddt_create.c          \
30   DataDesc/ddt_convert.c         DataDesc/ddt_exchange.c     \
31   DataDesc/cbps.c                DataDesc/datadesc.c         \
32   DataDesc/datadesc_interface.h  DataDesc/datadesc_private.h \
33   \
34   Msg/msg.c   Msg/msg_interface.h   Msg/msg_private.h \
35   \
36   Virtu/process.c
37
38 # DataDesc/ddt_declare.c 
39
40 DataDesc/parse.yy.c: DataDesc/parse.yy.l
41         flex -o$@ -Pgras_ddt_ $^
42
43 libgrasrl_a_SOURCES= $(COMMON_S) \
44   Transport/rl_transport.c  Transport/transport_plugin_tcp.c  Transport/transport_plugin_file.c      \
45   \
46   Virtu/rl_process.c        Virtu/rl_time.c                   Virtu/rl_conditional.c
47
48 if HAVE_SG
49   libgrassg_a_SOURCES= $(COMMON_S) \
50     Transport/sg_transport.c  Transport/transport_plugin_sg.c             \
51     \
52     Virtu/sg_process.c        Virtu/sg_time.c                   Virtu/sg_conditional.c
53 endif