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.

50 lines
1.6 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../jbigkit/shared-variant.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. # --- T2-COPYRIGHT-NOTE-END ---
  16. I like shared objects ...
  17. - Rene Rebe <rene@exactcode.de>
  18. --- jbigkit/libjbig/Makefile 2004-06-08 16:40:06.000000000 +0200
  19. +++ jbigkit-fixed/libjbig/Makefile 2005-02-23 09:16:22.358023704 +0100
  20. @@ -5,9 +5,9 @@
  21. CC = gcc
  22. # Options for the compiler: A high optimization level is suggested
  23. -CFLAGS = -O -Wall -ansi -pedantic
  24. +CFLAGS = -O -Wall -ansi -pedantic -fPIC
  25. -all: libjbig.a tstcodec
  26. +all: libjbig.a libjbig.so tstcodec
  27. tstcodec: tstcodec.c jbig.c jbig.h jbig_tab.o
  28. $(CC) $(CFLAGS) -o tstcodec -DTEST_CODEC tstcodec.c jbig.c \
  29. @@ -18,6 +18,9 @@
  30. ar rc libjbig.a jbig.o jbig_tab.o
  31. -ranlib libjbig.a
  32. +libjbig.so: jbig.o jbig_tab.o
  33. + $(CC) $(CFLAGS) -shared jbig.o jbig_tab.o -o libjbig.so
  34. +
  35. jbig.o: jbig.c jbig.h
  36. test: tstcodec
  37. @@ -27,4 +30,4 @@
  38. ./tstcodec $@
  39. clean:
  40. - rm -f *.o *~ core gmon.out dbg_d\=??.pbm tstcodec t82test.pbm
  41. + rm -f *.o *.so *~ core gmon.out dbg_d\=??.pbm tstcodec t82test.pbm