js_demo_SOURCES = js_demo.cxx
-js_demo_LDADD = $(audio_LIBS)
+js_demo_LDADD = -lplibjs $(base_LIBS) $(audio_LIBS) -lplibul
fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
-fgjs_LDADD = $(audio_LIBS)
+fgjs_LDADD = -lplibjs $(base_LIBS) $(audio_LIBS) -lplibul
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif