if include_ARTS
kfileaudiopreview_subdir = kfileaudiopreview
endif

SUBDIRS = . $(kfileaudiopreview_subdir)
INCLUDES = -I$(srcdir)/.. $(all_includes)

lib_LTLIBRARIES = libkmediaplayer.la

libkmediaplayer_la_SOURCES = player.cpp playerdcopobject.skel view.cpp
libkmediaplayer_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined
libkmediaplayer_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) $(top_builddir)/dcop/libDCOP.la $(LIB_KDEUI) $(LIB_KDECORE)
libkmediaplayer_la_METASOURCES = AUTO

kmediaplayerinclude_HEADERS = player.h playerdcopobject.h view.h
kmediaplayerincludedir = $(includedir)/kmediaplayer

kde_servicetypes_DATA = kmediaplayerengine.desktop kmediaplayer.desktop
