]> git.meshlink.io Git - catta/blobdiff - avahi-sharp/Makefile.am
allow varags for the TXT data in AddService
[catta] / avahi-sharp / Makefile.am
index e91271522594bd860d09cbf8c7e7233a66806e4f..d361221882dec301d02efa3a007617923007393f 100644 (file)
@@ -1,9 +1,26 @@
-
+# $Id$
+
+# This file is part of avahi.
+#
+# avahi is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# avahi 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 Lesser General Public
+# License along with avahi; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA.
 
 ASSEMBLY = avahi-sharp.dll
 
 CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(AVAHISOURCES) avahi.snk avahi-sharp.pc.in
+EXTRA_DIST = $(AVAHISOURCES) avahi.snk avahi-sharp.dll.config
 
 AVAHISOURCES =                                 \
        $(srcdir)/AssemblyInfo.cs       \
@@ -24,14 +41,9 @@ $(ASSEMBLY): $(AVAHISOURCES)
 if HAVE_MONO
 all: $(ASSEMBLY)
 
-pkgcfgdir = $(libdir)/pkgconfig
-pkgcfg_DATA = avahi-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' $< > $@
-
-install-data-hook:
+install-data-hook: $(ASSEMBLY)
        $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
+
+uninstall-hook: $(ASSEMBLY)
+       $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
 endif