diff --git a/src/Makefile.am.alt b/src/Makefile.am.alt index d718715..0e10925 100644 --- a/src/Makefile.am.alt +++ b/src/Makefile.am.alt @@ -1,15 +1,12 @@ -SUBDIRS = dependencies #\ -#zimlib \ -#ctpp2 \ -#pugixml \ -#components +#SUBDIRS = dependencies zimlib ctpp2 pugixml components +SUBDIRS = zimlib if WITH_MANAGER SUBDIRS += manager endif -if (IS_POSIX && WITH_SERVER) - SUBDIRS += server +if WITH_SERVER + SUBDIRS += server endif if WITH_INDEXER diff --git a/src/zimlib/Makefile.am.alt b/src/zimlib/Makefile.am.alt index e69de29..6770d02 100644 --- a/src/zimlib/Makefile.am.alt +++ b/src/zimlib/Makefile.am.alt @@ -0,0 +1,2 @@ +SUBDIRS=src +EXTRA_DIST=include \ No newline at end of file diff --git a/src/zimlib/src/Makefile.am.alt b/src/zimlib/src/Makefile.am.alt index e69de29..37c3f5a 100644 --- a/src/zimlib/src/Makefile.am.alt +++ b/src/zimlib/src/Makefile.am.alt @@ -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 \ No newline at end of file