diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 15:59:57 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 15:59:57 +0200 |
commit | ee0c9d4bc3e25a409b3127be2876079f69719978 (patch) | |
tree | 04d895b486c04df1fe2e5dedb7cd5705eff06a9b /src/Makefile.am | |
download | qalculate-tde-ee0c9d4bc3e25a409b3127be2876079f69719978.tar.gz qalculate-tde-ee0c9d4bc3e25a409b3127be2876079f69719978.zip |
Initial import of qalculate-kde 0.9.7
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..c5991ba --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,58 @@ +# 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 |