Added version scripts to restrict the exported symbols.
authorThomas Lopatic <thomas@lopatic.de>
Mon, 8 Nov 2004 23:43:14 +0000 (23:43 +0000)
committerThomas Lopatic <thomas@lopatic.de>
Mon, 8 Nov 2004 23:43:14 +0000 (23:43 +0000)
lib/dot_draw/Makefile
lib/dot_draw/version-script.txt [new file with mode: 0644]
lib/dyn_gw/Makefile
lib/dyn_gw/version-script.txt [new file with mode: 0644]
lib/powerinfo/Makefile
lib/powerinfo/version-script.txt [new file with mode: 0644]
lib/secure/Makefile
lib/secure/version-script.txt [new file with mode: 0644]

index cecde1e..9c3c840 100644 (file)
@@ -33,6 +33,7 @@ all: plugin
 
 plugin: $(OBJS)
        $(CC) $(LDFLAGS) $(MYFLAGS) -g -shared -Wl,-soname,$(NAME) \
+       -Wl,--version-script=version-script.txt \
        -o $(NAME) $(OBJS) $(LIBS)
 
 
diff --git a/lib/dot_draw/version-script.txt b/lib/dot_draw/version-script.txt
new file mode 100644 (file)
index 0000000..81f3f8e
--- /dev/null
@@ -0,0 +1,11 @@
+VERS_1.0
+{
+  global:
+    get_plugin_interface_version;
+    register_olsr_data;
+    plugin_io;
+    register_olsr_param;
+
+  local:
+    *;
+};
index 38efa73..2765446 100644 (file)
@@ -33,6 +33,7 @@ all: plugin
 
 plugin: $(OBJS)
        $(CC) $(LDFLAGS) $(MYFLAGS) -g -shared -Wl,-soname,$(NAME) \
+       -Wl,--version-script=version-script.txt \
        -o $(NAME) $(OBJS) $(LIBS)
 
 
diff --git a/lib/dyn_gw/version-script.txt b/lib/dyn_gw/version-script.txt
new file mode 100644 (file)
index 0000000..81f3f8e
--- /dev/null
@@ -0,0 +1,11 @@
+VERS_1.0
+{
+  global:
+    get_plugin_interface_version;
+    register_olsr_data;
+    plugin_io;
+    register_olsr_param;
+
+  local:
+    *;
+};
index 0041eb2..ca5e9e2 100644 (file)
@@ -32,6 +32,7 @@ all: plugin
 
 plugin: $(OBJS)
        $(CC) $(LDFLAGS) $(MYFLAGS) -g -shared -Wl,-soname,$(NAME) \
+       -Wl,--version-script=version-script.txt \
        -o $(NAME) $(OBJS) $(LIBS)
 
 
diff --git a/lib/powerinfo/version-script.txt b/lib/powerinfo/version-script.txt
new file mode 100644 (file)
index 0000000..81f3f8e
--- /dev/null
@@ -0,0 +1,11 @@
+VERS_1.0
+{
+  global:
+    get_plugin_interface_version;
+    register_olsr_data;
+    plugin_io;
+    register_olsr_param;
+
+  local:
+    *;
+};
index 487af4a..4ff9352 100644 (file)
@@ -33,6 +33,7 @@ all: plugin
 
 plugin: $(OBJS)
        $(CC) $(LDFLAGS) $(MYFLAGS) -g -shared -Wl,-soname,$(NAME) \
+       -Wl,--version-script=version-script.txt \
        -o $(NAME) $(OBJS) $(LIBS)
 
 
diff --git a/lib/secure/version-script.txt b/lib/secure/version-script.txt
new file mode 100644 (file)
index 0000000..81f3f8e
--- /dev/null
@@ -0,0 +1,11 @@
+VERS_1.0
+{
+  global:
+    get_plugin_interface_version;
+    register_olsr_data;
+    plugin_io;
+    register_olsr_param;
+
+  local:
+    *;
+};