summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 6ec8a493a6a0ac66a3158a5295f5dc16a1b47d85 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
####### tdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = tellico

tellico_SOURCES = borrower.cpp borrowerdialog.cpp \
	borroweritem.cpp calendarhandler.cpp collection.cpp collectionfactory.cpp \
	collectionfieldsdialog.cpp configdialog.cpp controller.cpp detailedentryitem.cpp \
	detailedlistview.cpp document.cpp entry.cpp entryeditdialog.cpp entrygroupitem.cpp \
	entryiconfactory.cpp entryiconview.cpp entryitem.cpp entrymerger.cpp entryupdater.cpp \
	entryview.cpp exportdialog.cpp fetchdialog.cpp fetcherconfigdialog.cpp field.cpp \
	fieldcompletion.cpp filehandler.cpp filter.cpp filterdialog.cpp filteritem.cpp \
	filterview.cpp groupiterator.cpp groupview.cpp image.cpp imagefactory.cpp \
	importdialog.cpp isbnvalidator.cpp iso5426converter.cpp iso6937converter.cpp \
	listviewcomparison.cpp loandialog.cpp loanitem.cpp loanview.cpp main.cpp mainwindow.cpp \
	progressmanager.cpp reportdialog.cpp statusbar.cpp tellico_kernel.cpp tellico_strings.cpp \
	tellico_utils.cpp upcvalidator.cpp viewstack.cpp xmphandler.cpp lccnvalidator.cpp

if !USE_LIBBTPARSE
  LDADD_LIBBTPARSE = ./translators/btparse/libbtparse.a
endif

if ENABLE_WEBCAM
  WEBCAMDIR = barcode
  LDADD_LIBBARCODE = ./barcode/libbarcode.a
endif
SUBDIRS = core gui collections translators fetch tests commands \
	cite newstuff rtf2html $(WEBCAMDIR)

tellico_LDADD = ./core/libcore.a ./cite/libcite.a ./fetch/libfetch.a \
	./collections/libcollections.a ./translators/libtranslators.a \
	./newstuff/libnewstuff.a ./translators/pilotdb/libpilotdb.a \
	./translators/pilotdb/libflatfile/liblibflatfile.a ./gui/libgui.a \
	./translators/pilotdb/libpalm/liblibpalm.a ./rtf2html/librtf2html.a \
	./commands/libcommands.a -lexslt $(LIB_TDEFILE) $(LIB_TDEHTML) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TQT) \
	$(LIBSOCKET) $(LIBXSLT_LIBS) $(TAGLIB_LIBS) $(KCDDB_LIBS) $(YAZ_LIBS) $(LIB_TDEIO) \
	$(LIB_TDEABC) $(KCAL_LIBS) $(LDADD_LIBBTPARSE) $(LIB_TDENEWSTUFF) $(EXEMPI_LIBS) \
	$(POPPLER_LIBS) $(LDADD_LIBBARCODE) $(LIBXML_LIBS)

EXTRA_DIST = tellicoui.rc tellicorc \
borrowerdialog.cpp          entryiconview.h\
borrowerdialog.h            entryitem.cpp        importdialog.cpp \
borrower.h                  entryitem.h          importdialog.h \
borroweritem.cpp            entryview.cpp        isbnvalidator.cpp \
borroweritem.h              entryview.h          isbnvalidator.h \
loanview.cpp                exportdialog.cpp     \
loanview.h                  exportdialog.h       \
collection.cpp              fetchdialog.cpp      \
collectionfactory.cpp       fetchdialog.h        \
collectionfactory.h         fieldcompletion.cpp  latin1literal.h \
collectionfieldsdialog.h    collectionfieldsdialog.cpp  fieldcompletion.h    \
collection.h                field.h              main.cpp \
configdialog.cpp            mainwindow.cpp \
configdialog.h              mainwindow.h \
controller.cpp              filehandler.cpp      \
controller.h                filehandler.h        \
filter.cpp    				 filterdialog.cpp \
filterdialog.h      		 reportdialog.cpp \
filter.h           			  reportdialog.h \
filteritem.cpp       \
filteritem.h         \
detailedlistview.h 			detailedlistview.cpp \
document.cpp                tellico_kernel.cpp \
document.h                  tellico_kernel.h \
entry.cpp                   groupview.cpp        tellico_strings.cpp \
entryeditdialog.cpp         groupview.h          tellico_strings.h \
entryeditdialog.h           image.cpp            tellico_utils.cpp \
entrygroupitem.cpp          imagefactory.cpp     tellico_utils.h \
entrygroupitem.h            imagefactory.h       viewstack.cpp \
entry.h                     image.h              viewstack.h \
entryiconview.cpp           loandialog.h \
loandialog.cpp ptrvector.h borrower.cpp datavectors.h \
calendarhandler.h calendarhandler.cpp \
loanitem.h loanitem.cpp groupiterator.h groupiterator.cpp \
stringset.h observer.h filterview.h filterview.cpp \
entryiconfactory.h entryiconfactory.cpp \
tellico_debug.h \
entryupdater.h entryupdater.cpp \
detailedentryitem.h detailedentryitem.cpp \
statusbar.h statusbar.cpp \
progressmanager.h progressmanager.cpp \
upcvalidator.h upcvalidator.cpp \
fetcherconfigdialog.h fetcherconfigdialog.cpp \
iso5426converter.h iso5426converter.cpp \
iso6937converter.h iso6937converter.cpp \
tellico_map.h \
listviewcomparison.h listviewcomparison.cpp \
entrymerger.h entrymerger.cpp \
xmphandler.h xmphandler.cpp \
lccnvalidator.h lccnvalidator.cpp

####### tdevelop will overwrite this part!!! (end)############
# These paths are KDE specific. Use them:
# kde_appsdir         Where your application's menu entry (.desktop) should go to.
# kde_icondir         Where your icon should go to - better use KDE_ICON.
# kde_sounddir        Where your sounds should go to.
# kde_htmldir         Where your docs should go to. (contains lang subdirs)
# 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 (system-wide ones with default values).
# kde_mimedir         Where mimetypes .desktop files should go to.
# kde_servicesdir     Where services .desktop files should go to.
# kde_servicetypesdir Where servicetypes .desktop files should go to.
# kde_toolbardir      Where general toolbar icons should go to (deprecated, use KDE_ICON).
# kde_wallpaperdir    Where general wallpapers should go to.
# kde_templatesdir    Where templates for the "New" menu (Konqueror/KDesktop) should go to.
# kde_bindir          Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
# kde_libdir          Where shared libraries should go to. Use lib_LTLIBRARIES.
# kde_moduledir       Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
# kde_styledir        Where Qt/KDE widget styles should go to (new in KDE 3).
# kde_designerdir     Where Qt Designer plugins should go to (new in KDE 3).

# set the include path for X, qt and KDE
AM_CPPFLAGS = $(all_includes) \
 $(LIBXML_CFLAGS) \
 $(LIBXSLT_CFLAGS) \
 $(EXEMPI_CFLAGS)

METASOURCES = AUTO

KDE_OPTIONS = noautodist

CLEANFILES = *~ *.loT

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

uidir = $(kde_datadir)/tellico
ui_DATA = tellicoui.rc

rcdir = $(kde_confdir)
rc_DATA = tellicorc

messages: rc.cpp
	@ touch $(podir)/tellico.pot;
	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
        if test -n "$$LIST"; then \
          $(XGETTEXT) --join-existing --add-comments="TRANSLATORS:" $$LIST -o $(podir)/tellico.pot; \
        fi

#include ../admin/Doxyfile.am