From a24befc8bf02cce7c4a2ee81f0a87d5bae83df1b Mon Sep 17 00:00:00 2001 From: James Willcox Date: Sun, 25 Sep 2005 23:22:36 +0000 Subject: [PATCH] automatically figure out the dlnames for the unmanaged libs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@625 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-sharp/Makefile.am | 15 ++++++++++----- avahi-sharp/avahi-sharp.dll.config | 5 ----- avahi-sharp/avahi-sharp.dll.config.in | 5 +++++ 3 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 avahi-sharp/avahi-sharp.dll.config create mode 100644 avahi-sharp/avahi-sharp.dll.config.in diff --git a/avahi-sharp/Makefile.am b/avahi-sharp/Makefile.am index 12947f0..4095eca 100644 --- a/avahi-sharp/Makefile.am +++ b/avahi-sharp/Makefile.am @@ -19,7 +19,7 @@ ASSEMBLY = avahi-sharp.dll -CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb +CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY).config AVAHISOURCES = \ $(srcdir)/AddressResolver.cs \ @@ -38,17 +38,22 @@ EXTRA_DIST = \ $(AVAHISOURCES) \ $(srcdir)/AvahiTest.cs \ $(srcdir)/avahi.snk \ - $(srcdir)/avahi-sharp.dll.config \ + $(srcdir)/$(ASSEMBLY).config \ $(srcdir)/avahi-sharp-docs.source \ $(srcdir)/en/*.xml \ - $(srcdir)/en/*/*.xml - + $(srcdir)/en/*/*.xml \ + $(srcdir)/gencfg.sh $(ASSEMBLY): $(AVAHISOURCES) mcs -keyfile:$(srcdir)/avahi.snk -target:library -out:$@ -debug $(AVAHISOURCES) -r:Mono.Posix + +$(ASSEMBLY).config: $(ASSEMBLY).config.in + $(srcdir)/gencfg.sh $(top_builddir)/avahi-client/libavahi-client.la \ + $(top_builddir)/avahi-common/libavahi-common.la < $< > $@ + if HAVE_MONO -all: $(ASSEMBLY) +all: $(ASSEMBLY) $(ASSEMBLY).config if HAVE_MONODOC update-docs: $(ASSEMBLY) diff --git a/avahi-sharp/avahi-sharp.dll.config b/avahi-sharp/avahi-sharp.dll.config deleted file mode 100644 index bbd1b3e..0000000 --- a/avahi-sharp/avahi-sharp.dll.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/avahi-sharp/avahi-sharp.dll.config.in b/avahi-sharp/avahi-sharp.dll.config.in new file mode 100644 index 0000000..56c7bd4 --- /dev/null +++ b/avahi-sharp/avahi-sharp.dll.config.in @@ -0,0 +1,5 @@ + + + + + -- 2.39.5