Makefile.am 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. lib_LTLIBRARIES += libklish.la
  2. libklish_la_SOURCES =
  3. libklish_la_LDFLAGS = $(AM_LDFLAGS) $(VERSION_INFO)
  4. # Add RPATH for kdb
  5. libklish_la_LDFLAGS += '-Wl,-rpath,$(pkglibdir)/@DBS_SUBDIR@:$$ORIGIN/../lib/@PACKAGE@/@DBS_SUBDIR@'
  6. # Add RPATH for plugins
  7. libklish_la_LDFLAGS += '-Wl,-rpath,$(pkglibdir)/@PLUGINS_SUBDIR@:$$ORIGIN/../lib/@PACKAGE@/@PLUGINS_SUBDIR@'
  8. #if TESTC
  9. #libklish_la_CFLAGS += -DTESTC
  10. #endif
  11. # Common
  12. nobase_include_HEADERS += \
  13. klish/khelper.h
  14. # KTP
  15. nobase_include_HEADERS += \
  16. klish/ktp.h \
  17. klish/ktp_session.h
  18. # Scheme
  19. nobase_include_HEADERS += \
  20. klish/kscheme.h \
  21. klish/kview.h \
  22. klish/kcommand.h \
  23. klish/kparam.h \
  24. klish/kplugin.h \
  25. klish/kaction.h \
  26. klish/kptype.h \
  27. klish/ksym.h \
  28. klish/kdb.h
  29. # Session
  30. nobase_include_HEADERS += \
  31. klish/kudata.h \
  32. klish/kustore.h \
  33. klish/kcontext.h
  34. # XML-helper
  35. nobase_include_HEADERS += \
  36. klish/kxml.h
  37. #noinst_HEADERS += \
  38. # klish/khelper.h
  39. EXTRA_DIST += \
  40. klish/ktp/Makefile.am \
  41. klish/kscheme/Makefile.am \
  42. klish/ischeme/Makefile.am \
  43. klish/ksession/Makefile.am \
  44. klish/xml-helper/Makefile.am
  45. include $(top_srcdir)/klish/ktp/Makefile.am
  46. include $(top_srcdir)/klish/kscheme/Makefile.am
  47. include $(top_srcdir)/klish/ischeme/Makefile.am
  48. include $(top_srcdir)/klish/ksession/Makefile.am
  49. include $(top_srcdir)/klish/xml-helper/Makefile.am
  50. #if TESTC
  51. #include $(top_srcdir)/klish/testc_module/Makefile.am
  52. #endif