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