Commit e79904ea006e18a388e90e61f0c90a74f38d9e4d

Authored by David Glessner
Committed by KMG
1 parent e84360f8

This is the squashed pull request from David Glessner, squashed

and reviewed by Kevin Greenan.

Updated README

Allow out-of-source builds. Quiet autogen.sh warnings.

Use AM_CPPFLAGS instead of INCLUDES. Use $(top_srcdir).

Add .gitignore to quiet git status.

Add project URL to AC_INIT.

Stop libtool from compiling files twice.

Have git ignore .deps/.

Don't override user CPPFLAGS.

(PIC options appear to be set already. INCLUDES already included.)

Clean configure.ac.

Make it closer to autoscan output.

Have autotools create INSTALL.

Use AC_MSG_FAILURE if GF-Complete not found.

Run autogen.sh.

(autoconf 2.69, automake 1.14.1, libtool 2.4.2)

Add some .gitignore files.

Fix configure cpuid unknown issue.

Move AX_EXT before AC_CHECK_LIB(gf_complete...) so that
-lgf_complete doesn't cause CPUID conftest compile to fail.

Don't check for internal gf_int.h header.

GF-Complete doesn't install it.

Quiet some autoreconf warnings.

INCLUDES is now AM_CPPFLAGS. Use single-argument AM_INIT_AUTOMAKE.

Remove some AC_REQUIRE whose conftest always failed.

Quiet configure warning.

