summaryrefslogtreecommitdiffstats
path: root/bibletime/Makefile.am
blob: 863b11e14bc29ede0b00d77dd711ee4dba49d8a7 (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
63
64
65
66
67
68
69
70
71
bibletime_SOURCES = bibletime_init.cpp bibletime_slots.cpp bibletime.cpp \
		bibletimeapp.cpp main.cpp bibletime_dcop.cpp bibletimeinterface.skel

bibletime_LDADD   = \
./frontend/displaywindow/libdisplaywindow.a \
./frontend/display/libdisplay.a \
./frontend/keychooser/libkeychooser.a \
./frontend/mainindex/libmainindex.a \
./frontend/searchdialog/libsearchdialog.a \
./frontend/libfrontend.a \
./frontend/util/libfrontendutil.a \
./backend/libbackend.a \
./util/libutil.a \
-lXext \
$(LIB_TQT) \
$(LIB_TDECORE) \
$(LIB_TDEUI) \
-ltdeprint \
$(LIB_TDEFILE) \
$(LIB_TDEHTML) \
$(LIB_X11) \
$(LIB_SWORD) \
$(LIB_CLUCENE) \
$(LIBSOCKET) \
$(LIB_TDEPARTS)

SUBDIRS = display-templates backend frontend xml pics util

all_headers = bibletime.h bibletimeapp.h
include_HEADERS = bibletimeinterface.h

EXTRA_DIST = $(bibletime_SOURCES) $(all_headers)

# 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_minidir       Where your mini icon 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, KDE and Sword
INCLUDES = $(all_includes)

# claim, which subdirectories you want to install
# you can add here more. This one gets installed 
bin_PROGRAMS = bibletime 

bibletime_METASOURCES = AUTO

# the library search path. 
bibletime_LDFLAGS = $(BT_LDFLAGS) $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor $(LIB_TDEPARTS)

# them while "make clean", use CLEANFILES
DISTCLEANFILES = $(bibletime_METASOURCES)

# make messages.po. Move this one to ../po/ and "make merge" in po
# the -x is for skipping messages already translated in tdelibs
#messages:
#	$(XGETTEXT) -C -ki18n -x $(TDEDIR)/include/kde.pot `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o ../po/bibletime.pot

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(kde_confdir)

rpm: dist
noinst_HEADERS = bibletimeinterface.h