summaryrefslogtreecommitdiffstats
path: root/kresources/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/Makefile.am')
-rw-r--r--kresources/lib/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/kresources/lib/Makefile.am b/kresources/lib/Makefile.am
new file mode 100644
index 000000000..0b3f29b6e
--- /dev/null
+++ b/kresources/lib/Makefile.am
@@ -0,0 +1,39 @@
+INCLUDES = -I$(top_srcdir) \
+-I$(top_srcdir)/libkcal/libical/src/libical -I$(top_srcdir)/libkcal/libical/src/libicalss \
+ -I$(top_builddir)/libkcal/libical/src/libical -I$(top_builddir)/libkcal/libical/src/libicalss \
+ $(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 \
+ kresources_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)/libkdepim/libkdepim.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)/libkdepim/libkdepim.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 KConfigXT 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)/kdepimresources.pot
+
+webdavhandler.lo: ../../libkcal/libical/src/libical/ical.h