OpenSDE Packages Database (without history before r20070)
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.

53 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libgli/cc.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -pruN libgli-0.4_orig/src/Makefile libgli-0.4/src/Makefile
  17. --- libgli-0.4_orig/src/Makefile 2002-12-16 08:24:07.000000000 +0100
  18. +++ libgli-0.4/src/Makefile 2004-01-17 11:23:16.000000000 +0100
  19. @@ -2,16 +2,18 @@ CFLAGS = -pedantic -ansi -Wall -I./inclu
  20. LFLAGS = -ldl -shared
  21. C++ = g++
  22. -all: libgli.so
  23. +all: libgli.so libgli.a
  24. uninstall:
  25. rm -f $(prefix)/lib/libgli-$(VERSION).so
  26. rm -f $(prefix)/lib/libgli.so
  27. + rm -f $(prefix)/lib/libgli.a
  28. rm -f $(prefix)/include/gli*.h
  29. -install: libgli.so
  30. +install: libgli.so libgli.a
  31. cp libgli.so $(prefix)/lib/libgli-$(VERSION).so
  32. ln -sf $(prefix)/lib/libgli-$(VERSION).so $(prefix)/lib/libgli.so
  33. + cp libgli.a $(prefix)/lib/libgli.a
  34. cp include/gli*.h $(prefix)/include
  35. gli_button.o: gli_button.cpp
  36. @@ -58,6 +60,13 @@ libgli.so: gli_button.o gli_frame.o gli_
  37. gli_texture_tga.o gli_editbox.o gli_image.o gli_progress.o
  38. $(C++) $(CFLAGS) gli*.o -o libgli.so $(LFLAGS)
  39. +libgli.a: gli_button.o gli_frame.o gli_glf.o gli_interface.o gli_object.o \
  40. + gli_text.o gli_texture.o gli_window.o gli_texture_rgb.o \
  41. + gli_texture_tga.o gli_editbox.o gli_image.o gli_progress.o
  42. + ar rcs libgli.a gli*.o
  43. + ranlib libgli.a
  44. +
  45. clean:
  46. rm -f *.o
  47. rm -f libgli.so
  48. + rm -f libgli.a