module.am 798 B

12345678910111213141516171819202122232425262728293031
  1. lib_LTLIBRARIES += clish_plugin_lua.la
  2. clish_plugin_lua_la_SOURCES =
  3. clish_plugin_lua_la_LIBADD = @LUA_LIB@
  4. clish_plugin_lua_la_LDFLAGS = -avoid-version -module
  5. if HAVE_LD_VERSION_SCRIPT
  6. clish_plugin_lua_la_LDFLAGS += -Wl,--version-script=plugins/lua/version.map
  7. else
  8. clish_plugin_lua_la_LDFLAGS += -export-symbols plugins/lua/symbols.map
  9. endif
  10. clish_plugin_lua_la_CPPFLAGS = $(AM_CPPFLAGS) @LUA_INCLUDE@
  11. clish_plugin_lua_la_LIBADD += \
  12. liblub.la \
  13. libclish.la \
  14. libkonf.la
  15. clish_plugin_lua_la_DEPENDENCIES = \
  16. liblub.la \
  17. libclish.la \
  18. libkonf.la
  19. nobase_include_HEADERS += \
  20. plugins/lua/private.h
  21. clish_plugin_lua_la_SOURCES += \
  22. plugins/lua/plugin_init.c \
  23. plugins/lua/plugin_fini.c \
  24. plugins/lua/lua_init.c \
  25. plugins/lua/lua_action.c \
  26. plugins/lua/lua_print_error.c