mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-23 03:52:35 -04:00
moved all Makefile.am to Makefile.am.orig, added .alt ones and added link creation in autogen
This commit is contained in:
parent
2a0cdfaae3
commit
6763a68667
29
src/Makefile.am.alt
Normal file
29
src/Makefile.am.alt
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
SUBDIRS = dependencies #\
|
||||||
|
#zimlib \
|
||||||
|
#ctpp2 \
|
||||||
|
#pugixml \
|
||||||
|
#components
|
||||||
|
|
||||||
|
if WITH_MANAGER
|
||||||
|
SUBDIRS += manager
|
||||||
|
endif
|
||||||
|
|
||||||
|
if (IS_POSIX && WITH_SERVER)
|
||||||
|
SUBDIRS += server
|
||||||
|
endif
|
||||||
|
|
||||||
|
if WITH_INDEXER
|
||||||
|
SUBDIRS += indexer
|
||||||
|
endif
|
||||||
|
|
||||||
|
if WITH_INSTALLER
|
||||||
|
SUBDIRS += installer
|
||||||
|
endif
|
||||||
|
|
||||||
|
if WITH_SEARCHER
|
||||||
|
SUBDIRS += searcher
|
||||||
|
endif
|
||||||
|
|
||||||
|
if WITH_READER
|
||||||
|
SUBDIRS += reader
|
||||||
|
endif
|
24
src/Makefile.am.orig
Normal file
24
src/Makefile.am.orig
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
if IS_OSX
|
||||||
|
SUBDIRS = ${DEPENDENCES} \
|
||||||
|
zimlib \
|
||||||
|
ctpp2 \
|
||||||
|
pugixml \
|
||||||
|
components \
|
||||||
|
manager \
|
||||||
|
dependences
|
||||||
|
else
|
||||||
|
SUBDIRS = ${DEPENDENCES} \
|
||||||
|
zimlib \
|
||||||
|
ctpp2 \
|
||||||
|
pugixml \
|
||||||
|
components \
|
||||||
|
server \
|
||||||
|
manager
|
||||||
|
if IS_STATIC
|
||||||
|
else
|
||||||
|
SUBDIRS += indexer \
|
||||||
|
installer \
|
||||||
|
searcher \
|
||||||
|
reader
|
||||||
|
endif
|
||||||
|
endif
|
0
src/ctpp2/Makefile.am.alt
Normal file
0
src/ctpp2/Makefile.am.alt
Normal file
2
src/ctpp2/Makefile.am.orig
Normal file
2
src/ctpp2/Makefile.am.orig
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SUBDIRS=src
|
||||||
|
EXTRA_DIST=include
|
0
src/ctpp2/src/Makefile.am.alt
Normal file
0
src/ctpp2/src/Makefile.am.alt
Normal file
93
src/ctpp2/src/Makefile.am.orig
Normal file
93
src/ctpp2/src/Makefile.am.orig
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/ctpp2/include -I$(top_srcdir)/src/ctpp2/include/functions
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libctpp2.la
|
||||||
|
|
||||||
|
libctpp2_la_SOURCES = \
|
||||||
|
CTPP2Logger.cpp \
|
||||||
|
CTPP2VMExecutable.cpp \
|
||||||
|
CTPP2JSONFileParser.cpp \
|
||||||
|
CTPP2FileSourceLoader.cpp \
|
||||||
|
CTPP2VMMemoryCore.cpp \
|
||||||
|
CTPP2VMOpcodeCollector.cpp \
|
||||||
|
CTPP2VMArgStack.cpp \
|
||||||
|
CTPP2FileOutputCollector.cpp \
|
||||||
|
CTPP2Compiler.cpp \
|
||||||
|
CTPP2VMFileLoader.cpp \
|
||||||
|
CTPP2BitIndex.cpp \
|
||||||
|
CTPP2VMException.cpp \
|
||||||
|
CTPP2StreamOutputCollector.cpp \
|
||||||
|
CTPP2StringBuffer.cpp \
|
||||||
|
CDTSortRoutines.cpp \
|
||||||
|
CTPP2VMDebugInfo.cpp \
|
||||||
|
CTPP2SyscallFactory.cpp \
|
||||||
|
CTPP2HashTable.cpp \
|
||||||
|
CTPP2Exception.cpp \
|
||||||
|
CTPP2Sprintf.cpp \
|
||||||
|
CTPP2StaticData.cpp \
|
||||||
|
CDT.cpp \
|
||||||
|
CTPP2VMSTDLib.cpp \
|
||||||
|
CTPP2VMSyscall.cpp \
|
||||||
|
CTPP2ParserException.cpp \
|
||||||
|
CTPP2VM.cpp \
|
||||||
|
CTPP2FileLogger.cpp \
|
||||||
|
CTPP2Parser.cpp \
|
||||||
|
CTPP2Error.cpp \
|
||||||
|
CTPP2StaticText.cpp \
|
||||||
|
CTPP2StringOutputCollector.cpp \
|
||||||
|
CTPP2VMCodeStack.cpp \
|
||||||
|
functions/FnBase64Encode.cpp \
|
||||||
|
functions/FnInSet.cpp \
|
||||||
|
functions/FnSubstring.cpp \
|
||||||
|
functions/FnGetText.cpp \
|
||||||
|
functions/FnMin.cpp \
|
||||||
|
functions/FnMBSubstring.cpp \
|
||||||
|
functions/FnVersion.cpp \
|
||||||
|
functions/FnListElement.cpp \
|
||||||
|
functions/FnMax.cpp \
|
||||||
|
functions/FnConcat.cpp \
|
||||||
|
functions/FnSize.cpp \
|
||||||
|
functions/FnMBSize.cpp \
|
||||||
|
functions/FnBase64Decode.cpp \
|
||||||
|
functions/FnFormParam.cpp \
|
||||||
|
functions/FnXMLEscape.cpp \
|
||||||
|
functions/FnWMLEscape.cpp \
|
||||||
|
functions/FnHMACMD5.cpp \
|
||||||
|
functions/FnDateFormat.cpp \
|
||||||
|
functions/FnHTMLEscape.cpp \
|
||||||
|
functions/FnTruncate.cpp \
|
||||||
|
functions/FnURLEscape.cpp \
|
||||||
|
functions/FnIconv.cpp \
|
||||||
|
functions/FnURIEscape.cpp \
|
||||||
|
functions/FnNumFormat.cpp \
|
||||||
|
functions/FnMD5.cpp \
|
||||||
|
functions/FnGetText_.cpp \
|
||||||
|
functions/FnJSEscape.cpp \
|
||||||
|
functions/FnDefined.cpp \
|
||||||
|
functions/FnSprintf.cpp \
|
||||||
|
functions/FnHrefParam.cpp \
|
||||||
|
functions/FnCast.cpp \
|
||||||
|
functions/FnJSON.cpp \
|
||||||
|
functions/FnRandom.cpp \
|
||||||
|
functions/FnLog.cpp \
|
||||||
|
functions/FnObjDump.cpp \
|
||||||
|
functions/FnMBTruncate.cpp \
|
||||||
|
functions/FnDefault.cpp \
|
||||||
|
functions/FnNumeral.cpp \
|
||||||
|
functions/FnAvg.cpp \
|
||||||
|
functions/FnEmitter.cpp \
|
||||||
|
functions/FnError.cpp \
|
||||||
|
functions/FnHashElement.cpp \
|
||||||
|
functions/FnArrayElement.cpp \
|
||||||
|
CTPP2VMDumper.cpp \
|
||||||
|
CTPP2JSONParser.cpp \
|
||||||
|
CTPP2DTOA.cpp \
|
||||||
|
CTPP2Util.cpp
|
||||||
|
|
||||||
|
libctpp2_la_CXXFLAGS=-fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
|
||||||
|
if IS_OSX
|
||||||
|
libctpp2_la_CXXFLAGS+= -I/opt/local/include
|
||||||
|
endif
|
||||||
|
|
||||||
|
libctpp2_la_LDFLAGS=
|
||||||
|
|
||||||
|
CLEANFILES=*.obj *.lib *.dll
|
0
src/ctype/Makefile.am.alt
Normal file
0
src/ctype/Makefile.am.alt
Normal file
7
src/ctype/Makefile.am.orig
Normal file
7
src/ctype/Makefile.am.orig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
if IS_OSX
|
||||||
|
SUBDIRS = \
|
||||||
|
zimAccessor
|
||||||
|
else
|
||||||
|
SUBDIRS = \
|
||||||
|
zimAccessor
|
||||||
|
endif
|
0
src/ctype/zimAccessor/Makefile.am.alt
Normal file
0
src/ctype/zimAccessor/Makefile.am.alt
Normal file
23
src/ctype/zimAccessor/Makefile.am.orig
Normal file
23
src/ctype/zimAccessor/Makefile.am.orig
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
pkglib_LTLIBRARIES=libZimAccessor.la
|
||||||
|
pkglibdir=$(libdir)/kiwix/components/ctype
|
||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/common -I$(top_srcdir)/src/zimlib/include
|
||||||
|
libZimAccessor_la_SOURCES= \
|
||||||
|
zimAccessor.cpp \
|
||||||
|
zimAccessorWrapper.cpp \
|
||||||
|
$(top_srcdir)/src/common/kiwix/reader.cpp \
|
||||||
|
IZimAccessor.h \
|
||||||
|
zimAccessorWrapper.h \
|
||||||
|
$(top_srcdir)/src/common/kiwix/reader.h \
|
||||||
|
$(top_srcdir)/src/common/pathTools.h \
|
||||||
|
$(top_srcdir)/src/common/pathTools.cpp \
|
||||||
|
libZimAccessor_la_CXXFLAGS=$(LIBZIM_CFLAGS) -I../../common/
|
||||||
|
if IS_STATIC
|
||||||
|
libZimAccessor_la_LDFLAGS=$(LIBZIM_STATIC_LDFLAGS) $(LIBZIMSELF_STATIC_LDFLAGS) $(LIBLZMA_STATIC_LDFLAGS)
|
||||||
|
else
|
||||||
|
libZimAccessor_la_LDFLAGS=$(LIBZIM_LDFLAGS)
|
||||||
|
libZimAccessor_la_LIBADD=$(top_builddir)/src/zimlib/src/libzim.la
|
||||||
|
endif
|
||||||
|
if IS_OSX
|
||||||
|
libZimAccessor_la_LDFLAGS=$(LIBZIM_STATIC_LDFLAGS) $(LIBZIMSELF_STATIC_LDFLAGS)
|
||||||
|
endif
|
||||||
|
CLEANFILES=*.lib *.obj *.dll
|
0
src/indexer/Makefile.am.alt
Normal file
0
src/indexer/Makefile.am.alt
Normal file
21
src/indexer/Makefile.am.orig
Normal file
21
src/indexer/Makefile.am.orig
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
bin_PROGRAMS=kiwix-index
|
||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/common -I$(top_srcdir)/src/zimlib/include -I$(top_srcdir)/src/ctpp2/include
|
||||||
|
kiwix_index_SOURCES= \
|
||||||
|
kiwix-index.cpp \
|
||||||
|
../common/kiwix/xapian/myhtmlparse.cc \
|
||||||
|
../common/kiwix/xapian/htmlparse.cc \
|
||||||
|
../common/unaccent.cpp \
|
||||||
|
../common/kiwix/indexer.cpp \
|
||||||
|
../common/kiwix/xapianIndexer.cpp \
|
||||||
|
../common/kiwix/cluceneIndexer.cpp
|
||||||
|
include_HEADERS= \
|
||||||
|
../common/kiwix/xapian/myhtmlparse.h \
|
||||||
|
../common/kiwix/xapian/namedentities.h \
|
||||||
|
../common/kiwix/xapian/htmlparse.h \
|
||||||
|
../common/unaccent.h \
|
||||||
|
../common/kiwix/indexer.h \
|
||||||
|
../common/kiwix/xapianIndexer.h \
|
||||||
|
../common/kiwix/cluceneIndexer.h
|
||||||
|
kiwix_index_CXXFLAGS=$(LIBXAPIAN_CFLAGS) $(LIBCLUCENE_CFLAGS) $(LIBICU_CFLAGS) $(LIBZIM_CFLAGS) -I../common/
|
||||||
|
kiwix_index_LDFLAGS=$(LIBXAPIAN_LDFLAGS) $(LIBCLUCENE_LDFLAGS) $(LIBICU_LDFLAGS) $(LIBZIM_LDFLAGS)
|
||||||
|
kiwix_index_LDADD=../zimlib/src/.libs/libzim.a
|
0
src/installer/Makefile.am.alt
Normal file
0
src/installer/Makefile.am.alt
Normal file
33
src/installer/Makefile.am.orig
Normal file
33
src/installer/Makefile.am.orig
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
bin_PROGRAMS=kiwix-install
|
||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/common -I$(top_srcdir)/src/zimlib/include -I$(top_srcdir)/src/pugixml
|
||||||
|
kiwix_install_SOURCES= \
|
||||||
|
kiwix-install.cpp \
|
||||||
|
../common/kiwix/xapian/myhtmlparse.cc \
|
||||||
|
../common/kiwix/xapian/htmlparse.cc \
|
||||||
|
../common/kiwix/xapianIndexer.cpp \
|
||||||
|
../common/kiwix/cluceneIndexer.cpp \
|
||||||
|
../common/unaccent.cpp \
|
||||||
|
../common/base64.cpp \
|
||||||
|
../common/kiwix/indexer.cpp \
|
||||||
|
../common/kiwix/reader.cpp \
|
||||||
|
../common/kiwix/library.cpp \
|
||||||
|
../common/kiwix/manager.cpp \
|
||||||
|
../common/regexTools.cpp \
|
||||||
|
../common/pathTools.cpp
|
||||||
|
include_HEADERS= \
|
||||||
|
../common/kiwix/xapian/myhtmlparse.h \
|
||||||
|
../common/kiwix/xapian/namedentities.h \
|
||||||
|
../common/kiwix/xapian/htmlparse.h \
|
||||||
|
../common/kiwix/xapianIndexer.h \
|
||||||
|
../common/kiwix/cluceneIndexer.h \
|
||||||
|
../common/unaccent.h \
|
||||||
|
../common/base64.h \
|
||||||
|
../common/kiwix/indexer.h \
|
||||||
|
../common/kiwix/reader.h \
|
||||||
|
../common/kiwix/library.h \
|
||||||
|
../common/kiwix/manager.h \
|
||||||
|
../common/regexTools.h \
|
||||||
|
../common/pathTools.h
|
||||||
|
kiwix_install_CXXFLAGS=$(LIBXAPIAN_CFLAGS) $(LIBCLUCENE_CFLAGS) $(LIBICU_CFLAGS) $(LIBPUGIXML_CFLAGS) -I../common/
|
||||||
|
kiwix_install_LDFLAGS=$(LIBXAPIAN_LDFLAGS) $(LIBCLUCENE_LDFLAGS) $(LIBICU_LDFLAGS) $(LIBPUGIXML_LDFLAGS)
|
||||||
|
kiwix_install_LDADD=../zimlib/src/libzim.la ../pugixml/libpugixml.la
|
0
src/manager/Makefile.am.alt
Normal file
0
src/manager/Makefile.am.alt
Normal file
27
src/manager/Makefile.am.orig
Normal file
27
src/manager/Makefile.am.orig
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
bin_PROGRAMS=kiwix-manage
|
||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/common -I$(top_srcdir)/src/zimlib/include -I$(top_srcdir)/src/pugixml
|
||||||
|
kiwix_manage_SOURCES= \
|
||||||
|
kiwix-manage.cpp \
|
||||||
|
../common/kiwix/manager.cpp \
|
||||||
|
../common/kiwix/library.cpp \
|
||||||
|
../common/kiwix/reader.cpp \
|
||||||
|
../common/base64.cpp \
|
||||||
|
../common/regexTools.cpp \
|
||||||
|
../common/pathTools.cpp
|
||||||
|
include_HEADERS= \
|
||||||
|
../common/kiwix/manager.h \
|
||||||
|
../common/kiwix/library.h \
|
||||||
|
../common/kiwix/reader.h \
|
||||||
|
../common/base64.h \
|
||||||
|
../common/regexTools.h \
|
||||||
|
../common/pathTools.h
|
||||||
|
kiwix_manage_CXXFLAGS=$(LIBZIM_CFLAGS) $(LIBICU_CFLAGS) -I../common/
|
||||||
|
if IS_STATIC
|
||||||
|
kiwix_manage_LDFLAGS=$(LIBZIM_STATIC_LDFLAGS) $(LIBICU_STATIC_LDFLAGS)
|
||||||
|
else
|
||||||
|
kiwix_manage_LDFLAGS=$(LIBZIM_LDFLAGS) $(LIBICU_LDFLAGS)
|
||||||
|
kiwix_manage_LDADD=../zimlib/src/libzim.la ../pugixml/libpugixml.la
|
||||||
|
endif
|
||||||
|
if IS_OSX
|
||||||
|
kiwix_manage_LDFLAGS=$(LIBZIM_STATIC_LDFLAGS) $(LIBICU_STATIC_LDFLAGS)
|
||||||
|
endif
|
0
src/pugixml/Makefile.am.alt
Normal file
0
src/pugixml/Makefile.am.alt
Normal file
13
src/pugixml/Makefile.am.orig
Normal file
13
src/pugixml/Makefile.am.orig
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
AM_CPPFLAGS=
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libpugixml.la
|
||||||
|
|
||||||
|
libpugixml_la_SOURCES = \
|
||||||
|
pugixml.cpp \
|
||||||
|
pugixml.hpp \
|
||||||
|
pugiconfig.hpp
|
||||||
|
|
||||||
|
libpugixml_la_CXXFLAGS=-fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
|
||||||
|
libpugixml_la_LDFLAGS=
|
||||||
|
|
||||||
|
CLEANFILES=*.obj *.lib *.dll
|
0
src/reader/Makefile.am.alt
Normal file
0
src/reader/Makefile.am.alt
Normal file
14
src/reader/Makefile.am.orig
Normal file
14
src/reader/Makefile.am.orig
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
bin_PROGRAMS=kiwix-read
|
||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/common -I$(top_srcdir)/src/zimlib/include
|
||||||
|
kiwix_read_SOURCES= \
|
||||||
|
kiwix-read.cpp \
|
||||||
|
../common/kiwix/reader.cpp
|
||||||
|
include_HEADERS= \
|
||||||
|
../common/kiwix/reader.h
|
||||||
|
kiwix_read_CXXFLAGS=$(LIBZIM_CFLAGS) -I../common/
|
||||||
|
if IS_STATIC
|
||||||
|
kiwix_read_LDFLAGS=$(LIBZIM_STATIC_LDFLAGS) $(LIBZIMSELF_STATIC_LDFLAGS) $(LIBLZMA_STATIC_LDFLAGS)
|
||||||
|
else
|
||||||
|
kiwix_read_LDFLAGS=$(LIBZIM_LDFLAGS)
|
||||||
|
kiwix_read_LDADD=$(top_builddir)/src/zimlib/src/libzim.la
|
||||||
|
endif
|
0
src/searcher/Makefile.am.alt
Normal file
0
src/searcher/Makefile.am.alt
Normal file
16
src/searcher/Makefile.am.orig
Normal file
16
src/searcher/Makefile.am.orig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
bin_PROGRAMS=kiwix-search
|
||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/common
|
||||||
|
kiwix_search_SOURCES= \
|
||||||
|
kiwix-search.cpp \
|
||||||
|
../common/unaccent.cpp \
|
||||||
|
../common/kiwix/searcher.cpp \
|
||||||
|
../common/kiwix/xapianSearcher.cpp \
|
||||||
|
../common/kiwix/cluceneSearcher.cpp
|
||||||
|
include_HEADERS= \
|
||||||
|
../common/unaccent.h \
|
||||||
|
../common/kiwix/searcher.h \
|
||||||
|
../common/kiwix/xapianSearcher.h \
|
||||||
|
../common/kiwix/cluceneSearcher.h
|
||||||
|
kiwix_search_CXXFLAGS=$(LIBXAPIAN_CFLAGS) $(LIBCLUCENE_CFLAGS) $(LIBICU_CFLAGS) $(LIBCTPP2_CFLAGS) -I../common/
|
||||||
|
kiwix_search_LDFLAGS=$(LIBXAPIAN_LDFLAGS) $(LIBCLUCENE_LDFLAGS) $(LIBICU_LDFLAGS) $(LIBCTPP2_LDFLAGS)
|
||||||
|
kiwix_search_LDADD=../ctpp2/src/.libs/libctpp2.a
|
0
src/server/Makefile.am.alt
Normal file
0
src/server/Makefile.am.alt
Normal file
34
src/server/Makefile.am.orig
Normal file
34
src/server/Makefile.am.orig
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
bin_PROGRAMS=kiwix-serve
|
||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/common -I$(top_srcdir)/src/zimlib/include -I$(top_srcdir)/src/ctpp2/include -I$(top_srcdir)/src/pugixml
|
||||||
|
kiwix_serve_SOURCES= \
|
||||||
|
kiwix-serve.cpp \
|
||||||
|
../common/kiwix/reader.cpp \
|
||||||
|
../common/kiwix/searcher.cpp \
|
||||||
|
../common/kiwix/manager.cpp \
|
||||||
|
../common/kiwix/library.cpp \
|
||||||
|
../common/kiwix/xapianSearcher.cpp \
|
||||||
|
../common/kiwix/cluceneSearcher.cpp \
|
||||||
|
../common/unaccent.cpp \
|
||||||
|
../common/base64.cpp \
|
||||||
|
../common/pathTools.cpp \
|
||||||
|
../common/regexTools.cpp \
|
||||||
|
../common/splitString.cpp
|
||||||
|
include_HEADERS= \
|
||||||
|
../common/kiwix/reader.h \
|
||||||
|
../common/kiwix/searcher.h \
|
||||||
|
../common/kiwix/manager.h \
|
||||||
|
../common/kiwix/library.h \
|
||||||
|
../common/kiwix/xapianSearcher.h \
|
||||||
|
../common/kiwix/cluceneSearcher.h \
|
||||||
|
../common/unaccent.h \
|
||||||
|
../common/base64.h \
|
||||||
|
../common/pathTools.h \
|
||||||
|
../common/regexTools.h \
|
||||||
|
../common/splitString.cpp
|
||||||
|
kiwix_serve_CXXFLAGS=${LIBMICROHTTPD_CFLAGS} $(LIBPUGIXML_CFLAGS) $(LIBCTPP2_CFLAGS) $(LIBCLUCENE_CFLAGS) $(LIBXAPIAN_CFLAGS) $(LIBICU_CFLAGS) $(LIBZIM_CFLAGS) -I../common/
|
||||||
|
if IS_STATIC
|
||||||
|
kiwix_serve_LDFLAGS= -ldl -lm -lpthread -luuid ${LIBMICROHTTPD_STATIC_LDFLAGS} ${LIBPUGIXML_STATIC_LDFLAGS} $(LIBCTPP2_STATIC_LDFLAGS) $(LIBCLUCENE_STATIC_LDFLAGS) $(LIBXAPIAN_STATIC_LDFLAGS) $(LIBICU_STATIC_LDFLAGS) $(LIBZIMSELF_STATIC_LDFLAGS) $(LIBLZMA_STATIC_LDFLAGS) $(LIBZ_STATIC_LDFLAGS)
|
||||||
|
else
|
||||||
|
kiwix_serve_LDFLAGS=${LIBMICROHTTPD_LDFLAGS} $(LIBPUGIXML_LDLAGS) $(LIBCTPP2_LDLAGS) $(LIBCLUCENE_LDFLAGS) $(LIBXAPIAN_LDFLAGS) $(LIBICU_LDFLAGS) $(LIBZIM_LDFLAGS)
|
||||||
|
endif
|
||||||
|
kiwix_serve_LDADD=../zimlib/src/.libs/libzim.a ../ctpp2/src/.libs/libctpp2.a ../pugixml/.libs/libpugixml.a
|
0
src/zimlib/Makefile.am.alt
Normal file
0
src/zimlib/Makefile.am.alt
Normal file
2
src/zimlib/Makefile.am.orig
Normal file
2
src/zimlib/Makefile.am.orig
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SUBDIRS=src
|
||||||
|
EXTRA_DIST=include
|
0
src/zimlib/src/Makefile.am.alt
Normal file
0
src/zimlib/src/Makefile.am.alt
Normal file
35
src/zimlib/src/Makefile.am.orig
Normal file
35
src/zimlib/src/Makefile.am.orig
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
AM_CPPFLAGS=-I$(top_srcdir)/src/zimlib/include
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libzim.la
|
||||||
|
|
||||||
|
libzim_la_SOURCES = \
|
||||||
|
article.cpp \
|
||||||
|
articlesearch.cpp \
|
||||||
|
cluster.cpp \
|
||||||
|
dirent.cpp \
|
||||||
|
file.cpp \
|
||||||
|
fileheader.cpp \
|
||||||
|
fileimpl.cpp \
|
||||||
|
indexarticle.cpp \
|
||||||
|
ptrstream.cpp \
|
||||||
|
search.cpp \
|
||||||
|
template.cpp \
|
||||||
|
unicode.cpp \
|
||||||
|
uuid.cpp \
|
||||||
|
zintstream.cpp \
|
||||||
|
envvalue.cpp \
|
||||||
|
lzmastream.cpp \
|
||||||
|
unlzmastream.cpp \
|
||||||
|
fstream.cpp \
|
||||||
|
md5.cpp \
|
||||||
|
md5stream.cpp \
|
||||||
|
ptrstream.h \
|
||||||
|
log.h \
|
||||||
|
envvalue.h \
|
||||||
|
md5stream.h \
|
||||||
|
md5.h
|
||||||
|
|
||||||
|
libzim_la_CXXFLAGS=${LIBLZMA_CFLAGS} -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
|
||||||
|
libzim_la_LDFLAGS=${LIBLZMA_LDFLAGS}
|
||||||
|
|
||||||
|
CLEANFILES=*.obj *.lib *.dll
|
0
static/Makefile.am.alt
Normal file
0
static/Makefile.am.alt
Normal file
2
static/Makefile.am.orig
Normal file
2
static/Makefile.am.orig
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
templatedir=$(pkgdatadir)/static
|
||||||
|
template_DATA=results.tmpl
|
Loading…
x
Reference in New Issue
Block a user