source: libpipi/trunk/pipi-sharp/Makefile.am @ 2912

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

Make the GTK# detection code more robust.

File size: 604 bytes
Line 
1# $Id: $
2
3pipidir = $(libdir)/pipi-sharp
4
5pipi_sources = \
6        $(srcdir)/AssemblyInfo.cs \
7        $(srcdir)/Pipi.cs \
8        $(srcdir)/Picture.cs
9
10test_sources = \
11        $(srcdir)/test.cs
12
13if USE_CSHARP
14pipi_DATA = pipi-sharp.dll pipi-sharp.dll.config
15noinst_DATA = test.exe
16endif
17
18EXTRA_DIST = $(pipi_sources) $(test_sources) \
19        pipi-sharp.pc.in pipi-sharp.dll.config.in
20
21pipi-sharp.dll: $(pipi_sources)
22        $(GMCS) -debug -unsafe $(pipi_sources) -out:$@ -target:library
23
24test.exe: $(test_sources) pipi-sharp.dll
25        $(GMCS) -debug $(test_sources) -out:$@ -lib:./ \
26          -r:./pipi-sharp.dll
27
28clean-local:
29        rm -f *.exe *.dll *.mdb
30
Note: See TracBrowser for help on using the repository browser.