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.
 
 
 
 
 
 

34 lines
964 B

  1. # $Id: $
  2. cuculdir = $(libdir)/cucul-sharp
  3. cacadir = $(libdir)/caca-sharp
  4. cucul_sources = $(srcdir)/AssemblyInfo.cs $(srcdir)/Cucul.cs
  5. caca_sources = $(srcdir)/AssemblyInfo.cs $(srcdir)/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.in \
  12. $(caca_sources) caca-sharp.dll.config.in \
  13. $(srcdir)/test.cs
  14. cucul-sharp.dll: $(cucul_sources)
  15. gmcs -unsafe $(cucul_sources) -out:$@ -target:library \
  16. -r:System.Drawing.dll
  17. caca-sharp.dll: $(caca_sources) cucul-sharp.dll
  18. gmcs -unsafe $(caca_sources) -out:$@ -target:library -lib:./ \
  19. -r:System.Drawing.dll -r:./cucul-sharp.dll
  20. test.exe: $(srcdir)/test.cs caca-sharp.dll cucul-sharp.dll
  21. gmcs $(srcdir)/test.cs -out:$@ -lib:./ \
  22. -r:System.Drawing.dll -r:./cucul-sharp.dll -r:./caca-sharp.dll
  23. clean-local:
  24. rm -f *.exe *.dll