26 AUTOS= $(AUTO_HDRS) $(AUTO_SRCS)
28 TARGETS= hbytes.so autocode.tcl autococo.tcl
30 CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3
31 CFLAGS= -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
35 all: $(TARGETS) $(AUTOS)
38 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS)
40 autoco%.tcl: deco%gen.tcl decobogen.tcl general.tcl ./hbytes.so \
42 ./$< protocol.deco >$@.new && mv -f $@.new $@
45 ./tcmdifgen -wc -o$@ $<
48 ./tcmdifgen -wh -o$@ $<
51 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
53 serpent.o: serpent.c serpent.h serpentsboxes.h
54 $(CC_CRYPTO) -o $@ -c $<
57 $(CC_CRYPTO) -o $@ -c $<
60 $(CC_CRYPTO) -o $@ -c $<
63 rm -f $(OBJS) $(TARGETS) *~ ./#*#