X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=base%2Ftroglodyte-Makefile;h=ed38b04b765d538a63a24ac72a83de8f787b08c2;hp=6807fe49fc79238f7165db949c4665add41f1ba5;hb=4988e4a246c7cc6893c83cec6683542b4b9dad8f;hpb=f1a4dc53a5b6699e85545e6f0c634f362e1a019f diff --git a/base/troglodyte-Makefile b/base/troglodyte-Makefile index 6807fe4..ed38b04 100644 --- a/base/troglodyte-Makefile +++ b/base/troglodyte-Makefile @@ -1,57 +1,6 @@ -OBJS= tables.o \ - hbytes.o \ - enum.o \ - ulongs.o \ - sockaddr.o \ - dgram.o \ - chop.o \ - hook.o \ - bcmode.o \ - misc.o \ - algtables.o \ - serpent.o \ - crypto.o \ - parse.o -HDRS= hbytes.h \ - serpent.h \ - $(AUTO_HDRS) - -AUTO_HDRS= tables.h -AUTO_SRCS= tables.c -AUTOS= $(AUTO_HDRS) $(AUTO_SRCS) - -TARGETS= hbytes.so autocode.tcl autococo.tcl - -CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3 -CPPFLAGS= -I../plocal/include $(TCL_MEM_DEBUG) $(CMDLINE_CPPFLAGS) -LDFLAGS= -L../plocal/lib -LDLIBS= -lnettle -CFLAGS= -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \ - $(OPTIMISE) -OPTIMISE= -O2 -TCL_MEM_DEBUG= -DTCL_MEM_DEBUG - -all: $(TARGETS) $(AUTOS) - -hbytes.so: $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS) - -autoco%.tcl: deco%gen.tcl decobogen.tcl general.tcl ./hbytes.so \ - protocol.deco - ./$< protocol.deco >$@.new && mv -f $@.new $@ - -%.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 $< +#alg.o: alg.c alg.h alg2.h +# $(CC_CRYPTO) -o $@ -c $< clean: rm -f $(OBJS) $(TARGETS) *~ ./#*#