Makefile.am 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. # Session
  29. nobase_include_HEADERS += \
  30. klish/kudata.h \
  31. klish/kustore.h \
  32. klish/kcontext.h
  33. # XML-helper
  34. nobase_include_HEADERS += \
  35. klish/kxml.h
  36. #noinst_HEADERS += \
  37. # klish/khelper.h
  38. EXTRA_DIST += \
  39. klish/ktp/Makefile.am \
  40. klish/kscheme/Makefile.am \
  41. klish/ischeme/Makefile.am \
  42. klish/ksession/Makefile.am \
  43. klish/xml-helper/Makefile.am
  44. include $(top_srcdir)/klish/ktp/Makefile.am
  45. include $(top_srcdir)/klish/kscheme/Makefile.am
  46. include $(top_srcdir)/klish/ischeme/Makefile.am
  47. include $(top_srcdir)/klish/ksession/Makefile.am
  48. include $(top_srcdir)/klish/xml-helper/Makefile.am
  49. #if TESTC
  50. #include $(top_srcdir)/klish/testc_module/Makefile.am
  51. #endif