summaryrefslogtreecommitdiffstats
path: root/tderesources/featureplan/Makefile.am
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:50 -0600
commitb363d2579af0a11b77e698aed2e1021c2233b644 (patch)
treef4a47b87354b7a6a3b266c8121bd8ddaeb7accaa /tderesources/featureplan/Makefile.am
parent61bddfe3a7226b18c68a76124b727c736f431688 (diff)
downloadtdepim-b363d2579af0a11b77e698aed2e1021c2233b644.tar.gz
tdepim-b363d2579af0a11b77e698aed2e1021c2233b644.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tderesources/featureplan/Makefile.am')
-rw-r--r--tderesources/featureplan/Makefile.am61
1 files changed, 61 insertions, 0 deletions
diff --git a/tderesources/featureplan/Makefile.am b/tderesources/featureplan/Makefile.am
new file mode 100644
index 000000000..f37d5c6ba
--- /dev/null
+++ b/tderesources/featureplan/Makefile.am
@@ -0,0 +1,61 @@
+INCLUDES = -I$(top_srcdir) $(all_includes)
+
+lib_LTLIBRARIES = libkcal_resourcefeatureplan.la
+
+noinst_LTLIBRARIES = libfeatureplancommon.la
+libfeatureplancommon_la_SOURCES = kde-features.cpp kde-features_parser.cpp \
+ prefs.kcfgc
+
+libkcal_resourcefeatureplan_la_SOURCES = kcal_resourcefeatureplan.cpp \
+ kcal_resourcefeatureplanconfig.cpp
+libkcal_resourcefeatureplan_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
+ -version-info 1:0:0 -no-undefined
+libkcal_resourcefeatureplan_la_LIBADD = libfeatureplancommon.la \
+ $(top_builddir)/libkcal/libkcal.la \
+ $(top_builddir)/libtdepim/libtdepim.la
+libkcal_resourcefeatureplan_la_COMPILE_FIRST = kde-features.h prefs.h
+
+
+kde_module_LTLIBRARIES = kcal_resourcefeatureplan.la
+
+kcal_resourcefeatureplan_la_SOURCES = kcal_resourcefeatureplanplugin.cpp
+kcal_resourcefeatureplan_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kcal_resourcefeatureplan_la_LIBADD = libkcal_resourcefeatureplan.la
+kcal_resourcefeatureplan_la_COMPILE_FIRST = kde-features.h prefs.h
+
+kcal_servicedir = $(kde_servicesdir)/tderesources/kcal
+kcal_service_DATA = kcal_resourcefeatureplan.desktop
+
+check_PROGRAMS = dumpfeaturelist benchmarkfeaturelist
+
+dumpfeaturelist_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+dumpfeaturelist_LDADD = libfeatureplancommon.la $(LIB_TDECORE)
+dumpfeaturelist_SOURCES = dumpfeaturelist.cpp
+dumpfeaturelist_COMPILE_FIRST = kde-features.h
+
+benchmarkfeaturelist_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+benchmarkfeaturelist_LDADD = libfeatureplancommon.la $(LIB_TDECORE)
+benchmarkfeaturelist_SOURCES = benchmarkfeaturelist.cpp
+benchmarkfeaturelist_COMPILE_FIRST = kde-features.h
+
+kde-features.cpp: kde-features.h
+kde-features_parser.h kde-features_parser.cpp: kde-features.h
+
+kde-features.h kde-features.cpp kde-features_parser.h kde-features_parser.cpp: $(srcdir)/kde-features.rng \
+ $(top_builddir)/kode/kxml_compiler/kxml_compiler
+ $(top_builddir)/kode/kxml_compiler/kxml_compiler \
+ --custom-parser $(srcdir)/kde-features.rng
+
+METASOURCES = AUTO
+DISTCLEANFILES = kde-features.h kde-features.cpp \
+ kde-features_parser.h kde-features_parser.cpp \
+ kde-features.h.backup kde-features.cpp.backup \
+ kde-features_parser.h.backup kde-features_parser.cpp.backup
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kres_featureplan.pot
+
+kcal_resourcefeatureplan.lo: kde-features_parser.h
+kde-features.lo: kde-features.h
+kde-features_parser.lo: kde-features_parser.h kde-features.h
+