blob: 30f344f1c52104646cfa9301d5a78dda07274439 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# 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_tde.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-tde
# the application source, library search path, and link libraries
qalculate_tde_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_tde_utils.cpp qalculateperiodictabledialog.cpp qalculateplotdialog.cpp \
qalculateprecisiondialog.cpp qalculatepreferencesdialog.cpp qalculatesetbasedialog.cpp \
qalculateunitsdialog.cpp qalculatevariablesdialog.cpp qalculateresultdisplay.cpp
qalculate_tde_LDFLAGS = $(KDE_RPATH) $(all_libraries)
qalculate_tde_LDADD = $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO)
# this is where the desktop file will go
shelldesktopdir = $(xdg_appsdir)
shelldesktop_DATA = qalculate_tde.desktop
# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/qalculate_tde
shellrc_DATA = qalculate_tdeui.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:
install -d $(DESTDIR)$(bindir)
rm -f $(DESTDIR)$(bindir)/qalculate
$(LN_S) qalculate-tde $(DESTDIR)$(bindir)/qalculate
|