Index: Makefile
===================================================================
--- Makefile (nonexistent)
+++ Makefile (revision 5)
@@ -0,0 +1,55 @@
+# Unix makefile for the JBIG-KIT library
+
+# Select an ANSI/ISO C compiler here, GNU gcc is recommended
+# CC = gcc
+
+# Options for the compiler: A high optimization level is suggested
+# CFLAGS = -g -O -W -Wall -ansi -pedantic # --coverage
+
+all: libjbig.a libjbig85.a tstcodec tstcodec85
+
+tstcodec: tstcodec.o jbig.o jbig_ar.o
+ $(CC) $(CFLAGS) -o tstcodec tstcodec.o jbig.o jbig_ar.o
+
+tstcodec85: tstcodec85.o jbig85.o jbig_ar.o
+ $(CC) $(CFLAGS) -o tstcodec85 tstcodec85.o jbig85.o jbig_ar.o
+
+libjbig.a: jbig.o jbig_ar.o
+ rm -f libjbig.a
+ ar rc libjbig.a jbig.o jbig_ar.o
+ -ranlib libjbig.a
+
+libjbig85.a: jbig85.o jbig_ar.o
+ rm -f libjbig85.a
+ ar rc libjbig85.a jbig85.o jbig_ar.o
+ -ranlib libjbig85.a
+
+jbig.o: jbig.c jbig.h jbig_ar.h
+jbig85.o: jbig85.c jbig85.h jbig_ar.h
+jbig_ar.o: jbig_ar.c jbig_ar.h
+tstcodec.o: tstcodec.c jbig.h
+tstcodec85.o: tstcodec85.c jbig85.h
+
+update-po: jbig.c jbig85.c Makefile
+ xgettext -ojbig.pot -k_ \
+ --copyright-holder='Markus Kuhn' \
+ --msgid-bugs-address='http://www.cl.cam.ac.uk/~mgk25/jbigkit/' \
+ --package-name jbigkit \
+ jbig.c jbig85.c
+ cd po && for po in *.po ; do \
+ msgmerge --update $$po ../jbig.pot ; done
+
+analyze:
+ clang --analyze *.c
+
+test: tstcodec tstcodec85
+ ./tstcodec
+ ./tstcodec85
+
+t82test.pbm: tstcodec
+ ./tstcodec $@
+
+clean:
+ rm -f *.o *.gcda *.gcno *.gcov *.plist *~ core gmon.out dbg_d\=??.pbm
+ rm -f t82test.pbm
+ rm -f tstcodec tstcodec85
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~