source: libcaca/trunk/csharp/Makefile.am @ 2867

Last change on this file since 2867 was 2867, checked in by Sam Hocevar, 12 years ago

Split the C# bindings into separate files.

File size: 701 bytes
Line 
1# $Id: $
2
3cacadir = $(libdir)/caca-sharp
4
5caca_sources = \
6        $(srcdir)/AssemblyInfo.cs \
7        $(srcdir)/Caca.cs \
8        $(srcdir)/Attr.cs \
9        $(srcdir)/Canvas.cs \
10        $(srcdir)/Display.cs \
11        $(srcdir)/Dither.cs \
12        $(srcdir)/Event.cs \
13        $(srcdir)/Font.cs
14
15if USE_CSHARP
16caca_DATA = caca-sharp.dll caca-sharp.dll.config
17noinst_DATA = test.exe
18endif
19
20EXTRA_DIST = $(caca_sources) caca-sharp.dll.config.in \
21             $(srcdir)/test.cs
22
23caca-sharp.dll: $(caca_sources)
24        gmcs -unsafe $(caca_sources) -out:$@ -target:library \
25          -r:System.Drawing.dll
26
27test.exe: $(srcdir)/test.cs caca-sharp.dll
28        gmcs $(srcdir)/test.cs -out:$@ -lib:./ \
29          -r:System.Drawing.dll -r:./caca-sharp.dll
30
31clean-local:
32        rm -f *.exe *.dll
33
Note: See TracBrowser for help on using the repository browser.