# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.kdelnk) should go to. 
# kde_icondir       Where your icon should go to.
# kde_minidir       Where your mini icon should go to.
# kde_datadir       Where you install application data. (Use a subdir)
# kde_locale        Where translation files should go to.(contains lang subdirs)
# kde_cgidir        Where cgi-bin executables should go to.
# kde_confdir       Where config files should go to.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# just set the variable
APPSDIR = $(kde_appsdir)/Systemsteuerung
DOCDIR = $(kde_htmldir)/de/ktheme
DATADIR = $(kde_datadir)/ktheme
HELPDIR = $(kde_htmldir)/default/kcontrol/ktheme

INCLUDES= @all_includes@
bin_PROGRAMS = 	ktheme
ktheme_SOURCES	= ktheme.cpp jpeg.cpp kthemegfxconfig.cpp kthemecolorconfig.cpp kthemesoundconfig.cpp kthemeinfo.cpp widgetcanvas.cpp kpixmap.cpp moc_kthemesoundconfig.cpp moc_kthemecolorconfig.cpp moc_kthemegfxconfig.cpp moc_widgetcanvas.cpp moc_kthemeinfo.cpp
ktheme_LDFLAGS = @all_libraries@
ktheme_LDADD   = -lkdecore -lkdeui -lm -lqt -lXext -lX11 -lkfm -ljpeg -lX11 -ldl @LIBSOCKET@ -lmediatool  
BUILTSOURCES = moc_kthemesoundconfig.cpp moc_kthemecolorconfig.cpp moc_kthemegfxconfig.cpp moc_kthemeinfo.cpp moc_widgetcanvas.cpp
DISTCLEANFILES = $(BUILTSOURCES)

moc_kthemesoundconfig.cpp: kthemesoundconfig.h
	$(MOC) $< -o $@

moc_kthemecolorconfig.cpp: kthemecolorconfig.h
	$(MOC) $< -o $@

moc_kthemegfxconfig.cpp: kthemegfxconfig.h
	$(MOC) $< -o $@

moc_widgetcanvas.cpp: widgetcanvas.h
	$(MOC) $< -o $@

moc_kthemeinfo.cpp: kthemeinfo.h
	$(MOC) $< -o $@

