summaryrefslogtreecommitdiffstats
path: root/tdeioslave/system/Makefile.am
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-27 01:02:02 -0600
committerTimothy Pearson <[email protected]>2013-01-27 01:02:02 -0600
commitde7e5867a65e0a46f1388e3e50bc7eeddd1aecbf (patch)
treedbb3152c372f8620f9290137d461f3d9f9eba1cb /tdeioslave/system/Makefile.am
parent936d3cec490c13f2c5f7dd14f5e364fddaa6da71 (diff)
downloadtdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.tar.gz
tdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdeioslave/system/Makefile.am')
-rw-r--r--tdeioslave/system/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/tdeioslave/system/Makefile.am b/tdeioslave/system/Makefile.am
new file mode 100644
index 000000000..5fc63eb5c
--- /dev/null
+++ b/tdeioslave/system/Makefile.am
@@ -0,0 +1,31 @@
+SUBDIRS= . kdedmodule entries mimetypes
+
+INCLUDES = $(all_includes)
+METASOURCES = AUTO
+
+kde_module_LTLIBRARIES = kio_system.la
+
+kio_system_la_SOURCES = dummy.cpp
+kio_system_la_LIBADD = libtdeiosystem.la $(LIB_KIO)
+kio_system_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
+
+dummy.cpp:
+ echo > dummy.cpp
+
+kde_services_DATA = system.protocol
+
+noinst_LTLIBRARIES = libtdeiosystem.la
+libtdeiosystem_la_SOURCES = kio_system.cpp systemimpl.cpp
+
+check_PROGRAMS = testsystem
+testsystem_SOURCES = testsystem.cpp
+testsystem_LDADD = libtdeiosystem.la $(LIB_KIO)
+testsystem_LDFLAGS = $(all_libraries)
+
+## TODO in unsermake: TESTS = testsystem
+check: testsystem
+ ./testsystem
+
+messages:
+ $(XGETTEXT) `find . -name "*.cc" -o -name "*.cpp" -o -name "*.h"` -o $(podir)/tdeio_system.pot
+