2004-04-30 Mike Kestner <mkestner@ximian.com>

* configure.in : lookup gacutil and error out if not found.
	* */Makefile.am : add install-data-local and uninstall-local targets
	for GAC installation.  Add gtk-sharp.pub target to cp the key in for
	distcheck.
	* */AssemblyInfo.cs.in : remove ../ from key path for VPATH build.

svn path=/trunk/gtk-sharp/; revision=26485
This commit is contained in:
Mike Kestner 2004-05-01 03:38:54 +00:00
parent 14e3877005
commit 01ef68965d
32 changed files with 289 additions and 83 deletions

View file

@ -1,3 +1,11 @@
2004-04-30 Mike Kestner <mkestner@ximian.com>
* configure.in : lookup gacutil and error out if not found.
* */Makefile.am : add install-data-local and uninstall-local targets
for GAC installation. Add gtk-sharp.pub target to cp the key in for
distcheck.
* */AssemblyInfo.cs.in : remove ../ from key path for VPATH build.
2004-04-30 Mike Kestner <mkestner@ximian.com> 2004-04-30 Mike Kestner <mkestner@ximian.com>
* configure.in : remove BASE_DEPENDENCIES LIBS and CFLAGS and * configure.in : remove BASE_DEPENDENCIES LIBS and CFLAGS and

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -16,11 +16,10 @@ ASSEMBLY_NAME = art-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
apidir = $(datadir)/gapi apidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
api_DATA = $(APIS) api_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = art-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = art-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -54,6 +53,21 @@ generated-stamp: $(API) $(srcdir)/$(ADDITIONAL_API) ../generator/gapi_codegen.ex
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -7,11 +7,10 @@ ASSEMBLY_NAME = atk-sharp
references = /r:../glib/glib-sharp.dll references = /r:../glib/glib-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).config noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
gapi_DATA = $(API) gapi_DATA = $(API)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c gtk-sharp.pub
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
sources = sources =
@ -42,6 +41,17 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--gluelib-name=atksharpglue --glue-filename=glue/generated.c \ --gluelib-name=atksharpglue --glue-filename=glue/generated.c \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1;
uninstall-local:
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1;

View file

