Ryujinx-GtkSharp/glib/Makefile.am
Mike Kestner 01ef68965d 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
2004-05-01 03:38:54 +00:00

69 lines
1.6 KiB
Makefile

SUBDIRS = glue
ASSEMBLY = $(ASSEMBLY_NAME).dll
ASSEMBLY_NAME = glib-sharp
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
CLEANFILES = $(ASSEMBLY) gtk-sharp.pub
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
references =
sources = \
Boxed.cs \
ConnectBeforeAttribute.cs \
DefaultSignalHandlerAttribute.cs \
DelegateWrapper.cs \
EnumWrapper.cs \
FileUtils.cs \
GException.cs \
Idle.cs \
IWrapper.cs \
ListBase.cs \
List.cs \
Log.cs \
MainContext.cs \
ManagedValue.cs \
Markup.cs \
Marshaller.cs \
Object.cs \
ObjectManager.cs \
Opaque.cs \
SignalArgs.cs \
SignalAttribute.cs \
SignalCallback.cs \
SList.cs \
Source.cs \
Thread.cs \
Timeout.cs \
time_t_CustomMarshaler.cs \
TypeConverter.cs \
Type.cs \
TypeFundamentals.cs \
UnwrappedObject.cs \
ValueArray.cs \
Value.cs
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
dist_sources = $(sources)
EXTRA_DIST = \
$(dist_sources) \
$(ASSEMBLY).config.in \
AssemblyInfo.cs.in \
makefile.win32
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:
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;