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

Last change on this file since 2868 was 2868, checked in by Sam Hocevar, 11 years ago

Tidy the .NET Makefile.

File size: 717 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
15test_sources = \
16        $(srcdir)/test.cs
17
18if USE_CSHARP
19caca_DATA = caca-sharp.dll caca-sharp.dll.config
20noinst_DATA = test.exe
21endif
22
23EXTRA_DIST = $(caca_sources) $(test_sources) caca-sharp.dll.config.in
24
25caca-sharp.dll: $(caca_sources)
26        gmcs -unsafe $(caca_sources) -out:$@ -target:library \
27          -r:System.Drawing.dll
28
29test.exe: $(test_sources) caca-sharp.dll
30        gmcs $(test_sources) -out:$@ -lib:./ \
31          -r:System.Drawing.dll -r:./caca-sharp.dll
32
33clean-local:
34        rm -f *.exe *.dll
35
Note: See TracBrowser for help on using the repository browser.