summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/Makefile.am
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
commitde7e5867a65e0a46f1388e3e50bc7eeddd1aecbf (patch)
treedbb3152c372f8620f9290137d461f3d9f9eba1cb /tdeioslave/media/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/media/Makefile.am')
-rw-r--r--tdeioslave/media/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/tdeioslave/media/Makefile.am b/tdeioslave/media/Makefile.am
new file mode 100644
index 000000000..b82e48557
--- /dev/null
+++ b/tdeioslave/media/Makefile.am
@@ -0,0 +1,36 @@
+if include_media_halbackend
+PROPSDLGPLUGINDIR = propsdlgplugin
+endif
+
+SUBDIRS = libmediacommon . mediamanager medianotifier mounthelper \
+ tdefile-plugin tdecmodule mimetypes services $(PROPSDLGPLUGINDIR)
+
+INCLUDES = -I$(srcdir)/libmediacommon $(all_includes)
+METASOURCES = AUTO
+
+kde_module_LTLIBRARIES = kio_media.la
+
+kio_media_la_SOURCES = dummy.cpp
+kio_media_la_LIBADD = libtdeiomedia.la libmediacommon/libmediacommon.la $(LIB_KIO)
+kio_media_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
+
+dummy.cpp:
+ echo > dummy.cpp
+
+kde_services_DATA = media.protocol
+
+noinst_LTLIBRARIES = libtdeiomedia.la
+libtdeiomedia_la_SOURCES = kio_media.cpp mediaimpl.cpp mediaimpl.skel
+
+check_PROGRAMS = testmedia
+testmedia_SOURCES = testmedia.cpp
+testmedia_LDADD = libtdeiomedia.la $(LIB_KIO)
+testmedia_LDFLAGS = $(all_libraries)
+
+## TODO in unsermake: TESTS = testmedia
+check: testmedia
+ ./testmedia
+
+messages: rc.cpp
+ $(EXTRACTRC) propsdlgplugin/propertiespagegui.ui >> rc.cpp
+ $(XGETTEXT) *.cpp *.h tdefile-plugin/*.cpp libmediacommon/*.cpp mediamanager/*.cpp mounthelper/*.cpp propsdlgplugin/*.cpp -o $(podir)/tdeio_media.pot