# set the include path for X, qt and KDE INCLUDES = $(all_includes) # these are the headers for your project noinst_HEADERS = khdapsmonitor.h khdapsmonitorwidget.h khdapsmonitormain.h khdapsmonitorsystray.h sysfs.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)/khdapsmonitor.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 = khdapsmonitor # the application source, library search path, and link libraries khdapsmonitor_SOURCES = main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp \ sysfs.cpp khdapsmonitorwidgetbase.ui \ khdapsmonitormain.cpp khdapsmonitorsystray.cpp khdapsmonitor_LDFLAGS = $(KDE_RPATH) $(all_libraries) khdapsmonitor_LDADD = $(LIB_KDEUI) $(LIB_KDECORE) -lDCOP $(LIB_QT) # this is where the desktop file will go shelldesktopdir = $(kde_appsdir)/System shelldesktop_DATA = khdapsmonitor.desktop # this is where the shell's XML-GUI resource file goes #shellrcdir = $(kde_datadir)/khdapsmonitor #shellrc_DATA = khdapsmonitorui.rc