summaryrefslogtreecommitdiff
path: root/mono/example/Makefile.am
blob: 9a8ed68e72fcbfcff2e6b56552afdd8d0acf5bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
NOINST_EXES=echo-server.exe echo-client.exe bus-listener.exe
DISTCLEANFILES=$(NOINST_EXES) $(NOINST_EXES:%=%.mdb)

all: $(NOINST_EXES)

echo-server.exe: EchoServer.cs Echoer.cs
	$(CSC) --debug --target exe -L .. -r:../dbus-sharp.dll -pkg:gtk-sharp -o echo-server.exe $(srcdir)/EchoServer.cs $(srcdir)/Echoer.cs

echo-client.exe: EchoClient.cs Echoer.cs
	$(CSC) --debug --target exe -L .. -r:../dbus-sharp.dll -o echo-client.exe $(srcdir)/EchoClient.cs $(srcdir)/Echoer.cs

bus-listener.exe: BusListener.cs
	$(CSC) --debug --target exe -L .. -r:../dbus-sharp.dll -pkg:gtk-sharp -o bus-listener.exe $(srcdir)/BusListener.cs


clean:
	rm -f $(NOINST_EXES) $(NOINST_EXES:%=%.mdb)

install: all

EXTRA_DIST=EchoServer.cs EchoClient.cs Echoer.cs BusListener.cs