CPPFLAGS = $(ORIG_CPPFLAGS)
--DLL_LIB = blastxml xhtml xcgi
+-DLL_LIB = align_format blastxml xhtml xcgi
+DLL_LIB = xblast align_format xalnmgr xobjmgr xnetblast scoremat blastxml \
+ seq general xser tables xncbi
+DLL_LIB = xnetblast xser xconnect xutil xncbi
--- a/c++/src/objtools/align_format/Makefile.align_format.lib
+++ b/c++/src/objtools/align_format/Makefile.align_format.lib
-@@ -10,6 +10,10 @@
+@@ -13,6 +13,10 @@
CPPFLAGS = $(ORIG_CPPFLAGS)
+ xcgi xhtml tables xncbi
+
### EXAMPLES OF OTHER SETTINGS THAT MIGHT BE OF INTEREST
- # CPPFLAGS = $(ORIG_CPPFLAGS) $(NCBI_C_INCLUDE)
# CFLAGS = $(FAST_CFLAGS)
+ # CXXFLAGS = $(FAST_CXXFLAGS)
--- a/c++/src/objtools/alnmgr/Makefile.alnmgr.lib
+++ b/c++/src/objtools/alnmgr/Makefile.alnmgr.lib
@@ -12,3 +12,5 @@
--- a/c++/src/objtools/seqmasks_io/Makefile.seqmasks_io.lib
+++ b/c++/src/objtools/seqmasks_io/Makefile.seqmasks_io.lib
-@@ -11,6 +11,6 @@
+@@ -12,6 +12,6 @@
mask_writer_blastdb_maskinfo
ASN_DEP = seqset
+DLL_LIB = xncbi
--- a/c++/src/algo/blast/api/Makefile.xblast.lib
+++ b/c++/src/algo/blast/api/Makefile.xblast.lib
-@@ -74,11 +74,14 @@
+@@ -74,14 +74,15 @@
deltablast_options \
deltablast
LIB = xblast
--DLL_LIB = xalgodustmask xobjutil $(OBJMGR_LIBS)
-+DLL_LIB = xalgoblastdbindex blast composition_adjustment xalgowinmask \
-+ xalgodustmask seqdb xobjread xobjutil xobjmgr \
-+ xnetblastcli xnetblast scoremat seqset seq general \
-+ xser xconnect sequtil tables xutil xncbi
+ DLL_LIB = xalgoblastdbindex composition_adjustment xalgowinmask \
+ xalgodustmask seqmasks_io seqdb $(OBJREAD_LIBS) xobjutil \
+ blastdb xnetblastcli xnetblast scoremat xconnect tables \
+- $(SOBJMGR_LIBS)
++ $(SOBJMGR_LIBS) blast seqdb seqset seq general \
++ xser xconnect sequtil tables xutil xncbi
CFLAGS = $(FAST_CFLAGS)
# Strict gcc flags
LIB = blastinput
--DLL_LIB = xblast $(OBJMGR_LIBS)
-+DLL_LIB = xblast align_format ncbi_xloader_blastdb_rmt ncbi_xloader_blastdb \
-+ ncbi_xloader_genbank ncbi_xreader_id2 ncbi_xreader seqdb xobjread \
-+ xobjmgr scoremat seqset seq xser xutil xncbi
+-DLL_LIB = xblast align_format ncbi_xloader_blastdb_rmt ncbi_xloader_blastdb seqdb xobjread $(OBJMGR_LIBS) xutil
++ DLL_LIB = xblast align_format ncbi_xloader_blastdb_rmt ncbi_xloader_blastdb seqdb xobjread \
++ $(OBJMGR_LIBS) xutil ncbi_xloader_genbank ncbi_xreader_id2 ncbi_xreader \
++ scoremat seqset seq xser xutil xncbi
# should be redundant, given the above :-/
ASN_DEP = seqset xnetblast
+DLL_LIB = seqdb xobjutil xobjmgr seq xser sequtil xutil xncbi
### EXAMPLES OF OTHER SETTINGS THAT MIGHT BE OF INTEREST
- # CPPFLAGS = $(ORIG_CPPFLAGS) $(NCBI_C_INCLUDE)
+ # CFLAGS = $(FAST_CFLAGS)
--- a/c++/src/objtools/blast/services/Makefile.blast_services.lib
+++ b/c++/src/objtools/blast/services/Makefile.blast_services.lib
@@ -8,6 +8,8 @@
WATCHERS = vasilche
--- a/c++/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
+++ b/c++/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
-@@ -14,4 +14,7 @@
- # Dependencies for shared library
+@@ -15,4 +15,7 @@
DLL_LIB =
+ DLL_DLIB = $(GENBANK_READER_LDEP)
+DLL_DLIB = xobjmgr id2 seqsplit id1 seqset seq general \
+ xser xconnect xcompress xutil xncbi
Last-Update: 2011-06-10
--- a/c++/src/build-system/configure
+++ b/c++/src/build-system/configure
-@@ -5817,7 +5817,7 @@
+@@ -5860,7 +5860,7 @@
solaris* )
CONF_f_runpath="-R"
;;
linux*:ICC )
--- a/c++/src/build-system/configure.ac
+++ b/c++/src/build-system/configure.ac
-@@ -1535,7 +1535,7 @@
+@@ -1558,7 +1558,7 @@
solaris* )
CONF_f_runpath="-R"
;;
--- a/c++/src/connect/ext/ncbi_localnet.c
+++ b/c++/src/connect/ext/ncbi_localnet.c
-@@ -64,6 +64,8 @@
-
- #if defined(NCBI_OS_MSWIN) && !defined(PATH_MAX)
- # define PATH_MAX _MAX_PATH
-+#elif !defined(PATH_MAX)
-+# define PATH_MAX 4096
+@@ -62,6 +62,10 @@
+ # endif /*_MAX_PATH*/
#endif /*NCBI_OS_MSWIN && !PATH_MAX*/
++#if !defined(PATH_MAX)
++# define PATH_MAX 4096
++#endif /*Patch added for Ubuntu build*/
++
#if PATH_MAX < 256
+ # define BUFSIZE 256
+ #else
override_dh_clean:
dh_clean
- -for x in c++/src/objects/*/*.files; do \
- if [ -d $$x ]; then \
- (cd `dirname $$x` && ../../../BUILD/build/new_module.sh \
- `basename $$x .files`.module purge_sources); \
- fi \
+ #Tricky - for each module directory there may be several module files
+ #or there may be none but then there is still a module named after the
+ #directory. Clean everything!
+ -for x in c++/src/objects/* ; do \
+ (cd "$$x" && ( \
+ mods="`echo *.module`" ; \
+ [ "$${mods#*\*}" = "$$mods" ] || mods="`basename $$x`" ; \
+ for mod in $$mods ; do \
+ ../../../BUILD/build/new_module.sh $$mod purge_sources ; \
+ done ) ; \
+ ) ; \
done
- rm -rf c++/BUILD c++/compilers/dll c++/config.log c++/Makefile
+ rm -rf c++/compilers/dll c++/config.log c++/Makefile
rm -f c++/configure.lineno c++/src/objects/blastxml/blastxml.module
+ find -name check_exec.pid -delete
+ rm -rf c++/BUILD
%:
dh $@ -Dc++ --with autotools_dev --with quilt