Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $Id: $
  2. # We need to install the .config file ourselves because of a gacutil
  3. # bug (https://bugzilla.novell.com/show_bug.cgi?id=363341)
  4. monodir = $(libdir)/mono/pipi-sharp-0.0
  5. if USE_CSHARP
  6. noinst_DATA = pipi-sharp.dll pipi-sharp.dll.config test.exe
  7. endif
  8. pipi_sources = \
  9. $(srcdir)/AssemblyInfo.cs \
  10. $(srcdir)/Pipi.cs \
  11. $(srcdir)/Picture.cs
  12. test_sources = \
  13. $(srcdir)/test.cs
  14. EXTRA_DIST = $(pipi_sources) $(test_sources) \
  15. pipi-sharp.snk pipi-sharp.pc.in pipi-sharp.dll.config.in
  16. pipi-sharp.dll: $(pipi_sources)
  17. $(GMCS) -debug -unsafe $(pipi_sources) -out:$@ -target:library \
  18. -keyfile:$(srcdir)/pipi-sharp.snk
  19. test.exe: $(test_sources) pipi-sharp.dll
  20. $(GMCS) -debug $(test_sources) -out:$@ -lib:./ \
  21. -r:./pipi-sharp.dll
  22. if USE_CSHARP
  23. install-data-local:
  24. MONO_SHARED_DIR=$$HOME $(GACUTIL) -i pipi-sharp.dll \
  25. -package pipi-sharp-0.0 -f -root $(DESTDIR)$(libdir)
  26. $(mkinstalldirs) $(DESTDIR)$(monodir)
  27. sed -e 's@target="[^"]*/@target="@' < pipi-sharp.dll.config > $(DESTDIR)$(monodir)/pipi-sharp.dll.config
  28. uninstall-local:
  29. MONO_SHARED_DIR=$$HOME $(GACUTIL) -u pipi-sharp.dll, Version=0.0 \
  30. -package pipi-sharp-0.0 || true
  31. rm -f $(DESTDIR)$(monodir)/pipi-sharp.dll.config
  32. rmdir $(DESTDIR)$(monodir) 2>/dev/null || true
  33. endif
  34. clean-local:
  35. rm -f *.exe *.dll *.mdb