1
# set the include path for X, qt and KDE
2
INCLUDES = $(all_includes) $(LIBXSLT_CFLAGS) $(LIBXML_CFLAGS) $(LIBYAZ_CFLAGS) $(LIBBIBUTILS_CFLAGS)
4
# these are the headers for your project
5
noinst_HEADERS = documentlistviewitem.h fileexportertoolchain.h \
6
comment.h commentwidget.h documentlistview.h documentlistviewitem.h \
7
documentsourceview.h documentwidget.h element.h encoder.h encoderlatex.h encoderxml.h \
8
entry.h entryfield.h entrywidget.h entrywidgetauthor.h entrywidgetexternal.h \
9
entrywidgetkeyword.h entrywidgetmisc.h entrywidgetother.h entrywidgetpublication.h \
10
entrywidgetsource.h entrywidgettab.h entrywidgettitle.h entrywidgetuserdefined.h \
11
entrywidgetwarningsitem.h fieldlineedit.h fieldlistview.h file.h fileexporter.h \
12
fileexporterbibtex.h fileexporterbibutils.h fileexporterdocbook5.h fileexporterexternal.h \
13
fileexporterpdf.h fileexporterps.h fileexporterris.h fileimporterbibtex.h \
14
fileexporterrtf.h fileexporterxml.h fileexporterxslt.h fileimporter.h \
15
fileimporterbibutils.h fileimporterexternal.h fileimporterris.h findduplicates.h \
16
idsuggestions.h idsuggestionswidget.h iso5426converter.h iso6937converter.h \
17
kbibtex_part.h kbibtexshell.h latin1literal.h macro.h macrowidget.h mergeelements.h \
18
messagehandler.h preamble.h preamblewidget.h searchbar.h settings.h settingsdlg.h \
19
settingsediting.h settingsfileio.h settingsidsuggestions.h settingskeyword.h \
20
settingssearchurl.h settingsuserdefinedinput.h settingsz3950.h sidebar.h value.h \
21
valuewidget.h webquery.h webqueryamatex.h webqueryarxiv.h webquerybibsonomy.h \
22
webquerycitebase.h webqueryciteseerx.h webquerycsb.h webquerydblp.h \
23
webquerygooglescholar.h webqueryieeexplore.h webquerymathscinet.h webquerypubmed.h \
24
webquerysciencedirect.h webqueryspireshep.h webqueryz3950.h webqueryzmath.h xsltransform.h \
26
# let automoc handle all of the meta source files (moc)
30
$(EXTRACTRC) *.rc >>rc.cpp
31
$(XGETTEXT) *.cpp -o $(podir)/kbibtex.pot
35
# this Makefile creates both a KPart application and a KPart
36
#########################################################################
38
#########################################################################
39
# this is the program that gets installed. it's name is used for all
40
# of the other Makefile.am variables
41
bin_PROGRAMS = kbibtex
43
# the application source, library search path, and link libraries
44
kbibtex_SOURCES = kbibtexshell.cpp main.cpp
45
kbibtex_LDFLAGS = $(all_libraries)
46
kbibtex_LDADD = $(LIB_KPARTS)
48
# this is where the desktop file will go
49
shelldesktopdir = $(xdg_appsdir)
50
shelldesktop_DATA = kbibtex.desktop
52
#########################################################################
54
#########################################################################
55
kde_module_LTLIBRARIES = libkbibtexpart.la
57
# the Part's source, library search path, and link libraries
58
libkbibtexpart_la_SOURCES = comment.cpp fileexporterdocbook5.cpp commentwidget.cpp documentlistview.cpp \
59
documentlistviewitem.cpp documentsourceview.cpp documentwidget.cpp element.cpp encoder.cpp \
60
encoderlatex.cpp encoderxml.cpp entry.cpp entryfield.cpp entrywidget.cpp \
61
entrywidgetauthor.cpp entrywidgetexternal.cpp entrywidgetkeyword.cpp entrywidgetmisc.cpp \
62
entrywidgetother.cpp entrywidgetpublication.cpp entrywidgetsource.cpp entrywidgettab.cpp \
63
entrywidgettitle.cpp entrywidgetuserdefined.cpp entrywidgetwarningsitem.cpp \
64
z3950connection.cpp fieldlineedit.cpp fieldlistview.cpp file.cpp fileexporter.cpp \
65
fileexporterbibtex.cpp fileexporterris.cpp fileexporterbibutils.cpp fileexporterexternal.cpp fileexporterpdf.cpp \
66
fileexporterps.cpp fileexporterrtf.cpp fileexportertoolchain.cpp fileexporterxml.cpp \
67
fileexporterxslt.cpp fileimporter.cpp fileimporterbibtex.cpp fileimporterbibutils.cpp \
68
fileimporterexternal.cpp fileimporterris.cpp idsuggestions.cpp idsuggestionswidget.cpp \
69
kbibtex_part.cpp macro.cpp macrowidget.cpp mergeelements.cpp preamble.cpp webqueryieeexplore.cpp \
70
preamblewidget.cpp searchbar.cpp settings.cpp settingsdlg.cpp settingsediting.cpp \
71
settingsfileio.cpp settingsidsuggestions.cpp settingskeyword.cpp settingssearchurl.cpp \
72
settingsuserdefinedinput.cpp sidebar.cpp value.cpp valuewidget.cpp webquery.cpp webqueryamatex.cpp \
73
webqueryarxiv.cpp webqueryciteseerx.cpp webquerybibsonomy.cpp webquerycsb.cpp webquerycitebase.cpp webquerydblp.cpp webqueryz3950.cpp \
74
webquerygooglescholar.cpp webquerypubmed.cpp webqueryspireshep.cpp webqueryzmath.cpp \
75
xsltransform.cpp webquerysciencedirect.cpp findduplicates.cpp settingsz3950.cpp \
76
messagehandler.cpp iso6937converter.cpp iso5426converter.cpp webquerymathscinet.cpp
77
libkbibtexpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
78
libkbibtexpart_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KUTILS) $(LIBXSLT_LIBS) $(LIBXML_LIBS) $(LIBYAZ_LIBS) $(LIBBIBUTILS_LIBS) -lkatepartinterfaces
80
# this is where the desktop file will go
81
partdesktopdir = $(kde_servicesdir)
82
partdesktop_DATA = kbibtex_part.desktop
84
# this is where the XML-GUI resource fileis go
85
partrcdir = ${kde_datadir}/kbibtexpart
86
partrc_DATA = kbibtex_part.rc
87
shellrcdir = ${kde_datadir}/kbibtex
88
shellrc_DATA = kbibtex_shell.rc
90
appdir = $(kde_datadir)/kbibtex
91
app_DATA = z3950-servers.cfg