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

Last change on this file since 2898 was 2898, checked in by Sam Hocevar, 15 years ago

Reorganise MSVC files so that each project is with its source code.

File size: 821 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) \
24             caca-sharp.dll.config.in \
25             caca-sharp.csproj test-csharp.csproj
26
27caca-sharp.dll: $(caca_sources)
28        gmcs -unsafe $(caca_sources) -out:$@ -target:library \
29          -r:System.Drawing.dll
30
31test.exe: $(test_sources) caca-sharp.dll
32        gmcs $(test_sources) -out:$@ -lib:./ \
33          -r:System.Drawing.dll -r:./caca-sharp.dll
34
35clean-local:
36        rm -f *.exe *.dll
37
Note: See TracBrowser for help on using the repository browser.