diff options
Diffstat (limited to 'kaddressbook/features/Makefile.am')
-rw-r--r-- | kaddressbook/features/Makefile.am | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/kaddressbook/features/Makefile.am b/kaddressbook/features/Makefile.am new file mode 100644 index 000000000..d3311c77b --- /dev/null +++ b/kaddressbook/features/Makefile.am @@ -0,0 +1,36 @@ +INCLUDES = -I$(top_srcdir)/kaddressbook/interfaces -I$(top_srcdir)/kaddressbook \ + -I$(top_srcdir) $(all_includes) + +if compile_newdistrlists +TARGET_DISTRIBUTIONLISTNG=libkaddrbk_distributionlistng.la +DISTRIBUTIONLISTNG_DESKTOPFILE=distributionlistng.desktop +else +DISTRIBUTIONLIST_DESKTOPFILE=distributionlist.desktop +endif + +kde_module_LTLIBRARIES = $(TARGET_DISTRIBUTIONLISTNG) libkaddrbk_distributionlist.la libkaddrbk_resourceselection.la + +XXLIBS = $(top_builddir)/kaddressbook/interfaces/libkabinterfaces.la \ + $(top_builddir)/libkdepim/libkdepim.la + + +if compile_newdistrlists +libkaddrbk_distributionlistng_la_SOURCES = distributionlistngwidget.cpp +libkaddrbk_distributionlistng_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -no-undefined +libkaddrbk_distributionlistng_la_LIBADD = $(XXLIBS) +else +libkaddrbk_distributionlist_la_SOURCES = distributionlistwidget.cpp +libkaddrbk_distributionlist_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -no-undefined +libkaddrbk_distributionlist_la_LIBADD = $(XXLIBS) +endif + +libkaddrbk_resourceselection_la_SOURCES = resourceselection.cpp +libkaddrbk_resourceselection_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -no-undefined +libkaddrbk_resourceselection_la_LIBADD = $(XXLIBS) + +noinst_HEADERS = distributionlistwidget.h distributionlistngwidget.h resourceselection.h + +METASOURCES = AUTO + +servicedir = $(kde_servicesdir)/kaddressbook +service_DATA = $(DISTRIBUTIONLISTNG_DESKTOPFILE) $(DISTRIBUTIONLIST_DESKTOPFILE) resourceselection.desktop |