crc_mktab_SOURCES = \
crc-mktab.c \
mdwopt.c quis.c pquis.c report.c str.c
+crc_mktab_CFLAGS = $(AM_CFLAGS)
unihash_mkstatic_SOURCES = \
unihash-mkstatic.c \
mdwopt.c quis.c pquis.c report.c str.c unihash.c
+unihash_mkstatic_CFLAGS = $(AM_CFLAGS)
## --- Test code ---
## I must (a) build the standalone version, and (b) inform the client library
## where the standalone version is.
-bres$(EXEEXT): bres-stnd.o
- $(LINK) -o bres bres-stnd.o $(LIBS)
-
-bres-stnd.o: $(srcdir)/bres.c
- $(COMPILE) -c -DBRES_STANDALONE -o bres-stnd.o $(srcdir)/bres.c
+bres_SOURCES = bres.c
+bres_CFLAGS = -DBRES_STANDALONE
bres.lo: $(srcdir)/bres.c
$(LTCOMPILE) -c -DBRES_SERVER="\"$(libexecdir)/$(PACKAGE)/`echo bres|sed '$(transform)'`\"" $(srcdir)/bres.c
while ($y) {
if ($y & 1) { $a ^= $x };
- if ($x & 0x80000000) { $x <<= 1; $x ^= $MOD; }
+ if ($x & 0x80000000) { $x <<= 1; $x &= 0xffffffff; $x ^= $MOD; }
else { $x <<= 1; }
$y >>= 1;
}