module.am 847 B

123456789101112131415161718192021222324252627282930313233343536
  1. if WITH_LUA
  2. lib_LTLIBRARIES += clish_plugin_lua.la
  3. endif
  4. clish_plugin_lua_la_SOURCES =
  5. clish_plugin_lua_la_LIBADD = @LUA_LIB@
  6. clish_plugin_lua_la_LDFLAGS = -avoid-version -module
  7. if HAVE_LD_VERSION_SCRIPT
  8. clish_plugin_lua_la_LDFLAGS += -Wl,--version-script=plugins/lua/version.map
  9. else
  10. clish_plugin_lua_la_LDFLAGS += -export-symbols plugins/lua/symbols.map
  11. endif
  12. clish_plugin_lua_la_CPPFLAGS = $(AM_CPPFLAGS) @LUA_INCLUDE@
  13. clish_plugin_lua_la_LIBADD += \
  14. liblub.la \
  15. libclish.la \
  16. libkonf.la
  17. clish_plugin_lua_la_DEPENDENCIES = \
  18. liblub.la \
  19. libclish.la \
  20. libkonf.la
  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 \
  27. plugins/lua/private.h
  28. EXTRA_DIST += \
  29. plugins/lua/symbols.map \
  30. plugins/lua/version.map