(ARCH_64 doesn't appear to be used.)

CPUID "unknown" fix from upstream autoconf-archive.

Allow out-of-source builds. Use dependency tracking.

Remove config.h.in~.

Update ax_check_compile_flag.m4 from autoconf-archive.

Add .gitattributes.

Remove autoreconf-generated files.

Remove ACLOCAL_AMFLAGS.

See Automake 1.13 release notes.

Add files for 'make dist'.

Quiet some warnings.

getcwd() in <unistd.h>. Remove some vars.

Make headers compatible with C++.

Quiet some warnings.

Install additional headers in include/jerasure/.

Quiet some configure check internal failures.

Use new AX_REQUIRE_DEFINED instead of AC_REQUIRE, which expands
the macro and causes internal compile failure.

Fix file permissions.

Remove INTEL_SSE compiler defines.

(Can use HAVE_xxx or __xxx__ instead.)

Set default CFLAGS to '-g -O3 -Wall'.

Add more checks from autoscan.

Use AC_CONFIG_AUX_DIR([build-aux]).

Use processor time for timing.

Use clock() instead of gettimeofday().

Use common LDADD in Makefile.am.

Remove pre-autotools makefiles.

Ignore *.a. (Missed earlier.)

Quiet more warnings.

Document need for autoreconf -fi.

Removed README.nd and README.txt so changes don't need to be duplicated.

Remove autogen.sh.

Just use "autoreconf --force --install".
.gitattributes 0 โ†’ 100644
... ... @@ -0,0 +1,3 @@
  1 +*.ac eol=lf
  2 +*.am eol=lf
  3 +*.sh eol=lf
... ...
.gitignore 0 โ†’ 100644
... ... @@ -0,0 +1,25 @@
  1 +/INSTALL
  2 +Makefile
  3 +Makefile.in
  4 +/aclocal.m4
  5 +/autom4te.cache/
  6 +/autoscan.log
  7 +/build-aux/
  8 +/config.log
  9 +/config.status
  10 +/configure
  11 +/configure.scan
  12 +.deps/
  13 +/include/config.h
  14 +/include/config.h.in
  15 +/include/stamp-h1
  16 +.libs/
  17 +/libtool
  18 +/m4/libtool.m4
  19 +/m4/ltoptions.m4
  20 +/m4/ltsugar.m4
  21 +/m4/ltversion.m4
  22 +/m4/lt~obsolete.m4
  23 +*.l[ao]
  24 +*.[ao]
  25 +*~
... ...
Examples/.gitignore 0 โ†’ 100644
... ... @@ -0,0 +1,8 @@
  1 +/cauchy_[0-9][0-9]
  2 +/decoder
  3 +/encoder
  4 +/jerasure_[0-9][0-9]
  5 +/liberation_[0-9][0-9]
  6 +/reed_sol_[0-9][0-9]
  7 +/reed_sol_test_gf
  8 +/reed_sol_time_gf
0 9 \ No newline at end of file
... ...
Examples/Makefile.am
1 1 # Jerasure AM file
2 2  
3   -INCLUDES=-I../
  3 +AM_CPPFLAGS = -I$(top_srcdir)/include
4 4 AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
5 5  
6 6 bin_PROGRAMS = jerasure_01 \
... ... @@ -25,65 +25,36 @@ bin_PROGRAMS = jerasure_01 \
25 25 encoder \
26 26 decoder
27 27  
28   -jerasure_01_SOURCES = jerasure_01.c
29   -jerasure_01_LDADD = ../src/libJerasure.la
  28 +dist_noinst_SCRIPTS = test_all_gfs.sh time_all_gfs_argv_init.sh
30 29  
  30 +jerasure_01_SOURCES = jerasure_01.c
31 31 jerasure_02_SOURCES = jerasure_02.c
32   -jerasure_02_LDADD = ../src/libJerasure.la
33   -
34 32 jerasure_03_SOURCES = jerasure_03.c
35   -jerasure_03_LDADD = ../src/libJerasure.la
36   -
37 33 jerasure_04_SOURCES = jerasure_04.c
38   -jerasure_04_LDADD = ../src/libJerasure.la
39   -
40 34 jerasure_05_SOURCES = jerasure_05.c
41   -jerasure_05_LDADD = ../src/libJerasure.la
42   -
43 35 jerasure_06_SOURCES = jerasure_06.c
44   -jerasure_06_LDADD = ../src/libJerasure.la
45   -
46 36 jerasure_07_SOURCES = jerasure_07.c
47   -jerasure_07_LDADD = ../src/libJerasure.la
48   -
49 37 jerasure_08_SOURCES = jerasure_08.c
50   -jerasure_08_LDADD = ../src/libJerasure.la
51 38  
52 39 reed_sol_01_SOURCES = reed_sol_01.c
53   -reed_sol_01_LDADD = ../src/libJerasure.la
54   -
55 40 reed_sol_02_SOURCES = reed_sol_02.c
56   -reed_sol_02_LDADD = ../src/libJerasure.la
57   -
58 41 reed_sol_03_SOURCES = reed_sol_03.c
59   -reed_sol_03_LDADD = ../src/libJerasure.la
60   -
61 42 reed_sol_04_SOURCES = reed_sol_04.c
62   -reed_sol_04_LDADD = ../src/libJerasure.la
63 43  
64 44 reed_sol_test_gf_SOURCES = reed_sol_test_gf.c
65   -reed_sol_test_gf_LDADD = ../src/libJerasure.la
66   -
67 45 reed_sol_time_gf_SOURCES = reed_sol_time_gf.c
68   -reed_sol_time_gf_LDADD = ../src/libJerasure.la
69 46  
70 47 cauchy_01_SOURCES = cauchy_01.c
71   -cauchy_01_LDADD = ../src/libJerasure.la
72   -
73 48 cauchy_02_SOURCES = cauchy_02.c
74   -cauchy_02_LDADD = ../src/libJerasure.la
75   -
76 49 cauchy_03_SOURCES = cauchy_03.c
77   -cauchy_03_LDADD = ../src/libJerasure.la
78   -
79 50 cauchy_04_SOURCES = cauchy_04.c
80   -cauchy_04_LDADD = ../src/libJerasure.la
81 51  
82 52 liberation_01_SOURCES = liberation_01.c
83   -liberation_01_LDADD = ../src/libJerasure.la
84 53  
  54 +decoder_SOURCES = decoder.c
85 55 encoder_SOURCES = encoder.c
86   -encoder_LDADD = ../src/libJerasure.la
87 56  
88   -decoder_SOURCES = decoder.c
89   -decoder_LDADD = ../src/libJerasure.la
  57 +LDADD = ../src/libJerasure.la
  58 +decoder_LDADD = $(LDADD) ../src/libtiming.a
  59 +encoder_LDADD = $(LDADD) ../src/libtiming.a
  60 +reed_sol_time_gf_LDADD = $(LDADD) ../src/libtiming.a
... ...
Examples/Makefile.in
... ... @@ -1,688 +0,0 @@
1   -# Makefile.in generated by automake 1.11.3 from Makefile.am.
2   -# @configure_input@
3   -
4   -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5   -# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6   -# Foundation, Inc.
7   -# This Makefile.in is free software; the Free Software Foundation
8   -# gives unlimited permission to copy and/or distribute it,
9   -# with or without modifications, as long as this notice is preserved.
10   -
11   -# This program is distributed in the hope that it will be useful,
12   -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13   -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14   -# PARTICULAR PURPOSE.
15   -
16   -@SET_MAKE@
17   -
18   -# Jerasure AM file
19   -
20   -VPATH = @srcdir@
21   -pkgdatadir = $(datadir)/@PACKAGE@
22   -pkgincludedir = $(includedir)/@PACKAGE@
23   -pkglibdir = $(libdir)/@PACKAGE@
24   -pkglibexecdir = $(libexecdir)/@PACKAGE@
25   -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26   -install_sh_DATA = $(install_sh) -c -m 644
27   -install_sh_PROGRAM = $(install_sh) -c
28   -install_sh_SCRIPT = $(install_sh) -c
29   -INSTALL_HEADER = $(INSTALL_DATA)
30   -transform = $(program_transform_name)
31   -NORMAL_INSTALL = :
32   -PRE_INSTALL = :
33   -POST_INSTALL = :
34   -NORMAL_UNINSTALL = :
35   -PRE_UNINSTALL = :
36   -POST_UNINSTALL = :
37   -build_triplet = @build@
38   -host_triplet = @host@
39   -bin_PROGRAMS = jerasure_01$(EXEEXT) jerasure_02$(EXEEXT) \
40   - jerasure_03$(EXEEXT) jerasure_04$(EXEEXT) jerasure_05$(EXEEXT) \
41   - jerasure_06$(EXEEXT) jerasure_07$(EXEEXT) jerasure_08$(EXEEXT) \
42   - reed_sol_01$(EXEEXT) reed_sol_02$(EXEEXT) reed_sol_03$(EXEEXT) \
43   - reed_sol_04$(EXEEXT) reed_sol_test_gf$(EXEEXT) \
44   - reed_sol_time_gf$(EXEEXT) \
45   - cauchy_01$(EXEEXT) cauchy_02$(EXEEXT) cauchy_03$(EXEEXT) \
46   - cauchy_04$(EXEEXT) liberation_01$(EXEEXT) encoder$(EXEEXT) \
47   - decoder$(EXEEXT)
48   -subdir = Examples
49   -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
50   -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51   -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
52   - $(top_srcdir)/m4/ax_ext.m4 \
53   - $(top_srcdir)/m4/ax_gcc_x86_avx_xgetbv.m4 \
54   - $(top_srcdir)/m4/ax_gcc_x86_cpuid.m4 \
55   - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
56   - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
57   - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
58   -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59   - $(ACLOCAL_M4)
60   -mkinstalldirs = $(install_sh) -d
61   -CONFIG_HEADER = $(top_builddir)/include/config.h
62   -CONFIG_CLEAN_FILES =
63   -CONFIG_CLEAN_VPATH_FILES =
64   -am__installdirs = "$(DESTDIR)$(bindir)"
65   -PROGRAMS = $(bin_PROGRAMS)
66   -am_cauchy_01_OBJECTS = cauchy_01.$(OBJEXT)
67   -cauchy_01_OBJECTS = $(am_cauchy_01_OBJECTS)
68   -cauchy_01_DEPENDENCIES = ../src/libJerasure.la
69   -am_cauchy_02_OBJECTS = cauchy_02.$(OBJEXT)
70   -cauchy_02_OBJECTS = $(am_cauchy_02_OBJECTS)
71   -cauchy_02_DEPENDENCIES = ../src/libJerasure.la
72   -am_cauchy_03_OBJECTS = cauchy_03.$(OBJEXT)
73   -cauchy_03_OBJECTS = $(am_cauchy_03_OBJECTS)
74   -cauchy_03_DEPENDENCIES = ../src/libJerasure.la
75   -am_cauchy_04_OBJECTS = cauchy_04.$(OBJEXT)
76   -cauchy_04_OBJECTS = $(am_cauchy_04_OBJECTS)
77   -cauchy_04_DEPENDENCIES = ../src/libJerasure.la
78   -am_decoder_OBJECTS = decoder.$(OBJEXT)
79   -decoder_OBJECTS = $(am_decoder_OBJECTS)
80   -decoder_DEPENDENCIES = ../src/libJerasure.la
81   -am_encoder_OBJECTS = encoder.$(OBJEXT)
82   -encoder_OBJECTS = $(am_encoder_OBJECTS)
83   -encoder_DEPENDENCIES = ../src/libJerasure.la
84   -am_jerasure_01_OBJECTS = jerasure_01.$(OBJEXT)
85   -jerasure_01_OBJECTS = $(am_jerasure_01_OBJECTS)
86   -jerasure_01_DEPENDENCIES = ../src/libJerasure.la
87   -am_jerasure_02_OBJECTS = jerasure_02.$(OBJEXT)
88   -jerasure_02_OBJECTS = $(am_jerasure_02_OBJECTS)
89   -jerasure_02_DEPENDENCIES = ../src/libJerasure.la
90   -am_jerasure_03_OBJECTS = jerasure_03.$(OBJEXT)
91   -jerasure_03_OBJECTS = $(am_jerasure_03_OBJECTS)
92   -jerasure_03_DEPENDENCIES = ../src/libJerasure.la
93   -am_jerasure_04_OBJECTS = jerasure_04.$(OBJEXT)
94   -jerasure_04_OBJECTS = $(am_jerasure_04_OBJECTS)
95   -jerasure_04_DEPENDENCIES = ../src/libJerasure.la
96   -am_jerasure_05_OBJECTS = jerasure_05.$(OBJEXT)
97   -jerasure_05_OBJECTS = $(am_jerasure_05_OBJECTS)
98   -jerasure_05_DEPENDENCIES = ../src/libJerasure.la
99   -am_jerasure_06_OBJECTS = jerasure_06.$(OBJEXT)
100   -jerasure_06_OBJECTS = $(am_jerasure_06_OBJECTS)
101   -jerasure_06_DEPENDENCIES = ../src/libJerasure.la
102   -am_jerasure_07_OBJECTS = jerasure_07.$(OBJEXT)
103   -jerasure_07_OBJECTS = $(am_jerasure_07_OBJECTS)
104   -jerasure_07_DEPENDENCIES = ../src/libJerasure.la
105   -am_jerasure_08_OBJECTS = jerasure_08.$(OBJEXT)
106   -jerasure_08_OBJECTS = $(am_jerasure_08_OBJECTS)
107   -jerasure_08_DEPENDENCIES = ../src/libJerasure.la
108   -am_liberation_01_OBJECTS = liberation_01.$(OBJEXT)
109   -liberation_01_OBJECTS = $(am_liberation_01_OBJECTS)
110   -liberation_01_DEPENDENCIES = ../src/libJerasure.la
111   -am_reed_sol_01_OBJECTS = reed_sol_01.$(OBJEXT)
112   -reed_sol_01_OBJECTS = $(am_reed_sol_01_OBJECTS)
113   -reed_sol_01_DEPENDENCIES = ../src/libJerasure.la
114   -am_reed_sol_02_OBJECTS = reed_sol_02.$(OBJEXT)
115   -reed_sol_02_OBJECTS = $(am_reed_sol_02_OBJECTS)
116   -reed_sol_02_DEPENDENCIES = ../src/libJerasure.la
117   -am_reed_sol_03_OBJECTS = reed_sol_03.$(OBJEXT)
118   -reed_sol_03_OBJECTS = $(am_reed_sol_03_OBJECTS)
119   -reed_sol_03_DEPENDENCIES = ../src/libJerasure.la
120   -am_reed_sol_04_OBJECTS = reed_sol_04.$(OBJEXT)
121   -reed_sol_04_OBJECTS = $(am_reed_sol_04_OBJECTS)
122   -reed_sol_04_DEPENDENCIES = ../src/libJerasure.la
123   -am_reed_sol_test_gf_OBJECTS = reed_sol_test_gf.$(OBJEXT)
124   -reed_sol_test_gf_OBJECTS = $(am_reed_sol_test_gf_OBJECTS)
125   -reed_sol_test_gf_DEPENDENCIES = ../src/libJerasure.la
126   -am_reed_sol_time_gf_OBJECTS = reed_sol_time_gf.$(OBJEXT)
127   -reed_sol_time_gf_OBJECTS = $(am_reed_sol_time_gf_OBJECTS)
128   -reed_sol_time_gf_DEPENDENCIES = ../src/libJerasure.la
129   -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
130   -depcomp =
131   -am__depfiles_maybe =
132   -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
133   - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
134   -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
135   - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
136   - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
137   -CCLD = $(CC)
138   -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
139   - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
140   - $(LDFLAGS) -o $@
141   -SOURCES = $(cauchy_01_SOURCES) $(cauchy_02_SOURCES) \
142   - $(cauchy_03_SOURCES) $(cauchy_04_SOURCES) $(decoder_SOURCES) \
143   - $(encoder_SOURCES) $(jerasure_01_SOURCES) \
144   - $(jerasure_02_SOURCES) $(jerasure_03_SOURCES) \
145   - $(jerasure_04_SOURCES) $(jerasure_05_SOURCES) \
146   - $(jerasure_06_SOURCES) $(jerasure_07_SOURCES) \
147   - $(jerasure_08_SOURCES) $(liberation_01_SOURCES) \
148   - $(reed_sol_01_SOURCES) $(reed_sol_02_SOURCES) \
149   - $(reed_sol_03_SOURCES) $(reed_sol_04_SOURCES) \
150   - $(reed_sol_test_gf_SOURCES) \
151   - $(reed_sol_time_gf_SOURCES)
152   -DIST_SOURCES = $(cauchy_01_SOURCES) $(cauchy_02_SOURCES) \
153   - $(cauchy_03_SOURCES) $(cauchy_04_SOURCES) $(decoder_SOURCES) \
154   - $(encoder_SOURCES) $(jerasure_01_SOURCES) \
155   - $(jerasure_02_SOURCES) $(jerasure_03_SOURCES) \
156   - $(jerasure_04_SOURCES) $(jerasure_05_SOURCES) \
157   - $(jerasure_06_SOURCES) $(jerasure_07_SOURCES) \
158   - $(jerasure_08_SOURCES) $(liberation_01_SOURCES) \
159   - $(reed_sol_01_SOURCES) $(reed_sol_02_SOURCES) \
160   - $(reed_sol_03_SOURCES) $(reed_sol_04_SOURCES) \
161   - $(reed_sol_test_gf_SOURCES) \
162   - $(reed_sol_time_gf_SOURCES)
163   -ETAGS = etags
164   -CTAGS = ctags
165   -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
166   -ACLOCAL = @ACLOCAL@
167   -AMTAR = @AMTAR@
168   -AR = @AR@
169   -AUTOCONF = @AUTOCONF@
170   -AUTOHEADER = @AUTOHEADER@
171   -AUTOMAKE = @AUTOMAKE@
172   -AWK = @AWK@
173   -CC = @CC@
174   -CFLAGS = @CFLAGS@
175   -CPP = @CPP@
176   -CPPFLAGS = @CPPFLAGS@
177   -CYGPATH_W = @CYGPATH_W@
178   -DEFS = @DEFS@
179   -DLLTOOL = @DLLTOOL@
180   -DSYMUTIL = @DSYMUTIL@
181   -DUMPBIN = @DUMPBIN@
182   -ECHO_C = @ECHO_C@
183   -ECHO_N = @ECHO_N@
184   -ECHO_T = @ECHO_T@
185   -EGREP = @EGREP@
186   -EXEEXT = @EXEEXT@
187   -FGREP = @FGREP@
188   -GREP = @GREP@
189   -INSTALL = @INSTALL@
190   -INSTALL_DATA = @INSTALL_DATA@
191   -INSTALL_PROGRAM = @INSTALL_PROGRAM@
192   -INSTALL_SCRIPT = @INSTALL_SCRIPT@
193   -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
194   -LD = @LD@
195   -LDFLAGS = @LDFLAGS@
196   -LIBOBJS = @LIBOBJS@
197   -LIBS = @LIBS@
198   -LIBTOOL = @LIBTOOL@
199   -LIPO = @LIPO@
200   -LN_S = @LN_S@
201   -LTLIBOBJS = @LTLIBOBJS@
202   -MAKEINFO = @MAKEINFO@
203   -MANIFEST_TOOL = @MANIFEST_TOOL@
204   -MKDIR_P = @MKDIR_P@
205   -NM = @NM@
206   -NMEDIT = @NMEDIT@
207   -OBJDUMP = @OBJDUMP@
208   -OBJEXT = @OBJEXT@
209   -OTOOL = @OTOOL@
210   -OTOOL64 = @OTOOL64@
211   -PACKAGE = @PACKAGE@
212   -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
213   -PACKAGE_NAME = @PACKAGE_NAME@
214   -PACKAGE_STRING = @PACKAGE_STRING@
215   -PACKAGE_TARNAME = @PACKAGE_TARNAME@
216   -PACKAGE_URL = @PACKAGE_URL@
217   -PACKAGE_VERSION = @PACKAGE_VERSION@
218   -PATH_SEPARATOR = @PATH_SEPARATOR@
219   -RANLIB = @RANLIB@
220   -SED = @SED@
221   -SET_MAKE = @SET_MAKE@
222   -SHELL = @SHELL@
223   -SIMD_FLAGS = @SIMD_FLAGS@
224   -STRIP = @STRIP@
225   -VERSION = @VERSION@
226   -abs_builddir = @abs_builddir@
227   -abs_srcdir = @abs_srcdir@
228   -abs_top_builddir = @abs_top_builddir@
229   -abs_top_srcdir = @abs_top_srcdir@
230   -ac_ct_AR = @ac_ct_AR@
231   -ac_ct_CC = @ac_ct_CC@
232   -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
233   -am__leading_dot = @am__leading_dot@
234   -am__tar = @am__tar@
235   -am__untar = @am__untar@
236   -bindir = @bindir@
237   -build = @build@
238   -build_alias = @build_alias@
239   -build_cpu = @build_cpu@
240   -build_os = @build_os@
241   -build_vendor = @build_vendor@
242   -builddir = @builddir@
243   -datadir = @datadir@
244   -datarootdir = @datarootdir@
245   -docdir = @docdir@
246   -dvidir = @dvidir@
247   -exec_prefix = @exec_prefix@
248   -host = @host@
249   -host_alias = @host_alias@
250   -host_cpu = @host_cpu@
251   -host_os = @host_os@
252   -host_vendor = @host_vendor@
253   -htmldir = @htmldir@
254   -includedir = @includedir@
255   -infodir = @infodir@
256   -install_sh = @install_sh@
257   -libdir = @libdir@
258   -libexecdir = @libexecdir@
259   -localedir = @localedir@
260   -localstatedir = @localstatedir@
261   -mandir = @mandir@
262   -mkdir_p = @mkdir_p@
263   -oldincludedir = @oldincludedir@
264   -pdfdir = @pdfdir@
265   -prefix = @prefix@
266   -program_transform_name = @program_transform_name@
267   -psdir = @psdir@
268   -sbindir = @sbindir@
269   -sharedstatedir = @sharedstatedir@
270   -srcdir = @srcdir@
271   -sysconfdir = @sysconfdir@
272   -target_alias = @target_alias@
273   -top_build_prefix = @top_build_prefix@
274   -top_builddir = @top_builddir@
275   -top_srcdir = @top_srcdir@
276   -INCLUDES = -I../
277   -AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
278   -jerasure_01_SOURCES = jerasure_01.c
279   -jerasure_01_LDADD = ../src/libJerasure.la
280   -jerasure_02_SOURCES = jerasure_02.c
281   -jerasure_02_LDADD = ../src/libJerasure.la
282   -jerasure_03_SOURCES = jerasure_03.c
283   -jerasure_03_LDADD = ../src/libJerasure.la
284   -jerasure_04_SOURCES = jerasure_04.c
285   -jerasure_04_LDADD = ../src/libJerasure.la
286   -jerasure_05_SOURCES = jerasure_05.c
287   -jerasure_05_LDADD = ../src/libJerasure.la
288   -jerasure_06_SOURCES = jerasure_06.c
289   -jerasure_06_LDADD = ../src/libJerasure.la
290   -jerasure_07_SOURCES = jerasure_07.c
291   -jerasure_07_LDADD = ../src/libJerasure.la
292   -jerasure_08_SOURCES = jerasure_08.c
293   -jerasure_08_LDADD = ../src/libJerasure.la
294   -reed_sol_01_SOURCES = reed_sol_01.c
295   -reed_sol_01_LDADD = ../src/libJerasure.la
296   -reed_sol_02_SOURCES = reed_sol_02.c
297   -reed_sol_02_LDADD = ../src/libJerasure.la
298   -reed_sol_03_SOURCES = reed_sol_03.c
299   -reed_sol_03_LDADD = ../src/libJerasure.la
300   -reed_sol_04_SOURCES = reed_sol_04.c
301   -reed_sol_04_LDADD = ../src/libJerasure.la
302   -reed_sol_test_gf_SOURCES = reed_sol_test_gf.c
303   -reed_sol_test_gf_LDADD = ../src/libJerasure.la
304   -reed_sol_time_gf_SOURCES = reed_sol_time_gf.c
305   -reed_sol_time_gf_LDADD = ../src/libJerasure.la
306   -cauchy_01_SOURCES = cauchy_01.c
307   -cauchy_01_LDADD = ../src/libJerasure.la
308   -cauchy_02_SOURCES = cauchy_02.c
309   -cauchy_02_LDADD = ../src/libJerasure.la
310   -cauchy_03_SOURCES = cauchy_03.c
311   -cauchy_03_LDADD = ../src/libJerasure.la
312   -cauchy_04_SOURCES = cauchy_04.c
313   -cauchy_04_LDADD = ../src/libJerasure.la
314   -liberation_01_SOURCES = liberation_01.c
315   -liberation_01_LDADD = ../src/libJerasure.la
316   -encoder_SOURCES = encoder.c
317   -encoder_LDADD = ../src/libJerasure.la
318   -decoder_SOURCES = decoder.c
319   -decoder_LDADD = ../src/libJerasure.la
320   -all: all-am
321   -
322   -.SUFFIXES:
323   -.SUFFIXES: .c .lo .o .obj
324   -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
325   - @for dep in $?; do \
326   - case '$(am__configure_deps)' in \
327   - *$$dep*) \
328   - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
329   - && { if test -f $@; then exit 0; else break; fi; }; \
330   - exit 1;; \
331   - esac; \
332   - done; \
333   - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps Examples/Makefile'; \
334   - $(am__cd) $(top_srcdir) && \
335   - $(AUTOMAKE) --gnu --ignore-deps Examples/Makefile
336   -.PRECIOUS: Makefile
337   -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
338   - @case '$?' in \
339   - *config.status*) \
340   - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
341   - *) \
342   - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
343   - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
344   - esac;
345   -
346   -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
347   - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
348   -
349   -$(top_srcdir)/configure: $(am__configure_deps)
350   - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
351   -$(ACLOCAL_M4): $(am__aclocal_m4_deps)
352   - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
353   -$(am__aclocal_m4_deps):
354   -install-binPROGRAMS: $(bin_PROGRAMS)
355   - @$(NORMAL_INSTALL)
356   - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
357   - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
358   - for p in $$list; do echo "$$p $$p"; done | \
359   - sed 's/$(EXEEXT)$$//' | \
360   - while read p p1; do if test -f $$p || test -f $$p1; \
361   - then echo "$$p"; echo "$$p"; else :; fi; \
362   - done | \
363   - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
364   - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
365   - sed 'N;N;N;s,\n, ,g' | \
366   - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
367   - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
368   - if ($$2 == $$4) files[d] = files[d] " " $$1; \
369   - else { print "f", $$3 "/" $$4, $$1; } } \
370   - END { for (d in files) print "f", d, files[d] }' | \
371   - while read type dir files; do \
372   - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
373   - test -z "$$files" || { \
374   - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
375   - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
376   - } \
377   - ; done
378   -
379   -uninstall-binPROGRAMS:
380   - @$(NORMAL_UNINSTALL)
381   - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
382   - files=`for p in $$list; do echo "$$p"; done | \
383   - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
384   - -e 's/$$/$(EXEEXT)/' `; \
385   - test -n "$$list" || exit 0; \
386   - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
387   - cd "$(DESTDIR)$(bindir)" && rm -f $$files
388   -
389   -clean-binPROGRAMS:
390   - @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
391   - echo " rm -f" $$list; \
392   - rm -f $$list || exit $$?; \
393   - test -n "$(EXEEXT)" || exit 0; \
394   - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
395   - echo " rm -f" $$list; \
396   - rm -f $$list
397   -cauchy_01$(EXEEXT): $(cauchy_01_OBJECTS) $(cauchy_01_DEPENDENCIES) $(EXTRA_cauchy_01_DEPENDENCIES)
398   - @rm -f cauchy_01$(EXEEXT)
399   - $(LINK) $(cauchy_01_OBJECTS) $(cauchy_01_LDADD) $(LIBS)
400   -cauchy_02$(EXEEXT): $(cauchy_02_OBJECTS) $(cauchy_02_DEPENDENCIES) $(EXTRA_cauchy_02_DEPENDENCIES)
401   - @rm -f cauchy_02$(EXEEXT)
402   - $(LINK) $(cauchy_02_OBJECTS) $(cauchy_02_LDADD) $(LIBS)
403   -cauchy_03$(EXEEXT): $(cauchy_03_OBJECTS) $(cauchy_03_DEPENDENCIES) $(EXTRA_cauchy_03_DEPENDENCIES)
404   - @rm -f cauchy_03$(EXEEXT)
405   - $(LINK) $(cauchy_03_OBJECTS) $(cauchy_03_LDADD) $(LIBS)
406   -cauchy_04$(EXEEXT): $(cauchy_04_OBJECTS) $(cauchy_04_DEPENDENCIES) $(EXTRA_cauchy_04_DEPENDENCIES)
407   - @rm -f cauchy_04$(EXEEXT)
408   - $(LINK) $(cauchy_04_OBJECTS) $(cauchy_04_LDADD) $(LIBS)
409   -decoder$(EXEEXT): $(decoder_OBJECTS) $(decoder_DEPENDENCIES) $(EXTRA_decoder_DEPENDENCIES)
410   - @rm -f decoder$(EXEEXT)
411   - $(LINK) $(decoder_OBJECTS) $(decoder_LDADD) $(LIBS)
412   -encoder$(EXEEXT): $(encoder_OBJECTS) $(encoder_DEPENDENCIES) $(EXTRA_encoder_DEPENDENCIES)
413   - @rm -f encoder$(EXEEXT)
414   - $(LINK) $(encoder_OBJECTS) $(encoder_LDADD) $(LIBS)
415   -jerasure_01$(EXEEXT): $(jerasure_01_OBJECTS) $(jerasure_01_DEPENDENCIES) $(EXTRA_jerasure_01_DEPENDENCIES)
416   - @rm -f jerasure_01$(EXEEXT)
417   - $(LINK) $(jerasure_01_OBJECTS) $(jerasure_01_LDADD) $(LIBS)
418   -jerasure_02$(EXEEXT): $(jerasure_02_OBJECTS) $(jerasure_02_DEPENDENCIES) $(EXTRA_jerasure_02_DEPENDENCIES)
419   - @rm -f jerasure_02$(EXEEXT)
420   - $(LINK) $(jerasure_02_OBJECTS) $(jerasure_02_LDADD) $(LIBS)
421   -jerasure_03$(EXEEXT): $(jerasure_03_OBJECTS) $(jerasure_03_DEPENDENCIES) $(EXTRA_jerasure_03_DEPENDENCIES)
422   - @rm -f jerasure_03$(EXEEXT)
423   - $(LINK) $(jerasure_03_OBJECTS) $(jerasure_03_LDADD) $(LIBS)
424   -jerasure_04$(EXEEXT): $(jerasure_04_OBJECTS) $(jerasure_04_DEPENDENCIES) $(EXTRA_jerasure_04_DEPENDENCIES)
425   - @rm -f jerasure_04$(EXEEXT)
426   - $(LINK) $(jerasure_04_OBJECTS) $(jerasure_04_LDADD) $(LIBS)
427   -jerasure_05$(EXEEXT): $(jerasure_05_OBJECTS) $(jerasure_05_DEPENDENCIES) $(EXTRA_jerasure_05_DEPENDENCIES)
428   - @rm -f jerasure_05$(EXEEXT)
429   - $(LINK) $(jerasure_05_OBJECTS) $(jerasure_05_LDADD) $(LIBS)
430   -jerasure_06$(EXEEXT): $(jerasure_06_OBJECTS) $(jerasure_06_DEPENDENCIES) $(EXTRA_jerasure_06_DEPENDENCIES)
431   - @rm -f jerasure_06$(EXEEXT)
432   - $(LINK) $(jerasure_06_OBJECTS) $(jerasure_06_LDADD) $(LIBS)
433   -jerasure_07$(EXEEXT): $(jerasure_07_OBJECTS) $(jerasure_07_DEPENDENCIES) $(EXTRA_jerasure_07_DEPENDENCIES)
434   - @rm -f jerasure_07$(EXEEXT)
435   - $(LINK) $(jerasure_07_OBJECTS) $(jerasure_07_LDADD) $(LIBS)
436   -jerasure_08$(EXEEXT): $(jerasure_08_OBJECTS) $(jerasure_08_DEPENDENCIES) $(EXTRA_jerasure_08_DEPENDENCIES)
437   - @rm -f jerasure_08$(EXEEXT)
438   - $(LINK) $(jerasure_08_OBJECTS) $(jerasure_08_LDADD) $(LIBS)
439   -liberation_01$(EXEEXT): $(liberation_01_OBJECTS) $(liberation_01_DEPENDENCIES) $(EXTRA_liberation_01_DEPENDENCIES)
440   - @rm -f liberation_01$(EXEEXT)
441   - $(LINK) $(liberation_01_OBJECTS) $(liberation_01_LDADD) $(LIBS)
442   -reed_sol_01$(EXEEXT): $(reed_sol_01_OBJECTS) $(reed_sol_01_DEPENDENCIES) $(EXTRA_reed_sol_01_DEPENDENCIES)
443   - @rm -f reed_sol_01$(EXEEXT)
444   - $(LINK) $(reed_sol_01_OBJECTS) $(reed_sol_01_LDADD) $(LIBS)
445   -reed_sol_02$(EXEEXT): $(reed_sol_02_OBJECTS) $(reed_sol_02_DEPENDENCIES) $(EXTRA_reed_sol_02_DEPENDENCIES)
446   - @rm -f reed_sol_02$(EXEEXT)
447   - $(LINK) $(reed_sol_02_OBJECTS) $(reed_sol_02_LDADD) $(LIBS)
448   -reed_sol_03$(EXEEXT): $(reed_sol_03_OBJECTS) $(reed_sol_03_DEPENDENCIES) $(EXTRA_reed_sol_03_DEPENDENCIES)
449   - @rm -f reed_sol_03$(EXEEXT)
450   - $(LINK) $(reed_sol_03_OBJECTS) $(reed_sol_03_LDADD) $(LIBS)
451   -reed_sol_04$(EXEEXT): $(reed_sol_04_OBJECTS) $(reed_sol_04_DEPENDENCIES) $(EXTRA_reed_sol_04_DEPENDENCIES)
452   - @rm -f reed_sol_04$(EXEEXT)
453   - $(LINK) $(reed_sol_04_OBJECTS) $(reed_sol_04_LDADD) $(LIBS)
454   -reed_sol_test_gf$(EXEEXT): $(reed_sol_test_gf_OBJECTS) $(reed_sol_test_gf_DEPENDENCIES) $(EXTRA_reed_sol_test_gf_DEPENDENCIES)
455   - @rm -f reed_sol_test_gf$(EXEEXT)
456   - $(LINK) $(reed_sol_test_gf_OBJECTS) $(reed_sol_test_gf_LDADD) $(LIBS)
457   -reed_sol_time_gf$(EXEEXT): $(reed_sol_time_gf_OBJECTS) $(reed_sol_time_gf_DEPENDENCIES) $(EXTRA_reed_sol_time_gf_DEPENDENCIES)
458   - @rm -f reed_sol_time_gf$(EXEEXT)
459   - $(LINK) $(reed_sol_time_gf_OBJECTS) $(reed_sol_time_gf_LDADD) $(LIBS)
460   -
461   -mostlyclean-compile:
462   - -rm -f *.$(OBJEXT)
463   -
464   -distclean-compile:
465   - -rm -f *.tab.c
466   -
467   -.c.o:
468   - $(COMPILE) -c $<
469   -
470   -.c.obj:
471   - $(COMPILE) -c `$(CYGPATH_W) '$<'`
472   -
473   -.c.lo:
474   - $(LTCOMPILE) -c -o $@ $<
475   -
476   -mostlyclean-libtool:
477   - -rm -f *.lo
478   -
479   -clean-libtool:
480   - -rm -rf .libs _libs
481   -
482   -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
483   - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
484   - unique=`for i in $$list; do \
485   - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
486   - done | \
487   - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
488   - END { if (nonempty) { for (i in files) print i; }; }'`; \
489   - mkid -fID $$unique
490   -tags: TAGS
491   -
492   -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
493   - $(TAGS_FILES) $(LISP)
494   - set x; \
495   - here=`pwd`; \
496   - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
497   - unique=`for i in $$list; do \
498   - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
499   - done | \
500   - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
501   - END { if (nonempty) { for (i in files) print i; }; }'`; \
502   - shift; \
503   - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
504   - test -n "$$unique" || unique=$$empty_fix; \
505   - if test $$# -gt 0; then \
506   - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
507   - "$$@" $$unique; \
508   - else \
509   - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
510   - $$unique; \
511   - fi; \
512   - fi
513   -ctags: CTAGS
514   -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
515   - $(TAGS_FILES) $(LISP)
516   - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
517   - unique=`for i in $$list; do \
518   - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
519   - done | \
520   - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
521   - END { if (nonempty) { for (i in files) print i; }; }'`; \
522   - test -z "$(CTAGS_ARGS)$$unique" \
523   - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
524   - $$unique
525   -
526   -GTAGS:
527   - here=`$(am__cd) $(top_builddir) && pwd` \
528   - && $(am__cd) $(top_srcdir) \
529   - && gtags -i $(GTAGS_ARGS) "$$here"
530   -
531   -distclean-tags:
532   - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
533   -
534   -distdir: $(DISTFILES)
535   - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
536   - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
537   - list='$(DISTFILES)'; \
538   - dist_files=`for file in $$list; do echo $$file; done | \
539   - sed -e "s|^$$srcdirstrip/||;t" \
540   - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
541   - case $$dist_files in \
542   - */*) $(MKDIR_P) `echo "$$dist_files" | \
543   - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
544   - sort -u` ;; \
545   - esac; \
546   - for file in $$dist_files; do \
547   - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
548   - if test -d $$d/$$file; then \
549   - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
550   - if test -d "$(distdir)/$$file"; then \
551   - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
552   - fi; \
553   - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
554   - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
555   - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
556   - fi; \
557   - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
558   - else \
559   - test -f "$(distdir)/$$file" \
560   - || cp -p $$d/$$file "$(distdir)/$$file" \
561   - || exit 1; \
562   - fi; \
563   - done
564   -check-am: all-am
565   -check: check-am
566   -all-am: Makefile $(PROGRAMS)
567   -installdirs:
568   - for dir in "$(DESTDIR)$(bindir)"; do \
569   - test -z "$$dir" || $(MKDIR_P) "$$dir"; \
570   - done
571   -install: install-am
572   -install-exec: install-exec-am
573   -install-data: install-data-am
574   -uninstall: uninstall-am
575   -
576   -install-am: all-am
577   - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
578   -
579   -installcheck: installcheck-am
580   -install-strip:
581   - if test -z '$(STRIP)'; then \
582   - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
583   - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
584   - install; \
585   - else \
586   - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
587   - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
588   - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
589   - fi
590   -mostlyclean-generic:
591   -
592   -clean-generic:
593   -
594   -distclean-generic:
595   - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
596   - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
597   -
598   -maintainer-clean-generic:
599   - @echo "This command is intended for maintainers to use"
600   - @echo "it deletes files that may require special tools to rebuild."
601   -clean: clean-am
602   -
603   -clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
604   -
605   -distclean: distclean-am
606   - -rm -f Makefile
607   -distclean-am: clean-am distclean-compile distclean-generic \
608   - distclean-tags
609   -
610   -dvi: dvi-am
611   -
612   -dvi-am:
613   -
614   -html: html-am
615   -
616   -html-am:
617   -
618   -info: info-am
619   -
620   -info-am:
621   -
622   -install-data-am:
623   -
624   -install-dvi: install-dvi-am
625   -
626   -install-dvi-am:
627   -
628   -install-exec-am: install-binPROGRAMS
629   -
630   -install-html: install-html-am
631   -
632   -install-html-am:
633   -
634   -install-info: install-info-am
635   -
636   -install-info-am:
637   -
638   -install-man:
639   -
640   -install-pdf: install-pdf-am
641   -
642   -install-pdf-am:
643   -
644   -install-ps: install-ps-am
645   -
646   -install-ps-am:
647   -
648   -installcheck-am:
649   -
650   -maintainer-clean: maintainer-clean-am
651   - -rm -f Makefile
652   -maintainer-clean-am: distclean-am maintainer-clean-generic
653   -
654   -mostlyclean: mostlyclean-am
655   -
656   -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
657   - mostlyclean-libtool
658   -
659   -pdf: pdf-am
660   -
661   -pdf-am:
662   -
663   -ps: ps-am
664   -
665   -ps-am:
666   -
667   -uninstall-am: uninstall-binPROGRAMS
668   -
669   -.MAKE: install-am install-strip
670   -
671   -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
672   - clean-generic clean-libtool ctags distclean distclean-compile \
673   - distclean-generic distclean-libtool distclean-tags distdir dvi \
674   - dvi-am html html-am info info-am install install-am \
675   - install-binPROGRAMS install-data install-data-am install-dvi \
676   - install-dvi-am install-exec install-exec-am install-html \
677   - install-html-am install-info install-info-am install-man \
678   - install-pdf install-pdf-am install-ps install-ps-am \
679   - install-strip installcheck installcheck-am installdirs \
680   - maintainer-clean maintainer-clean-generic mostlyclean \
681   - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
682   - pdf pdf-am ps ps-am tags uninstall uninstall-am \
683   - uninstall-binPROGRAMS
684   -
685   -
686   -# Tell versions [3.59,3.63) of GNU make to not export all variables.
687   -# Otherwise a system limit (for SysV at least) may be exceeded.
688   -.NOEXPORT:
Examples/cauchy_01.c
... ... @@ -48,12 +48,13 @@
48 48 #include <stdint.h>
49 49 #include <stdlib.h>
50 50 #include <string.h>
  51 +#include "cauchy.h"
51 52 #include "jerasure.h"
52 53 #include "reed_sol.h"
53 54  
54 55 #define talloc(type, num) (type *) malloc(sizeof(type)*(num))
55 56  
56   -usage(char *s)
  57 +static void usage(char *s)
57 58 {
58 59 fprintf(stderr, "usage: cauchy_01 n w - Converts the value n to a bitmatrix using GF(2^w).\n");
59 60 fprintf(stderr, " \n");
... ... @@ -70,7 +71,7 @@ usage(char *s)
70 71  
71 72 int main(int argc, char **argv)
72 73 {
73   - uint32_t n;
  74 + int n;
74 75 int i, no, w;
75 76 int *bitmatrix;
76 77  
... ... @@ -106,5 +107,6 @@ int main(int argc, char **argv)
106 107 }
107 108  
108 109 printf("# Ones: %d\n", cauchy_n_ones(n, w));
  110 +
109 111 return 0;
110 112 }
... ...
Examples/cauchy_02.c
... ... @@ -54,7 +54,7 @@
54 54  
55 55 #define talloc(type, num) (type *) malloc(sizeof(type)*(num))
56 56  
57   -usage(char *s)
  57 +static void usage(char *s)
58 58 {
59 59 fprintf(stderr, "usage: cauchy_02 k m w seed - CRS coding example using Bloemer's original matrix.\n");
60 60 fprintf(stderr, " \n");
... ... @@ -84,7 +84,7 @@ usage(char *s)
84 84 exit(1);
85 85 }
86 86  
87   -static print_array(char **ptrs, int ndevices, int size, int packetsize, char *label)
  87 +static void print_array(char **ptrs, int ndevices, int size, int packetsize, char *label)
88 88 {
89 89 int i, j, x;
90 90 unsigned char *up;
... ... @@ -113,9 +113,9 @@ static print_array(char **ptrs, int ndevices, int size, int packetsize, char *la
113 113  
114 114 int main(int argc, char **argv)
115 115 {
116   - int k, w, i, j, m;
  116 + int k, w, i, m;
117 117 int *matrix, *bitmatrix, **schedule;
118   - char **data, **coding, **ptrs, **dcopy, **ccopy;
  118 + char **data, **coding, **dcopy, **ccopy;
119 119 int no;
120 120 int *erasures, *erased;
121 121 double mstats[3], sstats[3];
... ... @@ -267,4 +267,6 @@ int main(int argc, char **argv)
267 267 printf("<p>\n");
268 268 print_array(coding, m, sizeof(long)*w, sizeof(long), "C");
269 269 printf("<hr>\n");
  270 +
  271 + return 0;
270 272 }
... ...
Examples/cauchy_03.c
... ... @@ -54,7 +54,7 @@
54 54  
55 55 #define talloc(type, num) (type *) malloc(sizeof(type)*(num))
56 56  
57   -usage(char *s)
  57 +static void usage(char *s)
58 58 {
59 59 fprintf(stderr, "usage: cauchy_03 k m w seed - CRS coding example improving the matrix.\n");
60 60 fprintf(stderr, " \n");
... ... @@ -88,7 +88,7 @@ usage(char *s)
88 88 exit(1);
89 89 }
90 90  
91   -static print_array(char **ptrs, int ndevices, int size, int packetsize, char *label)
  91 +static void print_array(char **ptrs, int ndevices, int size, int packetsize, char *label)
92 92 {
93 93 int i, j, x;
94 94 unsigned char *up;
... ... @@ -117,9 +117,9 @@ static print_array(char **ptrs, int ndevices, int size, int packetsize, char *la
117 117  
118 118 int main(int argc, char **argv)
119 119 {
120   - int k, w, i, j, m;
  120 + int k, w, i, m;
121 121 int *matrix, *bitmatrix, **schedule;
122   - char **data, **coding, **ptrs, **dcopy, **ccopy;
  122 + char **data, **coding, **dcopy, **ccopy;
123 123 int no;
124 124 int *erasures, *erased;
125 125 double mstats[3], sstats[3];
... ... @@ -285,4 +285,6 @@ int main(int argc, char **argv)
285 285 printf("<p>\n");
286 286 print_array(coding, m, sizeof(long)*w, sizeof(long), "C");
287 287 printf("<hr>\n");
  288 +
  289 + return 0;
288 290 }
... ...
Examples/cauchy_04.c
... ... @@ -54,7 +54,7 @@
54 54  
55 55 #define talloc(type, num) (type *) malloc(sizeof(type)*(num))
56 56  
57   -usage(char *s)
  57 +static void usage(char *s)
58 58 {
59 59 fprintf(stderr, "usage: cauchy_04 k m w seed - CRS coding example improving the matrix.\n");
60 60 fprintf(stderr, " \n");
... ... @@ -85,7 +85,7 @@ usage(char *s)
85 85 exit(1);
86 86 }
87 87  
88   -static print_array(char **ptrs, int ndevices, int size, int packetsize, char *label)
  88 +static void print_array(char **ptrs, int ndevices, int size, int packetsize, char *label)
89 89 {
90 90 int i, j, x;
91 91 unsigned char *up;
... ... @@ -114,9 +114,9 @@ static print_array(char **ptrs, int ndevices, int size, int packetsize, char *la
114 114  
115 115 int main(int argc, char **argv)
116 116 {
117   - int k, w, i, j, m;
  117 + int k, w, i, m;
118 118 int *matrix, *bitmatrix, **schedule;
119   - char **data, **coding, **ptrs, **dcopy, **ccopy;
  119 + char **data, **coding, **dcopy, **ccopy;
120 120 int no;
121 121 int *erasures, *erased;
122 122 double mstats[3], sstats[3];
... ... @@ -267,4 +267,6 @@ int main(int argc, char **argv)
267 267 printf("<p>\n");
268 268 print_array(coding, m, sizeof(long)*w, sizeof(long), "C");
269 269 printf("<hr>\n");
  270 +
  271 + return 0;
270 272 }
... ...
Examples/decoder.c
... ... @@ -65,11 +65,13 @@ same arguments, and encoder.c does error check.
65 65 #include <sys/time.h>
66 66 #include <sys/stat.h>
67 67 #include <signal.h>
  68 +#include <unistd.h>
68 69 #include "jerasure.h"
69 70 #include "reed_sol.h"
70 71 #include "galois.h"
71 72 #include "cauchy.h"
72 73 #include "liberation.h"
  74 +#include "timing.h"
73 75  
74 76 #define N 10
75 77  
... ... @@ -116,8 +118,7 @@ int main (int argc, char **argv) {
116 118 char *curdir;
117 119  
118 120 /* Used to time decoding */
119   - struct timeval t1, t2, t3, t4;
120   - struct timezone tz;
  121 + struct timing t1, t2, t3, t4;
121 122 double tsec;
122 123 double totalsec;
123 124  
... ... @@ -129,7 +130,7 @@ int main (int argc, char **argv) {
129 130 totalsec = 0.0;
130 131  
131 132 /* Start timing */
132   - gettimeofday(&t1, &tz);
  133 + timing_set(&t1);
133 134  
134 135 /* Error checking parameters */
135 136 if (argc != 2) {
... ... @@ -216,7 +217,7 @@ int main (int argc, char **argv) {
216 217  
217 218 sprintf(temp, "%d", k);
218 219 md = strlen(temp);
219   - gettimeofday(&t3, &tz);
  220 + timing_set(&t3);
220 221  
221 222 /* Create coding matrix or bitmatrix */
222 223 switch(tech) {
... ... @@ -245,14 +246,8 @@ int main (int argc, char **argv) {
245 246 case Liber8tion:
246 247 bitmatrix = liber8tion_coding_bitmatrix(k);
247 248 }
248   - gettimeofday(&t4, &tz);
249   - tsec = 0.0;
250   - tsec += t4.tv_usec;
251   - tsec -= t3.tv_usec;
252   - tsec /= 1000000.0;
253   - tsec += t4.tv_sec;
254   - tsec -= t3.tv_sec;
255   - totalsec += tsec;
  249 + timing_set(&t4);
  250 + totalsec += timing_delta(&t3, &t4);
256 251  
257 252 /* Begin decoding process */
258 253 total = 0;
... ... @@ -319,7 +314,7 @@ int main (int argc, char **argv) {
319 314 }
320 315  
321 316 erasures[numerased] = -1;
322   - gettimeofday(&t3, &tz);
  317 + timing_set(&t3);
323 318