25 AUTOS= $(AUTO_HDRS) $(AUTO_SRCS)
27 TARGETS= hbytes.so autocode.tcl autococo.tcl
29 CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3
30 CPPFLAGS= -I../plocal/include $(TCL_MEM_DEBUG) $(CMDLINE_CPPFLAGS)
31 LDFLAGS= -L../plocal/lib
33 CFLAGS= -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
36 TCL_MEM_DEBUG= -DTCL_MEM_DEBUG
38 all: $(TARGETS) $(AUTOS)
41 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS)
43 autoco%.tcl: deco%gen.tcl decobogen.tcl general.tcl ./hbytes.so \
45 ./$< protocol.deco >$@.new && mv -f $@.new $@
48 ./tcmdifgen -wc -o$@ $<
51 ./tcmdifgen -wh -o$@ $<
54 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
56 #alg.o: alg.c alg.h alg2.h
57 # $(CC_CRYPTO) -o $@ -c $<
60 rm -f $(OBJS) $(TARGETS) *~ ./#*#