summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
-rw-r--r--csharp/Makefile.am24
-rw-r--r--src/Makefile.am2
5 files changed, 30 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 444e9b65..4067aae1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,7 +45,7 @@ config.status
config.sub
configure
cscope.out
-csharp/
+csharp/Libguestfs.cs
daemon/actions.h
daemon/errnostring_gperf.c
daemon/errnostring_gperf.gperf
diff --git a/Makefile.am b/Makefile.am
index 3b80f069..adc81a30 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,6 +58,9 @@ if HAVE_PHP
SUBDIRS += php
endif
+# Unconditional because nothing is built yet.
+SUBDIRS += csharp
+
# Virt-inspector, tools and guestmount.
if HAVE_INSPECTOR
SUBDIRS += inspector
diff --git a/configure.ac b/configure.ac
index de07ae97..c42a8558 100644
--- a/configure.ac
+++ b/configure.ac
@@ -803,6 +803,7 @@ AC_CONFIG_FILES([Makefile
po-docs/Makefile
po-docs/ja/Makefile
php/Makefile
+ csharp/Makefile
ocaml/META perl/Makefile.PL])
AC_OUTPUT
diff --git a/csharp/Makefile.am b/csharp/Makefile.am
new file mode 100644
index 00000000..58464359
--- /dev/null
+++ b/csharp/Makefile.am
@@ -0,0 +1,24 @@
+# libguestfs C# bindings
+# Copyright (C) 2010 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+include $(top_srcdir)/subdir-rules.mk
+
+generator_built = \
+ Libguestfs.cs
+
+EXTRA_DIST = \
+ $(generator_built)
diff --git a/src/Makefile.am b/src/Makefile.am
index 51bf45c6..f23464e6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,7 +26,7 @@ generator_built = \
bindtests.c \
errnostring_gperf.gperf \
errnostring.c \
- errnostring.h
+ errnostring.h \
guestfs-actions.pod \
guestfs-availability.pod \
guestfs-structs.pod \