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

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

Continuing the libcucul-libcaca merge.

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