mirror of the now-defunct rocklinux.org
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.

57 lines
2.1 KiB

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