diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-21 04:30:08 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-21 04:30:08 +0000 |
| commit | a3570c360e8884f2bbf60b89e4d9531321ae01ad (patch) | |
| tree | a6bc829daca69956b99be4dfa3939ff14193ec54 /src/Makefile.am | |
| download | kbookreader-a3570c360e8884f2bbf60b89e4d9531321ae01ad.tar.gz kbookreader-a3570c360e8884f2bbf60b89e4d9531321ae01ad.zip | |
Initial import of kbookreader
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbookreader@1242482 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..94dcdea --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,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 = $(KDE_RPATH) $(all_libraries) + +# the libraries to link against. +bookreader_LDADD = $(LIB_KFILE) $(LIB_KDEPRINT) + +# 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 = $(KDE_RPATH) $(all_libraries) +bookreader_client_LDADD = $(LIB_KDECORE) +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 |
