Marco Antonelli wrote:
Stefan Manegold wrote:
On Thu, Jul 24, 2008 at 12:10:53PM +0000, Marco Antonelli wrote:
Update of /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16238/src/modules/mal/Tests
Added Files: rdf.stable.out rdf.mal rdf.stable.err rdf.testdata.ttl Log Message: Test case for rdf.mx: it imports rdf data from rdf.testdata.ttl and then prints the dictionary and the 6 data tables. It is still not in the 'All' file since rdf is not compiled by default.
Wouldn't it be the time to make rdf compile by default?
Otherwise, how can the compialtion of rdf be enabled (easily)?
I didn't answer this question, here (attached) is my Makefile.ag in MonetDB5/src/modules/mal
Is there any configue switch, or alike?
rdf.mx depends on libraptor>=1.4.17, and I thought it wouldn't compile with --enable-strict but I just tried and it does.
Marco
Stefan
# The contents of this file are subject to the MonetDB Public License # Version 1.1 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the # License for the specific language governing rights and limitations # under the License. # # The Original Code is the MonetDB Database System. # # The Initial Developer of the Original Code is CWI. # Portions created by CWI are Copyright (C) 1997-2008 CWI. # All Rights Reserved. SUBDIRS = crackers INCLUDES = -I/ufs/antonell/lib/raptor-1.4.14/include -I../atoms -I../kernel \ -I../../mal $(CLIENTS_INCS) $(MONETDB_INCS) \ $(Z_CFLAGS) $(BZ_CFLAGS) $(PCRE_CFLAGS) $(READLINE_INCS) MTSAFE LIBS = { DIR = libdir/MonetDB5 SEP = _ SOURCES = \ chopper.mx constraints.mx language.mx box.mx \ profiler.mx const.mx algebraExtensions.mx \ inspect.mx manual.mx pqueue.mx mkey.mx \ factory.mx mdb.mx \ urlbox.mx mat.mx \ sabaoth.mx remote.mx batxml.mx txtsim.mx recycle.mx #radix.mx LIBS = ../../mal/libmonetdb5 ../atoms/lib_xml $(MONETDB_LIBS) -lbat -lstream $(MATH_LIBS) \ $(CLIENTS_LIBS) -lMapi \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib_batExtensions = { DIR = libdir/MonetDB5 SEP = _ SOURCES = batExtensions.mx LIBS = ../../mal/libmonetdb5 ../kernel/lib_bat5 $(MONETDB_LIBS) -lbat -lstream $(CLIENTS_LIBS) -lMapi \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib_bpm = { DIR = libdir/MonetDB5 SEP = _ SOURCES = bpm.mx LIBS = ../../mal/libmonetdb5 ../kernel/lib_bat5 ../kernel/lib_algebra $(MONETDB_LIBS) -lbat -lstream $(CLIENTS_LIBS) -lMapi \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib_mal_mapi = { DIR = libdir/MonetDB5 SEP = _ SOURCES = mal_mapi.mx LIBS = ../../mal/libmonetdb5 $(MONETDB_LIBS) -lbat -lstream $(CLIENTS_LIBS) -lMapi \ $(OPENSSL_LIBS) $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib_mal_io = { DIR = libdir/MonetDB5 SEP = _ SOURCES = mal_io.mx LIBS = ../../mal/libmonetdb5 $(MONETDB_LIBS) -lbat -lstream \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib__clients = { DIR = libdir/MonetDB5 SOURCES = clients.mx #SCRIPTS = mal mil "" LIBS = ../../mal/libmonetdb5 $(MONETDB_LIBS) -lbat -lstream \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) $(READLINE_LIBS) } lib__pcre = { DIR = libdir/MonetDB5 SOURCES = pcre.mx #SCRIPTS = mal mil "" LIBS = ../../mal/libmonetdb5 $(MONETDB_LIBS) -lbat -lstream \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) $(PCRE_LIBS) } lib__rdf = { DIR = libdir/MonetDB5 SOURCES = rdf.mx #SCRIPTS = mal mil "" LIBS = ../../mal/libmonetdb5 $(MONETDB_LIBS) -lbat -lstream \ -L/ufs/antonell/lib/raptor-1.4.14/lib -lraptor \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) $(PCRE_LIBS) } lib__bbp = { DIR = libdir/MonetDB5 SOURCES = bbp.mx #SCRIPTS = mal mil "" LIBS = ../../mal/libmonetdb5 ../kernel/lib_bat5 \ $(MONETDB_LIBS) -lbat -lstream \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib__tablet = { DIR = libdir/MonetDB5 SOURCES = tablet.mx #SCRIPTS = mal mil "" LIBS = ../../mal/libmonetdb5 ../kernel/lib_algebra \ $(MONETDB_LIBS) -lbat -lstream \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib__transaction = { DIR = libdir/MonetDB5 SOURCES = transaction.mx #SCRIPTS = mal mil "" LIBS = ../../mal/libmonetdb5 ../kernel/lib_bat5 $(MONETDB_LIBS) -lbat -lstream \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } lib__statistics = { DIR = libdir/MonetDB5 SOURCES = statistics.mx #SCRIPTS = mal mil "" LIBS = ../../mal/libmonetdb5 ../kernel/lib_algebra \ $(MONETDB_LIBS) -lbat -lstream \ $(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } headers_h = { DIR = includedir/MonetDB5/mal SOURCES = batExtensions.mx bpm.mx mal_mapi.mx mal_io.mx clients.mx \ rdf.mx pcre.mx bbp.mx tablet.mx transaction.mx statistics.mx \ \ chopper.mx constraints.mx language.mx box.mx \ profiler.mx const.mx algebraExtensions.mx \ inspect.mx manual.mx pqueue.mx mkey.mx \ factory.mx mdb.mx \ urlbox.mx mat.mx \ sabaoth.mx remote.mx batxml.mx recycle.mx #radix.mx HEADERS = h } headers_mal = { HEADERS = mal DIR = libdir/MonetDB5 SOURCES = language.mx constraints.mx mal_init.mx box.mx bbp.mx \ profiler.mx const.mx batExtensions.mx algebraExtensions.mx \ inspect.mx manual.mx mal_io.mx pqueue.mx mkey.mx \ chopper.mx clients.mx \ factory.mx mdb.mx rdf.mx pcre.mx tablet.mx mat.mx \ urlbox.mx statistics.mx transaction.mx \ mal_mapi.mx sabaoth.mx remote.mx \ bpm.mx batxml.mx txtsim.mx recycle.mx #radix.mx } EXTRA_DIST_DIR = Tests