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.
 
 
 
 
 
 

52 lines
1.1 KiB

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