@ -89,8 +89,14 @@ if test "x$CSC" = "xno" ; then
AC_MSG_ERROR([No $CS compiler found]) AC_MSG_ERROR([No $CS compiler found])
fi fi
AC_PATH_PROG(GACUTIL, gacutil, no)
if test "x$GACUTIL" = "xno" ; then
AC_MSG_ERROR([No gacutil tool found])
fi
AC_SUBST(RUNTIME) AC_SUBST(RUNTIME)
AC_SUBST(CSC) AC_SUBST(CSC)
AC_SUBST(GACUTIL)
AC_SUBST(LIB_PREFIX) AC_SUBST(LIB_PREFIX)
AC_SUBST(LIB_SUFFIX) AC_SUBST(LIB_SUFFIX)

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -4,10 +4,10 @@ else
TARGET= TARGET=
endif endif
ASSEMBLY = gconf-sharp-peditors.dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir) ASSEMBLY_NAME = gconf-sharp-peditors
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
CLEANFILES = $(ASSEMBLY) CLEANFILES = $(ASSEMBLY) gtk-sharp.pub
DISTCLEANFILES = AssemblyInfo.cs DISTCLEANFILES = AssemblyInfo.cs
EXTRA_DIST = \ EXTRA_DIST = \
@ -32,6 +32,21 @@ sources = \
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
$(ASSEMBLY): $(build_sources) gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) gtk-sharp.pub
$(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources)
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -1,18 +1,17 @@
if ENABLE_GNOME if ENABLE_GNOME
ASSEMBLY = gconf-sharp.dll TARGET = $(ASSEMBLY) $(ASSEMBLY).config
TARGETS = $(ASSEMBLY) $(ASSEMBLY).config
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gconf-sharp.pc pkgconfig_DATA = gconf-sharp.pc
else else
ASSEMBLY = TARGET =
TARGETS =
endif endif
assemblydir = $(libdir) noinst_DATA = $(TARGET)
assembly_DATA = $(TARGETS) CLEANFILES = $(ASSEMBLY) gtk-sharp.pub
CLEANFILES = $(ASSEMBLY)
DISTCLEANFILES = gconf-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = gconf-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
ASSEMBLY = $(ASSEMBLY_NAME).dll
ASSEMBLY_NAME = gconf-sharp
EXTRA_DIST = \ EXTRA_DIST = \
$(sources) \ $(sources) \
$(ASSEMBLY).config.in \ $(ASSEMBLY).config.in \
@ -35,6 +34,21 @@ sources = \
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
$(ASSEMBLY): $(build_sources) gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) gtk-sharp.pub
$(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources)
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -15,11 +15,10 @@ ASSEMBLY_NAME = gda-sharp
references = /r:../glib/glib-sharp.dll references = /r:../glib/glib-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
gapi_DATA = $(APIS) gapi_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = gda-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = gda-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -51,6 +50,21 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -9,11 +9,10 @@ ASSEMBLY_NAME = gdk-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).config noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
gapi_DATA = $(API) $(ADDITIONAL_API) gapi_DATA = $(API) $(ADDITIONAL_API)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c gtk-sharp.pub
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
sources = \ sources = \
@ -80,6 +79,17 @@ generated-stamp: $(API) $(srcdir)/$(ADDITIONAL_API) ../generator/gapi_codegen.ex
--gluelib-name=gdksharpglue --glue-filename=glue/generated.c \ --gluelib-name=gdksharpglue --glue-filename=glue/generated.c \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1;
uninstall-local:
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1;

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -18,11 +18,10 @@ ASSEMBLY_NAME = glade-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
gapi_DATA = $(APIS) gapi_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = glade-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = glade-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -57,6 +56,21 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -1,9 +1,9 @@
SUBDIRS = glue SUBDIRS = glue
ASSEMBLY = glib-sharp.dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir) ASSEMBLY_NAME = glib-sharp
assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).config noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
CLEANFILES = $(ASSEMBLY) CLEANFILES = $(ASSEMBLY) gtk-sharp.pub
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
references = references =
@ -52,6 +52,17 @@ EXTRA_DIST = \
AssemblyInfo.cs.in \ AssemblyInfo.cs.in \
makefile.win32 makefile.win32
$(ASSEMBLY): $(build_sources) gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) gtk-sharp.pub
$(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources)
install-data-local:
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1;
uninstall-local:
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1;

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -20,11 +20,10 @@ ASSEMBLY_NAME = gnome-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
gapi_DATA = $(APIS) gapi_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = gnome-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = gnome-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -88,6 +87,21 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -15,11 +15,10 @@ ASSEMBLY_NAME = gnomedb-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
gapi_DATA = $(APIS) gapi_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = gnomedb-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = gnomedb-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -51,6 +50,21 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -9,11 +9,10 @@ ASSEMBLY_NAME = gtk-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).config noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
gapi_DATA = $(API) $(ADDITIONAL_API) gapi_DATA = $(API) $(ADDITIONAL_API)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) glue/generated.c gtk-sharp.pub
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
sources = \ sources = \
@ -101,6 +100,17 @@ generated-stamp: $(API) $(srcdir)/$(ADDITIONAL_API) ../generator/gapi_codegen.ex
--gluelib-name=gtksharpglue --glue-filename=glue/generated.c \ --gluelib-name=gtksharpglue --glue-filename=glue/generated.c \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1;
uninstall-local:
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1;

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -15,11 +15,10 @@ ASSEMBLY_NAME = gtkhtml-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll /r:../gnome/gnome-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll /r:../gnome/gnome-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
gapi_DATA = $(APIS) gapi_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = gtkhtml-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = gtkhtml-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -51,6 +50,21 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -5,11 +5,10 @@ ASSEMBLY_NAME = pango-sharp
references = /r:../glib/glib-sharp.dll references = /r:../glib/glib-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).config noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
gapi_DATA = $(API) gapi_DATA = $(API)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
sources = \ sources = \
@ -45,6 +44,17 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1;
uninstall-local:
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1;

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -16,11 +16,10 @@ ASSEMBLY_NAME = rsvg-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
gapi_DATA = $(APIS) gapi_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = rsvg-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = rsvg-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -52,6 +51,21 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi

View file

@ -3,4 +3,4 @@ using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyVersion("@API_VERSION@")]
[assembly:AssemblyDelaySign(true)] [assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../gtk-sharp.pub")] [assembly:AssemblyKeyFile("gtk-sharp.pub")]

View file

@ -15,11 +15,10 @@ ASSEMBLY_NAME = vte-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll
ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY = $(ASSEMBLY_NAME).dll
assemblydir = $(libdir)
gapidir = $(datadir)/gapi gapidir = $(datadir)/gapi
assembly_DATA = $(TARGET) noinst_DATA = $(TARGET)
gapi_DATA = $(APIS) gapi_DATA = $(APIS)
CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API) gtk-sharp.pub
DISTCLEANFILES = vte-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs DISTCLEANFILES = vte-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
@ -50,6 +49,21 @@ generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
--include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --include $(INCLUDE_API) --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp && touch generated-stamp
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
cp $(top_srcdir)/gtk-sharp.pub .
$(ASSEMBLY): $(build_sources) generated-stamp gtk-sharp.pub
$(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs $(CSC) --unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) generated/*.cs
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /root $(DESTDIR)$(libdir) || exit 1; \
fi