####### kdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = tfmxcess
tfmxcess_SOURCES = ktfxsplashdata.cpp ktfxsplash.cpp KTfxWidget.cpp main.cpp TfxControlData.cpp 
tfmxcess_LDADD   =  -lkfile -lkfm -lkdeui -lkdecore -lqt -lXext -lX11 $(LIBSOCKET)

SUBDIRS = docs mini trans buttons 

EXTRA_DIST = tfmxcess.kdelnk tfmxcess.xpm TfxControlData.cpp TfxControlData.h main.cpp x-tfmx.kdelnk the_vault tfmx.xpm KTfxWidget.cpp KTfxWidget.h C_includes.h ktfxsplash.h ktfxsplash.cpp ktfxsplashdata.cpp SakuraSplash8b.xpm 

install-data-local:
	$(mkinstalldirs) $(kde_appsdir)/Multimedia/
	$(INSTALL_DATA) tfmxcess.kdelnk $(kde_appsdir)/Multimedia/tfmxcess.kdelnk
	$(mkinstalldirs) $(kde_icondir)/
	$(INSTALL_DATA) tfmxcess.xpm $(kde_icondir)/tfmxcess.xpm
	$(mkinstalldirs) $(kde_mimedir)/audio/
	$(INSTALL_DATA) x-tfmx.kdelnk $(kde_mimedir)/audio/x-tfmx.kdelnk
	$(mkinstalldirs) $(kde_icondir)/
	$(INSTALL_DATA) tfmx.xpm $(kde_icondir)/tfmx.xpm

uninstall-local:
	-rm -f $(kde_appsdir)/Multimedia/tfmxcess.kdelnk
	-rm -f $(kde_icondir)/tfmxcess.xpm
	-rm -f $(kde_mimedir)/audio/x-tfmx.kdelnk
	-rm -f $(kde_icondir)/tfmx.xpm

####### kdevelop will overwrite this part!!! (end)############
# 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.

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# claim, which subdirectories you want to install
# you can add here more. This one gets installed 
bin_PROGRAMS = tfmxcess 

tfmxcess_METASOURCES = USE_AUTOMOC

# the library search path. 
tfmxcess_LDFLAGS = $(all_libraries) $(KDE_RPATH)

# them while "make clean", use CLEANFILES
DISTCLEANFILES = $(tfmxcess_METASOURCES)

# make messages.po. Move this one to ../po/ and "make merge" in po
# the -x is for skipping messages already translated in kdelibs
messages:
	$(XGETTEXT) -C -ki18n -x $(includedir)/kde.po $(tfmxcess_SOURCES) && mv messages.po ../po/tfmxcess.pot






