Removed runtime lib. It's not needed anymore.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2003-05-19 17:59:31 +00:00
commit 2695aede2d
3 changed files with 1 additions and 37 deletions

View file

@ -1,2 +1,2 @@
# see top-level Makefile.in
libswigocaml.h
# libswigocaml is not needed anymore.

View file

@ -1,18 +0,0 @@
#include <stdio.h>
#include <stdlib.h>
#include "libswigocaml.h"
/* Ocaml runtime support ... not much here yet */
void *nullptr = 0;
oc_bool isnull( void *v ) { return v ? 0 : 1; }
void *get_char_ptr( char *str ) { return str; }
void *make_ptr_array( int size ) {
return (void *)malloc( sizeof( void * ) * size );
}
void *get_ptr( void *arrayptr, int elt ) {
return ((void **)arrayptr)[elt];
}
void set_ptr( void *arrayptr, int elt, void *elt_v ) {
((void **)arrayptr)[elt] = elt_v;
}
void *offset_ptr( void *p, int n ) { return ((char *)p) + n; }

View file

@ -29,9 +29,6 @@ endif
if !SKIP_PHP4
lib_LTLIBRARIES += libswigphp4.la
endif
if !SKIP_OCAML
lib_LTLIBRARIES += libswigocaml.la
endif
if !SKIP_PIKE
lib_LTLIBRARIES += libswigpike.la
endif
@ -131,21 +128,6 @@ libswigphp4_la_CFLAGS = -DSWIG_GLOBAL $(PHP4_INCLUDE)
libphp4.c: $(SWIG_TYPECHECK) $(PHP4_RUNTIME)
cat $(SWIG_TYPECHECK) $(PHP4_RUNTIME) > libphp4.c
# ----------------------------------------------------------------------
# Ocaml run-time library
# ----------------------------------------------------------------------
OCAML_INCLUDE = @OCAMLINC@ -I$(SWIGLIB)/ocaml
OCAML_RUNTIME = $(SWIGLIB)/ocaml/libswigocaml.swg
OCAML_DLNK =
libswigocaml_la_SOURCES = libocaml.c
libswigocaml_la_LDFLAGS = -no-undefined $(RELEASE_SUFFIX_LIBTOOL) $(OCAML_DLNK)
libswigocaml_la_CFLAGS = -DSWIG_GLOBAL $(OCAML_INCLUDE)
libocaml.c: $(OCAML_RUNTIME)
cat $(OCAML_RUNTIME) > libocaml.c
# ----------------------------------------------------------------------
# Pike run-time library
# ----------------------------------------------------------------------