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

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

Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.

File size: 580 bytes
Line 
1# $Id: $
2
3cacadir = $(libdir)/caca-sharp
4
5caca_sources = $(srcdir)/AssemblyInfo.cs $(srcdir)/Cucul.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.