summaryrefslogtreecommitdiffstats
path: root/tderesources/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/lib/Makefile.am')
-rw-r--r--tderesources/lib/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/tderesources/lib/Makefile.am b/tderesources/lib/Makefile.am
new file mode 100644
index 000000000..a430fd8b2
--- /dev/null
+++ b/tderesources/lib/Makefile.am
@@ -0,0 +1,35 @@
+INCLUDES = -I$(top_srcdir) $(all_includes)
+
+lib_LTLIBRARIES = libkgroupwarebase.la libkgroupwaredav.la
+
+libkgroupwarebase_la_SOURCES = folderlister.cpp folderconfig.cpp folderlistview.cpp folderselectdialog.cpp \
+ groupwaredataadaptor.cpp groupwaredownloadjob.cpp \
+ calendaradaptor.cpp addressbookadaptor.cpp groupwareresourcejob.cpp \
+ groupwareuploadjob.cpp kcal_resourcegroupwarebase.cpp kabc_resourcegroupwarebase.cpp \
+ tderesources_groupwareprefs.kcfgc \
+ kcal_resourcegroupwarebaseconfig.cpp kabc_resourcegroupwarebaseconfig.cpp \
+ kcal_cachesettingsdlg.cpp
+libkgroupwarebase_la_LDFLAGS = $(all_libraries) -no-undefined
+libkgroupwarebase_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
+ $(top_builddir)/libtdepim/libtdepim.la
+
+libkgroupwaredav_la_SOURCES = davcalendaradaptor.cpp davaddressbookadaptor.cpp webdavhandler.cpp \
+ davgroupwareglobals.cpp
+libkgroupwaredav_la_LDFLAGS = $(all_libraries) -no-undefined
+libkgroupwaredav_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
+ $(top_builddir)/libtdepim/libtdepim.la libkgroupwarebase.la
+
+METASOURCES = AUTO
+
+### We use three (or more) namespaces here in here - KPIM, KABC and KCal.
+### When using multiple "using namespace foo" declarations, namespaced
+### definitions cannot be resolved properly; we could use namespace foo { }
+### instead, but this breaks on TDEConfigXT generated code, which still uses
+### "using namespace" and can't be fixed due to our backwards-compatibility
+### requirements. This is only fatal when doing --enable-final, since only
+### then do all the namespaces get mixed together.
+KDE_OPTIONS = nofinal
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/tdepimresources.pot
+