Selaa lähdekoodia

remove old wrappers

Julius Pfrommer 10 vuotta sitten
vanhempi
commit
8249067c14

+ 0 - 11
src/ongoing/wrappers/Makefile.am

@@ -1,11 +0,0 @@
-# We expand open62541.h with the preprocessor. SWIG can't handle all our macros.
-# The standard libs are not included into the expanded header file.
-
-# the lib is stated as a dependency to refresh if a header changes in ../src
-open62541_expanded.h: open62541.h open62541.i $(top_builddir)/lib/libopen62541.a
-	gcc -E open62541.h > open62541_expanded.h -I../src -D_STDIO_H=1 -D_STDDEF_H=1 -D_STDLIB_H=1 -D_STRING_H=1 -D_CTYPE_H=1 -D_UNISTD_H=1 -D_STDINT_H=1
-
-all: open62541_expanded.h
-
-clean-local:
-	rm -rf open62541_expanded.h

+ 0 - 20
src/ongoing/wrappers/lua/Makefile.am

@@ -1,20 +0,0 @@
-INCLUDEDIRS = -I$(top_builddir)/src -I$(top_builddir)/src/util -I$(top_builddir)/examples/src
-AM_CFLAGS = $(GLOBAL_AM_CFLAGS) $(INCLUDEDIRS)
-WRAPPER_DIR = $(top_builddir)/wrappers
-
-open62541.lua open62541_wrap_lua.c:
-	swig -lua $(INCLUDEDIRS) -o ./open62541_wrap_lua.c $(WRAPPER_DIR)/open62541.i
-
-networklayer.so:
-	gcc -c $(AM_CFLAGS) $(top_builddir)/examples/src/networklayer.c -o networklayer.so
-
-open62541_wrap_lua.o: open62541_wrap_lua.c
-	gcc -c $(subst -Wall, ,$(subst -Wreturn-type, ,$(subst -pedantic, , $(AM_CFLAGS)))) -I/usr/include/lua5.2 open62541_wrap_lua.c
-
-open62541.so: networklayer.so open62541_wrap_lua.o
-	ld -shared open62541_wrap_lua.o networklayer.so $(top_builddir)/lib/libopen62541.so -o open62541.so
-
-all: open62541.lua open62541.so
-
-clean-local:
-	rm -rf networklayer.so open62541.lua open62541.so open62541_wrap_lua.c open62541_wrap_lua.o || true;

+ 0 - 2
src/ongoing/wrappers/open62541.h

@@ -1,2 +0,0 @@
-#include "ua_types.h"
-#include "ua_application.h"

+ 0 - 9
src/ongoing/wrappers/open62541.i

@@ -1,9 +0,0 @@
-%module open62541
-%{
-/* Includes the header in the wrapper code */
-#include "open62541_expanded.h"
-%}
-
-/* Parse the header file to generate wrappers */
-%include "stdint.i"
-%include "open62541_expanded.h"

+ 0 - 18
src/ongoing/wrappers/python/Makefile.am

@@ -1,18 +0,0 @@
-WRAPPER_DIR = $(top_builddir)/wrappers
-#AM_CFLAGS = $(GLOBAL_AM_CFLAGS) -I$(WRAPPER_DIR)
-AM_CFLAGS = -fPIC -I$(WRAPPER_DIR)
-
-open62541.py open62541_wrap_python.c: $(WRAPPER_DIR)/open62541.i \
-									  $(WRAPPER_DIR)/open62541_expanded.h
-	swig -python -o ./open62541_wrap_python.c $(WRAPPER_DIR)/open62541.i
-
-open62541_wrap_python.o: open62541_wrap_python.c
-	gcc -c $(subst -pedantic, , $(AM_CFLAGS)) -I/usr/include/python2.7 open62541_wrap_python.c
-
-_open62541.so: open62541_wrap_python.o
-	ld -shared open62541_wrap_python.o $(top_builddir)/lib/libopen62541.a -lexpat -o _open62541.so
-
-all: open62541.py _open62541.so
-
-clean-local:
-	rm -rf open62541.py open62541.pyc _open62541.so open62541_wrap_python.c open62541_wrap_python.o || true;