X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=base%2Ftroglodyte-Makefile;h=ea2c10c3afe7309ed790d5d76148230866bbec3e;hb=b92528a0a95714d8b738e619de5a1d80f2fbd413;hp=fbcfc8fc881365b111a83091fda9823911095734;hpb=68fbf82ca3551b8c9f51937f481f6b3dcd50b4f5;p=chiark-tcl.git diff --git a/base/troglodyte-Makefile b/base/troglodyte-Makefile index fbcfc8f..ea2c10c 100644 --- a/base/troglodyte-Makefile +++ b/base/troglodyte-Makefile @@ -1,24 +1,24 @@ 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 \ - serpent.o \ - sha1.o \ - md5.o \ crypto.o \ - parse.o + parse.o \ + maskmap.o HDRS= hbytes.h \ - serpent.h \ - md5.h \ - sha1.h \ $(AUTO_HDRS) AUTO_HDRS= tables.h @@ -28,9 +28,13 @@ 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) @@ -50,14 +54,8 @@ autoco%.tcl: deco%gen.tcl decobogen.tcl general.tcl ./hbytes.so \ %.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 $< +#alg.o: alg.c alg.h alg2.h +# $(CC_CRYPTO) -o $@ -c $< clean: rm -f $(OBJS) $(TARGETS) *~ ./#*#