]> git.meshlink.io Git - catta/blobdiff - avahi-ui-sharp/Makefile.am
fix avahi_netlink_new to allow multiple netlinks per process
[catta] / avahi-ui-sharp / Makefile.am
index b7f020e851e9e4a8d30f63a486d228cfe1127136..28ea64f82fd47d7913e090c989dc137162044f5d 100644 (file)
@@ -1,5 +1,3 @@
-# $Id: Makefile.am 1251 2006-08-21 23:31:59Z lennart $
-
 # This file is part of avahi.
 #
 # avahi is free software; you can redistribute it and/or modify it
@@ -19,7 +17,7 @@
 
 ASSEMBLY = avahi-ui-sharp.dll
 
-CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY).config
+CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY).config bssh.exe
 
 AVAHISOURCES =                                 \
        $(srcdir)/ServiceDialog.cs
@@ -29,26 +27,32 @@ EXTRA_DIST =                                        \
        $(srcdir)/avahi-ui-sharp-docs.source    \
        $(srcdir)/en/*.xml                      \
        $(srcdir)/en/*/*.xml                    \
-       $(srcdir)/gencfg.sh
+       $(srcdir)/gencfg.sh                     \
+       $(srcdir)/$(ASSEMBLY).config.in         \
+       $(srcdir)/bssh.cs
 
 $(ASSEMBLY): $(AVAHISOURCES)
-       mcs -keyfile:$(top_srcdir)/avahi-sharp/avahi.snk -target:library -out:$@ -debug $(AVAHISOURCES) -pkg:gtk-sharp-2.0 -r:$(top_builddir)/avahi-sharp/avahi-sharp.dll -r:Mono.Posix
+       $(AM_V_GEN)mcs -keyfile:$(top_srcdir)/avahi-sharp/avahi.snk -target:library -out:$@ -debug $(AVAHISOURCES) -pkg:gtk-sharp-2.0 -r:$(top_builddir)/avahi-sharp/avahi-sharp.dll -r:Mono.Posix
 
 $(ASSEMBLY).config: $(ASSEMBLY).config.in
-       $(srcdir)/gencfg.sh $(top_builddir)/avahi-common/libavahi-common.la < $< > $@
+       $(AM_V_GEN)$(srcdir)/gencfg.sh $(top_builddir)/avahi-common/libavahi-common.la < $< > $@
+
+bssh.exe: $(srcdir)/bssh.cs $(ASSEMBLY)
+       $(AM_V_GEN)mcs -out:$@ $(srcdir)/bssh.cs -r:./avahi-ui-sharp.dll -r:../avahi-sharp/avahi-sharp.dll -pkg:gtk-sharp-2.0 -r:Mono.Posix
 
 if HAVE_MONO
 if HAVE_DBUS
-all: $(ASSEMBLY) $(ASSEMBLY).config
+if HAVE_GTK
+all: $(ASSEMBLY) $(ASSEMBLY).config bssh.exe
 
 if HAVE_MONODOC
 update-docs: $(ASSEMBLY)
-       $(MONODOCER) -assembly:$(ASSEMBLY) -path:en
+       $(AM_V_GEN)$(MONODOCER) -assembly:$(ASSEMBLY) -path:en
 
 avahi-ui-sharp-docs.zip: avahi-ui-sharp-docs.tree
 
 avahi-ui-sharp-docs.tree: $(srcdir)/en/*/*
-       $(MDASSEMBLER) --out avahi-ui-sharp-docs --ecma $(srcdir)/en
+       $(AM_V_GEN)$(MDASSEMBLER) --out avahi-ui-sharp-docs --ecma $(srcdir)/en
 
 monodocdir = $(MONODOC_DIR)
 monodoc_DATA = avahi-ui-sharp-docs.zip avahi-ui-sharp-docs.tree avahi-ui-sharp-docs.source
@@ -59,7 +63,8 @@ install-data-hook: $(ASSEMBLY)
        $(GACUTIL) /i $(ASSEMBLY) /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
 
 uninstall-hook: $(ASSEMBLY)
-       $(GACUTIL) /u avahi-sharp /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
+       $(GACUTIL) /u avahi-ui-sharp /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
 
 endif
 endif
+endif