avahi-qt3.pc.in \
avahi-qt4.pc.in \
avahi-sharp.pc.in \
+ avahi-ui-sharp.pc.in \
avahi-compat-libdns_sd.pc.in \
avahi-compat-howl.pc.in \
avahi-ui.pc.in
avahi-compat-libdns_sd \
avahi-compat-howl \
avahi-autoipd \
- avahi-ui
+ avahi-ui \
+ avahi-ui-sharp
DX_INPUT = \
$(srcdir)/avahi-common/address.h \
if HAVE_MONO
-pkgconfig_DATA += avahi-sharp.pc
+pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
avahi-sharp.pc: avahi-sharp.pc.in
sed -e 's,@prefix\@,$(prefix),g' \
-e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
-e 's,@libdir\@,$(libdir),g' $< > $@
-CLEANFILES += avahi-sharp.pc
+avahi-ui-sharp.pc: avahi-ui-sharp.pc.in
+ sed -e 's,@prefix\@,$(prefix),g' \
+ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
+ -e 's,@libdir\@,$(libdir),g' $< > $@
+
+CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
endif
--- /dev/null
+prefix=@prefix@
+exec_prefix=@prefix@
+libdir=@libdir@
+
+Name: avahi-ui-sharp
+Description: Mono bindings for the Avahi mDNS/DNS-SD stack
+Version: @PACKAGE_VERSION@
+Requires: gtk-sharp-2.0
+Libs: -r:${libdir}/mono/avahi-ui-sharp/avahi-ui-sharp.dll
$(ASSEMBLY).config: $(ASSEMBLY).config.in
$(srcdir)/gencfg.sh $(top_builddir)/avahi-common/libavahi-common.la < $< > $@
+zssh.exe: zssh.cs
+ mcs -out:$@ zssh.cs -r:./avahi-ui-sharp.dll -pkg:gtk-sharp-2.0 -r:Mono.Posix
+
if HAVE_MONO
if HAVE_DBUS
-all: $(ASSEMBLY) $(ASSEMBLY).config
+all: $(ASSEMBLY) $(ASSEMBLY).config zssh.exe
if HAVE_MONODOC
update-docs: $(ASSEMBLY)