]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/Makefile.am
Fix a small problem where multiplayer support was added to network support unconditio...
[flightgear.git] / src / Network / Makefile.am
index 245bc4eef1908b262636d9ceda7f6966421f350e..e4af55a6f7e9552a54495a359dbb43cda097f8cd 100644 (file)
@@ -6,6 +6,12 @@ else
 JPEG_SERVER =
 endif
 
+if ENABLE_MPLAYER_AS
+MPLAYER_AS = multiplay.cxx multiplay.hxx
+else
+MPLAYER_AS =
+endif
+
 libNetwork_a_SOURCES = \
        protocol.cxx protocol.hxx \
        atc610x.cxx atc610x.hxx \
@@ -21,7 +27,7 @@ libNetwork_a_SOURCES = \
        net_ctrls.hxx net_fdm.hxx net_fdm_mini.hxx \
         nmea.cxx nmea.hxx \
         opengc.cxx opengc.hxx opengc_data.hxx \
-       multiplay.cxx multiplay.hxx \
+       $(MPLAYER_AS) \
        props.cxx props.hxx \
        pve.cxx pve.hxx \
        ray.cxx ray.hxx \