mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-27 19:45:44 +00:00
01ef68965d
* 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
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
if ENABLE_GNOME
|
|
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = gconf-sharp.pc
|
|
else
|
|
TARGET =
|
|
endif
|
|
noinst_DATA = $(TARGET)
|
|
CLEANFILES = $(ASSEMBLY) gtk-sharp.pub
|
|
DISTCLEANFILES = gconf-sharp.pc $(ASSEMBLY).config AssemblyInfo.cs
|
|
|
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
ASSEMBLY_NAME = gconf-sharp
|
|
|
|
EXTRA_DIST = \
|
|
$(sources) \
|
|
$(ASSEMBLY).config.in \
|
|
AssemblyInfo.cs.in \
|
|
gconf-sharp.pc.in
|
|
|
|
references = \
|
|
/r:../../glib/glib-sharp.dll
|
|
|
|
sources = \
|
|
ClientBase.cs \
|
|
Client.cs \
|
|
ChangeSet.cs \
|
|
_Entry.cs \
|
|
NoSuchKeyException.cs \
|
|
NotifyEventArgs.cs \
|
|
NotifyEventHandler.cs \
|
|
NotifyWrapper.cs \
|
|
Value.cs
|
|
|
|
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
|
|
|
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)
|
|
|
|
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
|
|
|