]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/Makefile.am
make --enable-osgviewer the default
[flightgear.git] / src / Input / Makefile.am
index 49b2bcbd278add94ac33d9e28059dc7b93fbc11c..df99e01f1de85f1b0ae52b22b5562235a33b2fc9 100644 (file)
@@ -1,16 +1,18 @@
+AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkgdatadir)\"
+
 noinst_LIBRARIES = libInput.a
 
 libInput_a_SOURCES = input.cxx input.hxx
 
-# bin_PROGRAMS = js_demo fgjs
-bin_PROGRAMS = js_demo
+bin_PROGRAMS = js_demo fgjs
 
 js_demo_SOURCES = js_demo.cxx
 
-js_demo_LDADD = $(audio_LIBS)
+js_demo_LDADD = -lplibjs $(base_LIBS) $(joystick_LIBS) -lplibul
 
-fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
+fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
 
-# fgjs_LDADD = $(audio_LIBS)
+fgjs_LDADD = -lplibjs -lplibul $(base_LIBS) $(joystick_LIBS) \
+       -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz
 
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/Main