[seed] Add skeleton sandbox module
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Add skeleton sandbox module
- Date: Wed, 6 May 2009 21:20:29 -0400 (EDT)
commit 322b65617b1576d142d6c74e0cedbad4ccf7df99
Author: Robert Carr <racarr svn gnome org>
Date: Wed May 6 21:02:13 2009 -0400
Add skeleton sandbox module
---
configure.ac | 1 +
modules/Makefile.am | 2 +-
modules/sandbox/Makefile.am | 22 ++++++++++++++++++++++
modules/sandbox/sandbox.c | 8 ++++++++
4 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 514fb0f..7507093 100644
--- a/configure.ac
+++ b/configure.ac
@@ -302,6 +302,7 @@ modules/sqlite/Makefile
modules/canvas/Makefile
modules/readline/Makefile
modules/Multiprocessing/Makefile
+modules/sandbox/Makefile
modules/os/Makefile
])
AC_OUTPUT
diff --git a/modules/Makefile.am b/modules/Makefile.am
index 7335b2d..f677ce8 100644
--- a/modules/Makefile.am
+++ b/modules/Makefile.am
@@ -1 +1 @@
-SUBDIRS = example sqlite canvas Multiprocessing readline os
+SUBDIRS = example sqlite canvas Multiprocessing readline os sandbox
diff --git a/modules/sandbox/Makefile.am b/modules/sandbox/Makefile.am
new file mode 100644
index 0000000..99e5bd4
--- /dev/null
+++ b/modules/sandbox/Makefile.am
@@ -0,0 +1,22 @@
+seedlibdir = ${exec_prefix}/lib/seed
+
+seedlib_LTLIBRARIES = \
+ libsandbox.la
+
+libsandbox_la_SOURCES = \
+ sandbox.c
+
+
+AM_CPPFLAGS = \
+ -I top_srcdir@/libseed/ \
+ $(GOBJECT_INTROSPECTION_CFLAGS)
+ $(SEED_DEBUG_CFLAGS) \
+ $(SEED_PROFILE_CFLAGS)
+
+libsandbox_la_LDFLAGS = \
+ $(GOBJECT_INTROSPECTION_LDFLAGS) \
+ $(SEED_PROFILE_LIBS)
+
+
+
+
diff --git a/modules/sandbox/sandbox.c b/modules/sandbox/sandbox.c
new file mode 100644
index 0000000..97c2d36
--- /dev/null
+++ b/modules/sandbox/sandbox.c
@@ -0,0 +1,8 @@
+#include <seed.h>
+
+SeedObject
+seed_module_init(SeedEngine * eng)
+{
+ g_printf("Hello Seed Module World \n");
+ return seed_make_object (eng->context, NULL, NULL);
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]