1 AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkgdatadir)\"
3 noinst_LIBRARIES = libInput.a
6 EXTRA_libInput_a_SOURCES = FGLinuxEventInput.cxx FGLinuxEventInput.hxx \
7 FGMacOSXEventInput.cxx FGMacOSXEventInput.hxx
8 libInput_Event_SOURCES = FGEventInput.cxx FGEventInput.hxx
9 libInput_Event_INCLUDES = $(eventinput_INCLUDES)
10 libInput_a_LIBADD = $(eventinput_EXTRA_OBJS)
11 libInput_a_DEPENDENCIES = $(eventinput_EXTRA_OBJS)
13 libInput_Event_SOURCES =
14 libInput_Event_INCLUDES =
17 if HAVE_FRAMEWORK_PLIB
18 js_demo_LDFLAGS = $(plib_FRAMEWORK)
19 fgjs_LDFLAGS = $(plib_FRAMEWORK)
26 fgjs_LDFLAGS = $(openthreads_FRAMEWORK)
28 fgjs_LDFLAGS = $(openthreads_LIBS)
31 libInput_a_SOURCES = input.cxx input.hxx FGCommonInput.cxx FGCommonInput.hxx \
32 FGDeviceConfigurationMap.cxx FGDeviceConfigurationMap.hxx \
33 FGButton.cxx FGButton.hxx \
34 FGMouseInput.cxx FGMouseInput.hxx \
35 FGKeyboardInput.cxx FGKeyboardInput.hxx \
36 FGJoystickInput.cxx FGJoystickInput.hxx \
37 js.cxx jsBSD.cxx jsLinux.cxx jsMacOSX.cxx jsNone.cxx FGjs.hxx \
38 $(libInput_Event_SOURCES)
40 bin_PROGRAMS = js_demo fgjs
42 js_demo_SOURCES = js_demo.cxx
44 js_demo_LDADD = $(base_LIBS) -L. -lInput -lplibul
46 fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
48 fgjs_LDADD = $(base_LIBS) $(joystick_LIBS) -L. -lInput -lplibul \
49 -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz $(network_LIBS)
51 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/Main \
52 $(libInput_Event_INCLUDES)