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=e458511a560a5fdcfd351ab5a8d52fb3c124fb77;hb=40a4738e440a8412c61a12eca34ed6aa98d71a5a;hpb=0bc58e49b2b0700cd43a530b4d03112f9ad2441c diff --git a/base/troglodyte-Makefile b/base/troglodyte-Makefile index e458511..ed38b04 100644 --- a/base/troglodyte-Makefile +++ b/base/troglodyte-Makefile @@ -1,58 +1,3 @@ -OBJS= tables.o \ - tcmdiflib.o \ - hbytes.o \ - adns.o \ - enum.o \ - idtable.o \ - scriptinv.o \ - ulongs.o \ - sockaddr.o \ - dgram.o \ - tuntap.o \ - chop.o \ - hook.o \ - bcmode.o \ - misc.o \ - algtables.o \ - crypto.o \ - parse.o \ - addrmap.o - -HDRS= hbytes.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 -ladns -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 $< #alg.o: alg.c alg.h alg2.h # $(CC_CRYPTO) -o $@ -c $<