You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132
  1. # $Id: $
  2. cuculdir = $(libdir)/cucul-sharp
  3. cacadir = $(libdir)/caca-sharp
  4. cucul_sources = AssemblyInfo.cs Cucul.cs
  5. caca_sources = AssemblyInfo.cs Caca.cs
  6. if USE_CSHARP
  7. cucul_DATA = cucul-sharp.dll cucul-sharp.dll.config
  8. caca_DATA = caca-sharp.dll caca-sharp.dll.config
  9. noinst_DATA = test.exe
  10. endif
  11. EXTRA_DIST = $(cucul_sources) cucul-sharp.dll.config \
  12. $(caca_sources) caca-sharp.dll.config \
  13. test.cs
  14. cucul-sharp.dll: $(cucul_sources)
  15. gmcs $(cucul_sources) -out:$@ -target:library -unsafe
  16. caca-sharp.dll: $(caca_sources) cucul-sharp.dll
  17. gmcs $(caca_sources) -out:$@ -target:library \
  18. -r:./cucul-sharp.dll -lib:./ -unsafe
  19. test.exe: test.cs caca-sharp.dll cucul-sharp.dll
  20. gmcs test.cs -out:$@ \
  21. -r:./cucul-sharp.dll -r:./caca-sharp.dll -lib:./ -unsafe
  22. clean-local:
  23. rm -f *.exe *.dll