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
|
2004-06-10 19:45:20 +00:00
|
|
|
CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
|
2005-01-09 00:26:45 +00:00
|
|
|
DISTCLEANFILES = $(ASSEMBLY).config
|
2004-03-12 21:18:11 +00:00
|
|
|
|
|
|
|
references =
|
|
|
|
|
|
|
|
sources = \
|
2004-12-21 19:47:55 +00:00
|
|
|
Argv.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
Boxed.cs \
|
2004-12-23 22:59:59 +00:00
|
|
|
ClassInitializerAttribute.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 \
|
2004-09-29 17:47:51 +00:00
|
|
|
GString.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
Idle.cs \
|
|
|
|
IWrapper.cs \
|
|
|
|
ListBase.cs \
|
|
|
|
List.cs \
|
|
|
|
Log.cs \
|
|
|
|
MainContext.cs \
|
2004-08-25 18:11:41 +00:00
|
|
|
MainLoop.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
ManagedValue.cs \
|
|
|
|
Markup.cs \
|
|
|
|
Marshaller.cs \
|
2004-05-18 05:06:10 +00:00
|
|
|
MissingIntPtrCtorException.cs \
|
2005-01-28 16:44:30 +00:00
|
|
|
NotifyHandler.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
Object.cs \
|
|
|
|
ObjectManager.cs \
|
|
|
|
Opaque.cs \
|
2004-11-18 20:31:22 +00:00
|
|
|
PropertyAttribute.cs \
|
2005-02-02 21:57:15 +00:00
|
|
|
Signal.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
SignalArgs.cs \
|
|
|
|
SignalAttribute.cs \
|
|
|
|
SignalCallback.cs \
|
|
|
|
SList.cs \
|
|
|
|
Source.cs \
|
|
|
|
Thread.cs \
|
|
|
|
Timeout.cs \
|
|
|
|
TypeConverter.cs \
|
|
|
|
Type.cs \
|
|
|
|
TypeFundamentals.cs \
|
|
|
|
UnwrappedObject.cs \
|
|
|
|
ValueArray.cs \
|
|
|
|
Value.cs
|
|
|
|
|
2005-01-09 00:26:45 +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-03-12 21:18:11 +00:00
|
|
|
makefile.win32
|
|
|
|
|
2004-06-10 19:45:20 +00:00
|
|
|
gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk
|
|
|
|
cp $(top_srcdir)/gtk-sharp.snk .
|
2004-05-01 03:38:54 +00:00
|
|
|
|
2004-06-10 19:45:20 +00:00
|
|
|
$(ASSEMBLY): $(build_sources) gtk-sharp.snk
|
2004-11-11 03:58:14 +00:00
|
|
|
$(CSC) /nowarn:0612 /out:$(ASSEMBLY) /target:library $(references) $(build_sources)
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-01 03:38:54 +00:00
|
|
|
install-data-local:
|
2004-05-03 21:05:51 +00:00
|
|
|
@if test -n '$(TARGET)'; then \
|
2004-06-10 19:45:20 +00:00
|
|
|
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
|
|
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
2004-05-03 21:05:51 +00:00
|
|
|
fi
|
2004-05-01 03:38:54 +00:00
|
|
|
|
|
|
|
uninstall-local:
|
2004-05-03 21:05:51 +00:00
|
|
|
@if test -n '$(TARGET)'; then \
|
2004-06-10 19:45:20 +00:00
|
|
|
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
|
|
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
2004-05-03 21:05:51 +00:00
|
|
|
fi
|
2004-05-01 03:38:54 +00:00
|
|
|
|