summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: c5991bac7343df66e0f52ee7bb91402387fb62f7 (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
# 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