Fix language getting reset to system default on saving preferences
[amule.git] / src / utils / plasmamule / Makefile.am
blob5801aa9a8bef71e4fc8b3eeb95a3bd377f6897da
1 if PLASMAMULE
2 modulesdir = ${KDE_MODULE_PATH}
3 modules_PROGRAMS = plasma-engine-plasmamule.so plasma-applet-plasmamule.so
5 EXTRA_DIST = plasma-engine-plasmamule.dektop plasma-applet-plasmamule.desktop application-x-emulecollection.svg ed2k.protocol magnet.protocol plasmamule-engine-feeder.desktop
6 BUILT_SOURCES = plasma-engine-plasmamule.moc plasma-applet-plasmamule.moc
8 servicedir = ${KDE_SERVICE_PATH}
9 dist_service_DATA = plasma-engine-plasmamule.desktop plasma-applet-plasmamule.desktop ed2k.protocol magnet.protocol
11 icondir = ${KDE_ICON_PATH}
12 dist_icon_DATA = application-x-emulecollection.svg
14 mimedir = ${KDE_MIME_PATH}
15 dist_mime_DATA = amule.xml
17 appsdir = ${KDE_APPLNK_PATH}
18 dist_apps_DATA = plasmamule-engine-feeder.desktop
20 bin_PROGRAMS = plasmamule-engine-feeder
21 endif
23 plasma_engine_plasmamule_so_SOURCES = plasma-engine-plasmamule.cpp qt-emc.cpp
24 plasma_applet_plasmamule_so_SOURCES = plasma-applet-plasmamule.cpp plasmamule-dbus.cpp
25 plasmamule_engine_feeder_SOURCES = plasmamule-engine-feeder.cpp plasmamule-dbus.cpp
27 nodist_plasma_engine_plasmamule_so_SOURCES  = plasma-engine-plasmamule.moc
28 nodist_plasma_applet_plasmamule_so_SOURCES = plasma-applet-plasmamule.moc
30 plasma_engine_plasmamule_so_CXXFLAGS = -shared -I${KDE_HEADER_DIR} ${QT_CORE_CXXFLAGS} -DPIC -fPIC ${DEBUGFLAG}
31 plasma_applet_plasmamule_so_CXXFLAGS = -shared -D__IMG_PATH__=\"${KDE_ICON_PATH}\" -I${KDE_HEADER_DIR} ${QT_GUI_CXXFLAGS} -DPIC -fPIC ${DEBUGFLAG}
32 plasmamule_engine_feeder_CXXFLAGS = -I${KDE_HEADER_DIR} ${QT_GUI_CXXFLAGS} ${DEBUGFLAG}
34 plasmamule_engine_feeder_LDFLAGS = ${QT_GUI_LIBS} -lkdecore -lplasma
36 noinst_HEADERS = plasma-engine-plasmamule.h plasma-applet-plasmamule.h plasmamule-dbus.h qt-emc.h
38 %.moc : %.h
39         ${QT_MOC} -o $@ $<
41 CLEANFILES = *.moc
43 MAINTAINERCLEANFILES = Makefile.in
45 install-data-hook: ${USER_INSTALL_HOOK}
47 USER_INSTALL:
48         ${UPDATE_MIME_DATABASE} ${KDE_MIME_PATH}
49         ${KBUILDSYCOCA}