Add initial web provisioning program
authorAlberto Ruiz <aruiz@gnome.org>
Fri, 1 Jul 2011 14:11:47 +0000 (15:11 +0100)
committerAlberto Ruiz <aruiz@gnome.org>
Mon, 4 Jul 2011 10:46:52 +0000 (11:46 +0100)
Makefile.am
src/moonshot-webp-parser.vala [new file with mode: 0644]

index eedc248..475b2b7 100644 (file)
@@ -99,6 +99,28 @@ EXTRA_DIST = $(dbusservice_in_files)
 endif
 
 
+bin_PROGRAMS += src/moonshot-webp
+
+src_moonshot_webp_SOURCES = src/moonshot-webp-parser.vala
+src_moonshot_webp_LDADD = $(moonshot_LIBS)
+
+if IPC_DBUS
+AM_VALAFLAGS += \
+       --pkg dbus-glib-1 \
+       --define=IPC_DBUS
+endif
+
+if IPC_MSRPC
+AM_VALAFLAGS += \
+       --pkg msrpc-1.0 \
+       --define=IPC_MSRPC
+endif
+
+if OS_WIN32
+moonshot_webp_CFLAGS = -mwindows
+AM_VALAFLAGS += --define=OS_WIN32
+endif
+
 if OS_WIN32
 
 ## A couple of Windows-specific targets:
diff --git a/src/moonshot-webp-parser.vala b/src/moonshot-webp-parser.vala
new file mode 100644 (file)
index 0000000..c77d724
--- /dev/null
@@ -0,0 +1,15 @@
+namespace WebProvisioning
+{
+  class WebProvisionParser
+  {
+    public WebProvisionParser (string path)
+    {
+      
+    }
+  }
+
+  public static int main (string[] args)
+  {
+    return 0;
+  }
+}