summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-13 06:57:45 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-13 06:57:45 +0000
commitc3b43060ca8335163a256c2886086df194a5bb19 (patch)
treedbcad54f8abde17e273f8cc3d93e0f4e1fbec99f /wizards
parente9998761586c8d1a048ff8008fd55d23220c60a4 (diff)
downloadtdepim-c3b43060ca8335163a256c2886086df194a5bb19.tar.gz
tdepim-c3b43060ca8335163a256c2886086df194a5bb19.zip
Disable wizards when core resources are also disabled
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1174659 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wizards')
-rw-r--r--wizards/Makefile.am87
1 files changed, 21 insertions, 66 deletions
diff --git a/wizards/Makefile.am b/wizards/Makefile.am
index 8208d1e77..dff21f2c7 100644
--- a/wizards/Makefile.am
+++ b/wizards/Makefile.am
@@ -1,3 +1,10 @@
+if include_egroupware_SUBDIR
+if include_slox_SUBDIR
+if include_kolab_SUBDIR
+if include_exchange_SUBDIR
+if include_groupwise_SUBDIR
+if include_scalix_SUBDIR
+
METASOURCES = AUTO
INCLUDES = -I$(top_srcdir)/libkpimidentities -I$(top_srcdir)/libkcal \
@@ -9,64 +16,24 @@ INCLUDES = -I$(top_srcdir)/libkpimidentities -I$(top_srcdir)/libkcal \
-I$(top_srcdir)/kresources/lib \
$(all_includes)
-if include_exchange_SUBDIR
-EXCHANGE_BIN_WIZARD=exchangewizard
-EXCHANGE_LIB_LA=libexchangewizard.la
-endif
+bin_PROGRAMS = groupwarewizard egroupwarewizard sloxwizard kolabwizard \
+ groupwisewizard exchangewizard scalixwizard
-if include_egroupware_SUBDIR
-EGROUPWARE_BIN_WIZARD=egroupwarewizard
-EGROUPWARE_LIB_LA=libegroupwarewizard.la
-endif
+kde_module_LTLIBRARIES = libegroupwarewizard.la libsloxwizard.la \
+ libkolabwizard.la \
+ libexchangewizard.la \
+ libgroupwisewizard.la \
+ libscalixwizard.la
-if include_slox_SUBDIR
-SLOX_BIN_WIZARD=sloxwizard
-SLOX_LIB_LA=libsloxwizard.la
-endif
-
-if include_kolab_SUBDIR
-KOLAB_BIN_WIZARD=kolabwizard
-KOLAB_LIB_LA=libkolabwizard.la
-endif
-if include_groupwise_SUBDIR
-GROUPWISE_BIN_WIZARD=groupwisewizard
-GROUPWISE_LIB_LA=libgroupwisewizard.la
-endif
-
-if include_scalix_SUBDIR
-SCALIX_BIN_WIZARD=scalixwizard
-SCALIX_LIB_LA=libscalixwizard.la
-endif
-
-bin_PROGRAMS = groupwarewizard $(EGROUPWARE_BIN_WIZARD) $(SLOX_BIN_WIZARD) $(KOLAB_BIN_WIZARD) \
- $(GROUPWISE_BIN_WIZARD) $(EXCHANGE_BIN_WIZARD) $(SCALIX_BIN_WIZARD)
-
-kde_module_LTLIBRARIES = $(EGROUPWARE_LIB_LA) $(SLOX_LIB_LA) \
- $(KOLAB_LIB_LA) \
- $(EXCHANGE_LIB_LA) \
- $(GROUPWISE_LIB_LA) \
- $(SCALIX_LIB_LA)
-
-if include_egroupware_SUBDIR
-if include_slox_SUBDIR
-if include_kolab_SUBDIR
-if include_exchange_SUBDIR
-if include_groupwise_SUBDIR
groupwarewizard_LDFLAGS = $(all_libraries) $(KDE_RPATH)
groupwarewizard_LDADD = libegroupwarewizard.la libsloxwizard.la $(LIB_KDEUI) \
libkolabwizard.la \
libexchangewizard.la \
libgroupwisewizard.la
groupwarewizard_SOURCES = groupwarewizard.cpp main.cpp overviewpage.cpp
-endif
-endif
-endif
-endif
-endif
# Kolab
-if include_kolab_SUBDIR
libkolabwizard_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
libkolabwizard_la_LIBADD = $(top_builddir)/kresources/kolab/kcal/libkcalkolab.la \
$(top_builddir)/kresources/kolab/kabc/libkabckolab.la \
@@ -81,10 +48,8 @@ libkolabwizard_la_SOURCES = kolabwizard.cpp kmailchanges.cpp kolabconfig.kcfgc \
kolabwizard_LDADD = libkolabwizard.la $(LIB_KDEUI)
kolabwizard_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kolabwizard_SOURCES = kolabmain.cpp
-endif
# eGroupware
-if include_egroupware_SUBDIR
libegroupwarewizard_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
libegroupwarewizard_la_SOURCES = egroupwarewizard.cpp egroupwareconfig.kcfgc
libegroupwarewizard_la_LIBADD = $(top_builddir)/kresources/egroupware/libkabc_xmlrpc.la \
@@ -99,21 +64,17 @@ egroupwarewizard_LDFLAGS = $(all_libraries) $(KDE_RPATH)
egroupwarewizard_SOURCES = egroupwaremain.cpp
# SLOX
-if include_slox_SUBDIR
libsloxwizard_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
libsloxwizard_la_SOURCES = sloxwizard.cpp sloxconfig.kcfgc
libsloxwizard_la_LIBADD = $(top_builddir)/kresources/slox/libkcal_slox.la \
$(top_builddir)/kresources/slox/libkabc_slox.la \
$(top_builddir)/libkdepim/libkdepim.la
-endif
sloxwizard_LDADD = libsloxwizard.la
sloxwizard_LDFLAGS = $(all_libraries) $(KDE_RPATH)
sloxwizard_SOURCES = sloxmain.cpp
-endif
# GroupWise
-if include_groupwise_SUBDIR
libgroupwisewizard_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
libgroupwisewizard_la_SOURCES = groupwisewizard.cpp groupwiseconfig.kcfgc \
kmailchanges.cpp
@@ -128,10 +89,8 @@ libgroupwisewizard_la_COMPILE_FIRST = $(top_builddir)/kresources/groupwise/kabc_
groupwisewizard_LDADD = libgroupwisewizard.la
groupwisewizard_LDFLAGS = $(all_libraries) $(KDE_RPATH)
groupwisewizard_SOURCES = groupwisemain.cpp
-endif
# Exchange
-if include_exchange_SUBDIR
libexchangewizard_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
libexchangewizard_la_SOURCES = exchangewizard.cpp
libexchangewizard_la_LIBADD = $(top_builddir)/kresources/newexchange/libkcal_newexchange.la \
@@ -141,10 +100,8 @@ libexchangewizard_la_LIBADD = $(top_builddir)/kresources/newexchange/libkcal_new
exchangewizard_LDADD = libexchangewizard.la
exchangewizard_LDFLAGS = $(all_libraries) $(KDE_RPATH)
exchangewizard_SOURCES = exchangemain.cpp
-endif
# Scalix
-if include_scalix_SUBDIR
libscalixwizard_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
libscalixwizard_la_LIBADD = $(top_builddir)/kresources/scalix/kcal/libkcalscalix.la \
$(top_builddir)/kresources/scalix/kabc/libkabcscalix.la \
@@ -158,7 +115,6 @@ libscalixwizard_la_SOURCES = scalixwizard.cpp kmailchanges.cpp scalixconfig.kcfg
scalixwizard_LDADD = libscalixwizard.la $(LIB_KDEUI)
scalixwizard_LDFLAGS = $(all_libraries) $(KDE_RPATH)
scalixwizard_SOURCES = scalixmain.cpp
-endif
noinst_HEADERS = egroupwarewizard.h kmailchanges.h kolabwizard.h sloxwizard.h \
groupwisewizard.h exchangewizard.h
@@ -168,16 +124,15 @@ kde_kcfg_DATA = egroupware.kcfg slox.kcfg kolab.kcfg groupwise.kcfg scalix.kcfg
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/kdepimwizards.pot
-if include_egroupware_SUBDIR
egroupwarewizard.lo: ../kresources/egroupware/kabc_egroupwareprefs.h ../kresources/egroupware/kcal_egroupwareprefs.h ../kresources/egroupware/knotes_egroupwareprefs.h
-endif
-
-if include_exchange_SUBDIR
exchangewizard.lo: ../kresources/lib/kresources_groupwareprefs.h
-endif
-
-if include_slox_SUBDIR
sloxwizard.lo: ../kresources/slox/kabcsloxprefs.h ../kresources/slox/kcalsloxprefs.h
-endif
xdg_apps_DATA = groupwarewizard.desktop
+
+endif
+endif
+endif
+endif
+endif
+endif