# set the include path for X, qt and KDE
INCLUDES = -I$(top_srcdir)/src $(all_includes)

# these are the headers for your project
noinst_HEADERS = kkeyled.h kkeyleddtlcfg.h ksoundcfg.h

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

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kkeyled.pot

KDE_ICON = kkeyled

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

# the application source, library search path, and link libraries
kkeyled_SOURCES = soundcfg.ui ledcfgdia.ui main.cpp kkeyled.cpp dockwidget.cpp \
	kdndbutton.cpp kmoviebutton.cpp kkeyleddtlcfg.cpp ksoundcfg.cpp
kkeyled_LDFLAGS = $(KDE_RPATH) $(all_libraries)
kkeyled_LDADD = $(LIB_KFILE) $(LIB_KDEUI)

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

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

kde_icon_KDEICON =  hi22-app-kkeyled.png hi48-app-kkeyled.png lo16-app-kkeyled.png lo22-app-kkeyled.png lo32-app-kkeyled.png lo48-app-kkeyled.png


syntax highlighted by Code2HTML, v. 0.9.1