]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/Makefile.am
Different approach to handling the paired-ILS-on-opposite-runways situation. This...
[flightgear.git] / src / Input / Makefile.am
index d51d2887c03d0c7a53e43d5998412454ab605b60..cea5f627fc0a484f4e04898549b07306ab153bd3 100644 (file)
@@ -2,12 +2,21 @@ AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkgdatadir)\"
 
 noinst_LIBRARIES = libInput.a
 
+if WITH_EVENTINPUT
+libInput_Event_SOURCES = FGEventInput.cxx FGEventInput.hxx FGLinuxEventInput.cxx FGLinuxEventInput.hxx
+libInput_Event_INCLUDES = -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib/dbus-1.0/include 
+else
+libInput_Event_SOURCES = 
+libInput_Event_INCLUDES = 
+endif
+
 libInput_a_SOURCES = input.cxx input.hxx FGCommonInput.cxx FGCommonInput.hxx \
        FGDeviceConfigurationMap.cxx FGDeviceConfigurationMap.hxx \
        FGButton.cxx FGButton.hxx \
        FGMouseInput.cxx FGMouseInput.hxx \
        FGKeyboardInput.cxx FGKeyboardInput.hxx \
-       FGJoystickInput.cxx FGJoystickInput.hxx 
+       FGJoystickInput.cxx FGJoystickInput.hxx \
+        $(libInput_Event_SOURCES)
 
 bin_PROGRAMS = js_demo fgjs
 
@@ -20,4 +29,5 @@ fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
 fgjs_LDADD = -lplibjs -lplibul $(base_LIBS) $(joystick_LIBS) \
        -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz
 
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/Main
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/Main \
+       $(libInput_Event_INCLUDES)