Ryujinx-GtkSharp/gconf/GConf/Makefile.am
Mike Kestner 57f06abbfe 2004-05-03 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : fix gacutil for new package switch
	* */*.pc.in : fix -libs var for new dll path

svn path=/trunk/gtk-sharp/; revision=26644
2004-05-03 21:05:51 +00:00

55 lines
1.4 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 /package $(PACKAGE) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE) /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package $(PACKAGE) /root $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /package $(PACKAGE) /root $(DESTDIR)$(libdir) || exit 1; \
fi