-HDRS= hbytes.h \
- $(AUTO_HDRS)
-
-AUTO_HDRS= tables.h
-AUTO_SRCS= tables.c
-AUTOS= $(AUTO_HDRS) $(AUTO_SRCS)
-
-TARGETS= hbytes.so
-
-CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3
-CFLAGS= -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
- $(OPTIMISE)
-OPTIMISE= -O2
-
-all: $(TARGETS) $(AUTOS)
-
-hbytes.so: $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS)
-
-%.c: %.tct tcmdifgen
- ./tcmdifgen -wc -o$@ $<
-
-%.h: %.tct tcmdifgen
- ./tcmdifgen -wh -o$@ $<
-
-%.o: %.c $(HDRS)
- $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
-
-serpent.o: serpent.c serpent.h serpentsboxes.h
- $(CC_CRYPTO) -o $@ -c $<
-
-md5.o: md5.c md5.h
- $(CC_CRYPTO) -o $@ -c $<
-
-sha1.o: sha1.c sha1.h
- $(CC_CRYPTO) -o $@ -c $<