progress on alternate makefile. added zimlib

This commit is contained in:
reg_ 2012-03-13 15:05:13 +00:00
parent 6763a68667
commit 901a0fbfb3
3 changed files with 41 additions and 7 deletions

View File

@ -1,15 +1,12 @@
SUBDIRS = dependencies #\ #SUBDIRS = dependencies zimlib ctpp2 pugixml components
#zimlib \ SUBDIRS = zimlib
#ctpp2 \
#pugixml \
#components
if WITH_MANAGER if WITH_MANAGER
SUBDIRS += manager SUBDIRS += manager
endif endif
if (IS_POSIX && WITH_SERVER) if WITH_SERVER
SUBDIRS += server SUBDIRS += server
endif endif
if WITH_INDEXER if WITH_INDEXER

View File

@ -0,0 +1,2 @@
SUBDIRS=src
EXTRA_DIST=include

View 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=${LZMA_CFLAGS} -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
libzim_la_LDFLAGS=${LZMA_LDFLAGS}
CLEANFILES=*.obj *.lib *.dll