4 NOINST_EXES=test-dbus-sharp.exe
5 ASSEMBLY_NAME=dbus-sharp
9 $(srcdir)/Arguments.cs \
11 $(srcdir)/BusDriver.cs \
12 $(srcdir)/Connection.cs \
13 $(srcdir)/DBusException.cs \
15 $(srcdir)/ErrorMessage.cs \
16 $(srcdir)/Handler.cs \
17 $(srcdir)/InterfaceAttribute.cs \
18 $(srcdir)/InterfaceProxy.cs \
19 $(srcdir)/Introspector.cs \
20 $(srcdir)/Message.cs \
21 $(srcdir)/MethodAttribute.cs \
22 $(srcdir)/MethodCall.cs \
23 $(srcdir)/MethodReturn.cs \
24 $(srcdir)/ProxyBuilder.cs \
26 $(srcdir)/Service.cs \
28 $(srcdir)/SignalAttribute.cs \
29 $(srcdir)/DBusType/IDBusType.cs \
30 $(srcdir)/DBusType/Array.cs \
31 $(srcdir)/DBusType/Boolean.cs \
32 $(srcdir)/DBusType/Byte.cs \
33 $(srcdir)/DBusType/Double.cs \
34 $(srcdir)/DBusType/Int16.cs \
35 $(srcdir)/DBusType/Int32.cs \
36 $(srcdir)/DBusType/Int64.cs \
37 $(srcdir)/DBusType/ObjectPath.cs \
38 $(srcdir)/DBusType/String.cs \
39 $(srcdir)/DBusType/UInt16.cs \
40 $(srcdir)/DBusType/UInt32.cs \
41 $(srcdir)/DBusType/UInt64.cs
43 TEST_DBUS_SHARP_FILES=Test.cs
45 ASSEMBLY=$(ASSEMBLY_NAME).dll
47 DISTCLEANFILES=AssemblyInfo.cs $(ASSEMBLY).config $(ASSEMBLY) $(ASSEMBLY).mdb
51 dbus-sharp.dll: $(DBUS_SHARP_FILES)
52 $(CSC) --debug --unsafe --target library -o dbus-sharp.dll $(DBUS_SHARP_FILES) AssemblyInfo.cs
54 test-dbus-sharp.exe: $(TEST_DBUS_SHARP_FILES)
55 $(CSC) --debug --unsafe --target exe -L . -r dbus-sharp.dll -pkg:gtk-sharp -o test-dbus-sharp.exe $(TEST_DBUS_SHARP_FILES)
58 rm -f $(TARGET) $(TARGET).mdb $(NOINST_EXES) $(NOINST_EXES:%=%.mdb)
61 @if test -n '$(TARGET)'; then \
62 echo "$(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(DESTDIR)$(libdir)"; \
63 $(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
67 @if test -n '$(TARGET)'; then \
68 echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(DESTDIR)$(libdir)"; \
69 $(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
75 $(ASSEMBLY).config.in \