2004-03-12 21:18:11 +00:00
|
|
|
SUBDIRS = glue
|
|
|
|
|
2004-05-03 21:05:51 +00:00
|
|
|
TARGET = $(ASSEMBLY)
|
2004-05-01 03:38:54 +00:00
|
|
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
|
|
ASSEMBLY_NAME = glib-sharp
|
|
|
|
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
|
|
|
|
CLEANFILES = $(ASSEMBLY) gtk-sharp.pub
|
2004-04-29 22:19:30 +00:00
|
|
|
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
|
|
|
references =
|
|
|
|
|
|
|
|
sources = \
|
|
|
|
Boxed.cs \
|
2004-03-16 19:43:04 +00:00
|
|
|
ConnectBeforeAttribute.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
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 \
|
2004-05-18 05:06:10 +00:00
|
|
|
MissingIntPtrCtorException.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
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
|
|
|
|
|
2004-04-29 22:19:30 +00:00
|
|
|
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
dist_sources = $(sources)
|
|
|
|
|
2004-04-29 15:00:24 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(dist_sources) \
|
|
|
|
$(ASSEMBLY).config.in \
|
2004-05-01 03:38:54 +00:00
|
|
|
AssemblyInfo.cs.in \
|
2004-03-12 21:18:11 +00:00
|
|
|
makefile.win32
|
|
|
|
|
2004-05-01 03:38:54 +00:00
|
|
|
gtk-sharp.pub: $(top_srcdir)/gtk-sharp.pub
|
|
|
|
cp $(top_srcdir)/gtk-sharp.pub .
|
|
|
|
|
|
|
|
$(ASSEMBLY): $(build_sources) gtk-sharp.pub
|
2004-03-12 21:18:11 +00:00
|
|
|
$(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources)
|
|
|
|
|
2004-05-01 03:38:54 +00:00
|
|
|
install-data-local:
|
2004-05-03 21:05:51 +00:00
|
|
|
@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
|
2004-05-01 03:38:54 +00:00
|
|
|
|
|
|
|
uninstall-local:
|
2004-05-03 21:05:51 +00:00
|
|
|
@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
|
2004-05-01 03:38:54 +00:00
|
|
|
|