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.
 
 
 
 
 
 

64 lines
1.5 KiB

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