Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # $Id: $
  2. pimplibdir = $(libdir)/ThePimp
  3. pimp_sources = \
  4. src/AssemblyInfo.cs \
  5. src/Main.cs \
  6. src/AboutWindow.cs \
  7. src/ErrorWindow.cs \
  8. src/MainWindow.cs \
  9. src/NewFile.cs \
  10. src/OpenFile.cs \
  11. src/PictureView.cs \
  12. src/SaveFile.cs \
  13. src/ToolBox.cs \
  14. gtk-gui/generated.cs \
  15. gtk-gui/ThePimp.AboutWindow.cs \
  16. gtk-gui/ThePimp.ErrorWindow.cs \
  17. gtk-gui/ThePimp.MainWindow.cs \
  18. gtk-gui/ThePimp.NewFile.cs \
  19. gtk-gui/ThePimp.OpenFile.cs \
  20. gtk-gui/ThePimp.PictureView.cs \
  21. gtk-gui/ThePimp.SaveFile.cs \
  22. gtk-gui/ThePimp.ToolBox.cs
  23. pimp_resources = \
  24. gtk-gui/gui.stetic \
  25. gtk-gui/objects.xml \
  26. images/about.png
  27. image_sources = \
  28. images/about.svg
  29. if USE_CSHARP
  30. pimplib_DATA = ThePimp.exe
  31. bin_SCRIPTS = pimp
  32. endif
  33. if USE_GTKSHARP
  34. pimp_flags = -pkg:gtk-sharp-2.0 -r:Mono.Posix
  35. else
  36. pimp_flags = \
  37. -r:$(top_srcdir)/win32/gtksharp/bin/pango-sharp.dll \
  38. -r:$(top_srcdir)/win32/gtksharp/bin/atk-sharp.dll \
  39. -r:$(top_srcdir)/win32/gtksharp/bin/gdk-sharp.dll \
  40. -r:$(top_srcdir)/win32/gtksharp/bin/gtk-sharp.dll \
  41. -r:$(top_srcdir)/win32/gtksharp/bin/glib-sharp.dll \
  42. -r:Mono.Posix
  43. endif
  44. EXTRA_DIST = $(pimp_sources) $(pimp_resources) $(image_sources) \
  45. pimp.desktop
  46. ThePimp.exe: ../pipi-sharp/pipi-sharp.dll $(pimp_sources) $(pimp_resources)
  47. cp ../pipi-sharp/pipi-sharp.dll .
  48. cp ../pipi-sharp/pipi-sharp.dll.config .
  49. cp ../pipi-sharp/pipi-sharp.dll.mdb .
  50. $(GMCS) -debug -codepage:utf8 -target:winexe -out:$@ $(pimp_flags) \
  51. -lib:./ -r:pipi-sharp.dll \
  52. $(addprefix $(srcdir)/, $(pimp_sources)) \
  53. $(foreach x, $(pimp_resources), \
  54. -resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x))
  55. clean-local:
  56. rm -f pipi-sharp.dll.config
  57. rm -f *.exe *.dll *.mdb