blob: 4bb48f766b860dcac8294089da3a8821b3bd86f0 (
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
|
## Makefile.am for bookreader
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = bookreader bookreader_client
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# the library search path.
bookreader_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
# the libraries to link against.
bookreader_LDADD = $(LIB_TDEFILE) $(LIB_TDEPRINT)
# which sources should be compiled for bookreader
bookreader_SOURCES = main.cpp bookreader.cpp bookreaderiface.skel \
bookwidget.cpp theme.cpp settings.kcfgc settingsdlg.ui renderer.cpp bookmark.cpp \
bookmarksdlg.cpp
# these are the headers for your project
noinst_HEADERS = bookreader.h bookwidget.h theme.h renderer.h bookmark.h \
bookmarksdlg.h
# client stuff
bookreader_client_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
bookreader_client_LDADD = $(LIB_TDECORE)
bookreader_client_SOURCES = bookreader_client.cpp
kde_kcfg_DATA = bookreader.kcfg
# 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)/bookreader.pot
KDE_ICON = AUTO
# this is where the kdelnk file will go
kdelnkdir = $(kde_appsdir)/Utilities
kdelnk_DATA = bookreader.desktop
# this is where the XML-GUI resource file goes
rcdir = $(kde_datadir)/bookreader
rc_DATA = bookreaderui.rc
|