]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/Makefile.am
Changes to support optional screen snap shot httpd server.
[flightgear.git] / src / Network / Makefile.am
index 5a65aa5fd0fa1331990cd7231dbada1b73f3e576..2eb3ace49849db59de5a1e54be4d46f4ddac3f5a 100644 (file)
@@ -1,10 +1,17 @@
 noinst_LIBRARIES = libNetwork.a
 
+if ENABLE_JPEG_SERVER
+JPEG_SERVER = jpg-httpd.cxx jpg-httpd.hxx
+else
+JPEG_SERVER =
+endif
+
 libNetwork_a_SOURCES = \
        protocol.cxx protocol.hxx \
        atlas.cxx atlas.hxx \
        garmin.cxx garmin.hxx \
         httpd.cxx httpd.hxx \
+        $(JPEG_SERVER) \
        joyclient.cxx joyclient.hxx \
        native.cxx native.hxx \
        native_ctrls.cxx native_ctrls.hxx \
@@ -17,4 +24,8 @@ libNetwork_a_SOURCES = \
        ray.cxx ray.hxx \
        rul.cxx rul.hxx
 
+if OLD_AUTOMAKE
 INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
+else
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
+endif