Last change
on this file since 2821 was
2821,
checked in by Sam Hocevar, 12 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 | |
---|
3 | cacadir = $(libdir)/caca-sharp |
---|
4 | |
---|
5 | caca_sources = $(srcdir)/AssemblyInfo.cs $(srcdir)/Cucul.cs $(srcdir)/Caca.cs |
---|
6 | |
---|
7 | if USE_CSHARP |
---|
8 | caca_DATA = caca-sharp.dll caca-sharp.dll.config |
---|
9 | noinst_DATA = test.exe |
---|
10 | endif |
---|
11 | |
---|
12 | EXTRA_DIST = $(caca_sources) caca-sharp.dll.config.in \ |
---|
13 | $(srcdir)/test.cs |
---|
14 | |
---|
15 | caca-sharp.dll: $(caca_sources) |
---|
16 | gmcs -unsafe $(caca_sources) -out:$@ -target:library \ |
---|
17 | -r:System.Drawing.dll |
---|
18 | |
---|
19 | test.exe: $(srcdir)/test.cs caca-sharp.dll |
---|
20 | gmcs $(srcdir)/test.cs -out:$@ -lib:./ \ |
---|
21 | -r:System.Drawing.dll -r:./caca-sharp.dll |
---|
22 | |
---|
23 | clean-local: |
---|
24 | rm -f *.exe *.dll |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.