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.

46 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../jbigkit/shared-lib.patch
  5. # Copyright (C) 2010 The OpenSDE 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. --- jbigkit/libjbig/Makefile.orig 2008-08-30 19:20:52.000000000 +0200
  17. +++ jbigkit/libjbig/Makefile 2010-08-13 11:05:57.632003425 +0200
  18. @@ -7,7 +7,13 @@
  19. # Options for the compiler: A high optimization level is suggested
  20. CFLAGS = -g -O -Wall -ansi -pedantic # --coverage
  21. -all: libjbig.a tstcodec tstcodec85
  22. +all: static shared tstbin
  23. +
  24. +static: libjbig.a libjbig85.a
  25. +
  26. +shared: libjbig.so libjbig85.so
  27. +
  28. +tstbin: tstcodec tstcodec85
  29. tstcodec: tstcodec.o jbig.o jbig_ar.o
  30. $(CC) $(CFLAGS) -o tstcodec $+
  31. @@ -25,6 +31,12 @@
  32. ar rc libjbig85.a jbig85.o jbig_ar.o
  33. -ranlib libjbig85.a
  34. +libjbig.so: jbig.o jbig_ar.o
  35. + $(CC) $(CFLAGS) -shared jbig.o jbig_ar.o -o libjbig.so
  36. +
  37. +libjbig85.so: jbig85.o jbig_ar.o
  38. + $(CC) $(CFLAGS) -shared jbig85.o jbig_ar.o -o libjbig85.so
  39. +
  40. jbig.o: jbig.c jbig.h jbig_ar.h
  41. jbig85.o: jbig85.c jbig85.h jbig_ar.h
  42. jbig_ar.o: jbig_ar.c jbig_ar.h