# set the include path for X, qt and KDE INCLUDES = $(all_includes) # these are the headers for your project # 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)/qalculate_kde.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 = qalculate-kde # the application source, library search path, and link libraries qalculate_kde_SOURCES = buttonwithindexsignal.cpp kqalculate.cpp \ main.cpp preferences.cpp qalculatebuttonwithdata.cpp qalculateconvertnumberbasesdialog.cpp \ qalculateconvertunitsdialog.cpp qalculatedatasetsdialog.cpp qalculatedecimalsdialog.cpp qalculateeditdataobjectdialog.cpp \ qalculateeditdatasetdialog.cpp qalculateeditfunctiondialog.cpp qalculateeditmatrixvectordialog.cpp qalculateeditnamesdialog.cpp \ qalculateeditunitdialog.cpp qalculateeditunknownvariabledialog.cpp qalculateeditvariabledialog.cpp qalculateexportcsvdialog.cpp \ qalculateexpressionedit.cpp qalculatefunctionsdialog.cpp qalculateimportcsvdialog.cpp qalculateinsertfunctiondialog.cpp \ qalculateinsertmatrixvectordialog.cpp qalculate_kde_utils.cpp qalculateperiodictabledialog.cpp qalculateplotdialog.cpp \ qalculateprecisiondialog.cpp qalculatepreferencesdialog.cpp qalculatesetbasedialog.cpp \ qalculateunitsdialog.cpp qalculatevariablesdialog.cpp qalculateresultdisplay.cpp qalculate_kde_LDFLAGS = $(KDE_RPATH) $(all_libraries) qalculate_kde_LDADD = $(LIB_KDEUI) $(LIB_KIO) # this is where the desktop file will go shelldesktopdir = $(xdg_appsdir) shelldesktop_DATA = qalculate_kde.desktop # this is where the shell's XML-GUI resource file goes shellrcdir = $(kde_datadir)/qalculate_kde shellrc_DATA = qalculate_kdeui.rc noinst_HEADERS = preferences.h qalculateinsertfunctiondialog.h qalculateinsertmatrixvectordialog.h \ buttonwithindexsignal.h qalculateexpressionedit.h qalculateconvertnumberbasesdialog.h \ qalculatebuttonwithdata.h qalculatesetbasedialog.h \ qalculatevariablesdialog.h qalculatefunctionsdialog.h qalculateunitsdialog.h \ qalculateeditunknownvariabledialog.h qalculatedecimalsdialog.h qalculateconvertunitsdialog.h \ qalculateprecisiondialog.h qalculateeditunitdialog.h qalculateeditnamesdialog.h \ qalculateeditfunctiondialog.h qalculateplotdialog.h qalculateimportcsvdialog.h \ qalculateexportcsvdialog.h qalculatepreferencesdialog.h qalculateeditmatrixvectordialog.h \ qalculatedatasetsdialog.h qalculateeditdatasetdialog.h qalculateeditdataobjectdialog.h \ qalculateresultdisplay.h install-exec-local: cd $(DESTDIR)$(bindir) && rm -f qalculate; $(LN_S) qalculate-kde qalculate