# set the include path for X, qt and KDE
INCLUDES = $(all_includes)

# these are the headers for your project
noinst_HEADERS = kommando.h roundbutton.h commandobutton.h menu.h \
	configdialogimpl.h menulistviewitem.h configuration.h dcopinterface.h servicemenu.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kommando.pot

KDE_ICON = AUTO

#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = kommando

# the application source, library search path, and link libraries
kommando_SOURCES = main.cpp kommando.cpp roundbutton.cpp commandobutton.cpp \
		menu.cpp configdialog.ui configdialogimpl.cpp menulistviewitem.cpp \
		configuration.cpp dcopinterface.skel servicemenu.cpp
kommando_LDFLAGS = $(KDE_RPATH) $(all_libraries)
kommando_LDADD = $(LIB_KIO) $(LIB_KDEUI)

# this is where the desktop file will go 
shelldesktopdir   = $(kde_appsdir)/Utilities
shelldesktop_DATA = kommando.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir   = $(kde_datadir)/kommando
shellrc_DATA = kommandoui.rc

