Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Compile sdp.c only if we have found a working libsdp.
[simgrid.git] / src / Makefile.am
index 934770a..b14bdd5 100644 (file)
@@ -160,7 +160,6 @@ SG_SRC=  \
   xbt/context.c                                                              \
   \
   surf/maxmin.c                                                              \
-  surf/sdp.c                                                                 \
   surf/trace_mgr.c                                                           \
   surf/surf.c                                                                \
   surf/surfxml_parse.c                                                       \
@@ -184,6 +183,10 @@ SG_SRC=  \
   \
   gras/Msg/sg_msg.c
 
+if HAVE_SDP
+  SG_SRC+= surf/sdp.c  
+endif
+
 AMOK_SRC= \
   amok/amok_base.c \
   amok/Bandwidth/bandwidth.c amok/Bandwidth/saturate.c \