module.am 839 B

123456789101112131415161718192021222324252627282930313233
  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. clish_plugin_lua_la_SOURCES += \
  20. plugins/lua/plugin_init.c \
  21. plugins/lua/plugin_fini.c \
  22. plugins/lua/lua_init.c \
  23. plugins/lua/lua_action.c \
  24. plugins/lua/lua_print_error.c \
  25. plugins/lua/private.h
  26. EXTRA_DIST += \
  27. plugins/lua/symbols.map \
  28. plugins/lua/version.map