summaryrefslogtreecommitdiffstats
path: root/ktouch/src/Makefile.am
blob: 7f592eeb2aedd8abc84a1bd92b4f2e1d559e7631 (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
61
62
# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.kdelnk) should go to.
# kde_icondir       Where your icon should go to.
# kde_sounddir      Where system sounds should go to.
# kde_datadir       Where you install application data. (Use a subdir)
# kde_locale        Where translation files should go to.(contains lang subdirs)
# kde_cgidir        Where cgi-bin executables should go to.
# kde_confdir       Where config files should go to.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# set the include path for X, qt and KDE
INCLUDES = $(all_includes) -I$(top_srcdir)

# claim, which subdirectories you want to install
# if you don't have subdirectories, comment it
# SUBDIRS =

# these are the headers for your project
noinst_HEADERS = ktouchchartwidget.h 	ktouchcolorscheme.h 	ktouchdefaults.h \
		ktouch.h 	ktouchkeyboardeditor.h 	ktouchkeyboard.h 	ktouchkeyboardwidget.h \
		ktouchkeyconnector.h 	ktouchkey.h 	ktouchkeys.h 	ktouchlectureeditor.h 	ktouchlecture.h \
		ktouchleveldata.h 	ktouchopenrequest.h 	ktouchslideline.h 	ktouchstatisticsdata.h \
		ktouchstatistics.h 	ktouchstatus.h 	ktouchtrainer.h 	ktouchutils.h ktouchcoloreditor.h

# let automoc handle all of the meta source files (moc)
ktouch_METASOURCES = AUTO

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/ktouch.pot


#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = ktouch

# the application source, library search path, and link libraries
ktouch_SOURCES = ktouchchartwidget.cpp ktouchcoloreditor_dlg.ui \
	ktouchcolorscheme.cpp ktouch.cpp 	ktouchdefaults.cpp ktouchkeyboardwidget.cpp \
	ktouchkeyconnector.cpp ktouchkey.cpp 	ktouchkeys.cpp ktouchlecture.cpp ktouchlectureeditor.cpp \
	ktouchlectureeditor_dlg.ui 	ktouchleveldata.cpp ktouchopenrequest.cpp ktouchopenrequest_dlg.ui \
		ktouchprefcolorslayout.ui ktouchprefgenerallayout.ui ktouchprefkeyboardlayout.ui \
		ktouchpreftraininglayout.ui ktouchslideline.cpp ktouchstatistics.cpp ktouchstatisticsdata.cpp \
		ktouchstatistics_dlg.ui ktouchstatus.cpp ktouchstatuslayout.ui ktouchtrainer.cpp \
		ktouchutils.cpp main.cpp prefs.kcfgc ktouchcoloreditor.cpp

# the library search path.
ktouch_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor

# the libraries to link against. Be aware of the order. First the libraries,
# that depend on the following ones.
ktouch_LDADD = ../../libtdeedu/tdeeduplot/libtdeeduplot.la $(LIB_KIO)

rcdir = $(kde_datadir)/ktouch
rc_DATA = ktouchui.rc
kde_kcfg_DATA = ktouch.kcfg