# Targets
MYHEADERFILES="tcutil.h tchdb.h tcbdb.h tcfdb.h tctdb.h tcadb.h ejdb.h ejdb_private.h bson.h myconf.h basedefs.h"
-MYLIBRARYFILES="libtcejdb.a"
+MYLIBRARYFILES=""
MYLIBOBJFILES="tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o tcadb.o myconf.o md5.o ejdb.o \
bson.o numbers.o encoding.o utf8proc.o ejdbutl.o platform.o nxjson.o"
;;
esac
+if test "$enable_static" != "no"
+then
+MYLIBRARYFILES="$MYLIBRARYFILES libtcejdb.a"
+fi
# Shared libraries
if test "$enable_shared" != "no" && test "$enable_profile" != "yes"