1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../jbig2enc/sys-lepton.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- jbig2enc-0.27/Makefile.vanilla 2008-10-28 17:01:29.000000000 +0100
18 +++ jbig2enc-0.27/Makefile 2008-10-28 17:02:02.000000000 +0100
20 CFLAGS=-I${LEPTONICA}/src -Wall -I/usr/include -L/usr/lib -O3 ${EXTRA}
22 jbig2: libjbig2enc.a jbig2.cc
23 - $(CC) -o jbig2 jbig2.cc -L. -ljbig2enc ${LEPTONICA}/src/liblept.a $(CFLAGS) -lpng -ljpeg -ltiff -lm
24 + $(CC) -o jbig2 jbig2.cc -L. -ljbig2enc -llept $(CFLAGS) -lpng -ljpeg -ltiff -lm
26 libjbig2enc.a: jbig2enc.o jbig2arith.o jbig2sym.o
27 ar -rcv libjbig2enc.a jbig2enc.o jbig2arith.o jbig2sym.o
29 $(CC) -c jbig2sym.cc -DUSE_EXT $(CFLAGS)
32 - $(CC) -o delta delta.c $(CFLAGS) ${LEPTONICA}/src/liblept.a -lpng -ljpeg -ltiff -lm
33 + $(CC) -o delta delta.c $(CFLAGS) -llept -lpng -ljpeg -ltiff -lm
36 rm -f *.o jbig2 libjbig2enc.a