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

# these are the headers for your project
noinst_HEADERS = ktemperature.h

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

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

KDE_ICON = ktemperature

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

# the application source, library search path, and link libraries
ktemperature_SOURCES = main.cpp ktemperature.cpp ktemperaturewidget.cpp ktemperaturewidgetbase.ui
ktemperature_LDFLAGS = $(KDE_RPATH) $(all_libraries)
ktemperature_LDADD = $(LIB_KIO) $(LIB_KDEUI)

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

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

