summaryrefslogtreecommitdiffstats
path: root/mono/Makefile.am
blob: 76704058b4bf4aad9b92dbe3cd0151d3b0c14a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
DESTDIR=

DLLS=dbus-sharp.dll
NOINST_EXES=test-dbus-sharp.exe

DBUS_SHARP_FILES= 		\
	Arguments.cs		\
	Bus.cs			\
	Connection.cs		\
	Custom.cs		\
	DBusException.cs	\
	Error.cs		\
	ErrorMessage.cs		\
	Handler.cs		\
	InterfaceAttribute.cs	\
	InterfaceProxy.cs	\
	Introspector.cs		\
	Message.cs		\
	MethodAttribute.cs	\
	MethodCall.cs		\
	MethodReturn.cs		\
	ProxyBuilder.cs		\
	Server.cs		\
	Service.cs		\
	Signal.cs		\
	SignalAttribute.cs	\
	DBusType/IDBusType.cs	\
	DBusType/Array.cs	\
	DBusType/Boolean.cs	\
	DBusType/Byte.cs	\
	DBusType/Custom.cs	\
	DBusType/Dict.cs	\
	DBusType/Double.cs	\
	DBusType/Int32.cs	\
	DBusType/Int64.cs	\
	DBusType/Nil.cs		\
	DBusType/ObjectPath.cs	\
	DBusType/String.cs	\
	DBusType/UInt32.cs	\
	DBusType/UInt64.cs

TEST_DBUS_SHARP_FILES=Test.cs

all: $(DLLS)

dbus-sharp.dll: $(DBUS_SHARP_FILES)
	$(MCS) $(MCSFLAGS) --unsafe --target library -o dbus-sharp.dll $(DBUS_SHARP_FILES)

test-dbus-sharp.exe: $(TEST_DBUS_SHARP_FILES)
	$(MCS) $(MCSFLAGS) --unsafe --target exe -L . -r dbus-sharp.dll -r gtk-sharp.dll -o test-dbus-sharp.exe $(TEST_DBUS_SHARP_FILES)

clean:
	rm -f $(DLLS) $(NOINST_EXES)

install: all
	../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
	cp $(DLLS) $(DESTDIR)$(prefix)/lib || exit 1

EXTRA_DIST=$(DBUS_SHARP_FILES)