Update of /cvsroot/monetdb/pathfinder/modules/probxml
In directory sc8-pr-cvs16:/tmp/cvs-serv4622/probxml

Added Files:
        Makefile.ag probxml.mx 
Log Message:
- add the probxml module for Maurice van Keulen



--- NEW FILE: Makefile.ag ---

# Copyright Notice:
# -----------------
#
# The contents of this file are subject to the Pathfinder 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/PathfinderLicense-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 Pathfinder system.
#
# The Original Code has initially been developed by the Database &
# Information Systems Group at the University of Konstanz, Germany and
# is now maintained by the Database Systems Group at the Technische
# Universitaet Muenchen, Germany.  Portions created by the University of
# Konstanz and the Technische Universitaet Muenchen are Copyright (C)
# 2000-2005 University of Konstanz and (C) 2005-2007 Technische
# Universitaet Muenchen, respectively.  All Rights Reserved.
#

INCLUDES = ../../runtime $(MONETDB_INCS) $(MONETDB4_INCS) $(LIBXML2_CFLAGS) 
../../compiler/include
PF_LIBS = $(LIBXML2_LDADD) $(LIBXML2_LIBS) $(DL_LIBS)

LFLAGS = -olex.yy.c
YFLAGS = -d -p nexi

#  Some versions of flex & bison seem to generate code that icc does not like;
#  we use ICC_BISON_CFLAGS to disable the respective warning as
#  locally as possible via "-wd177"
#  (#177: label "." was declared but never referenced)
#  (see also MonetDB/conf/monet.m4).
CFLAGS = $(ICC_BISON_CFLAGS)

lib__probxml = {
        DIR = libdir/MonetDB4
        SOURCES = probxml.mx

        LIBS = \
                ../../runtime/lib_pf_support $(PF_LIBS) \
                $(MONETDB_LIBS) -lbat -lstream $(MONETDB4_LIBS) -lmonet \
                $(MONETDB4_MODS) -l_streams -l_builtin -l_ascii_io -l_algebra 
-l_constant
}

scripts_mil = {
        DIR = libdir/MonetDB4
        SOURCES = probxml.mx
}

EXTRA_DIST_DIR = Tests

--- NEW FILE: probxml.mx ---
@' Copyright Notice:
@' -----------------
@'
@' The contents of this file are subject to the PfTijah 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://dbappl.cs.utwente.nl/Legal/PfTijah-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 ProbXml system.
@' 
@' The Initial Developer of the Original Code is the "University of Twente".
@' Portions created by the "University of Twente" are 
@' Copyright (C) 2006-2007 "University of Twente".
@' All Rights Reserved.
@'

@f probxml
@a Maurice van Keulen
@a Jan Flokstra
@t probxml

@m
.MODULE probxml;

.COMMAND probxml_test_c(str) : str = CMDprobxml_test;
 "INCOMPLETE"

.PRELUDE = probxml_prelude;
.EPILOGUE = probxml_epilogue;

.END pftijah;
@mil
###
# This file contains implementations the probxml MIL scripts

ADDHELP("probxml_ping", "keulen & flokstra", "Apr 2007",
"PARAMETERS:\n\
- none.\n\
DESCRIPTION:\n\
- debugging ",
"probxml");
PROC probxml_ping() : void :=
{
    printf("#PX:probxml_ping() called.\n");
}

@h

#define PX_DUMMY "dummy"

@c
#include <pf_config.h>

#include <monet.h>
#include <gdk.h>

#include <pathfinder.h>

#include "probxml.h"

int CMDprobxml_test (str* res, str arg)
{
        (void)arg;
        *res = GDKstrdup("MODULE probxml works.\n");
        return GDK_SUCCEED;
}

bat *
probxml_prelude(void)
{
    return NULL;
}

void
probxml_epilogue(void)
{
}
@

/* vim:set shiftwidth=4 expandtab: */


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to