X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=blobdiff_plain;f=ipif%2FMakefile;h=c2e3a7f0d727ff7eb46ac31d1484477c9530cc85;hp=122a72e4b7d296ed6320ef1c815d25cc4a899066;hb=ed509ebded419ce594b9c6a6942cf41033a7a16b;hpb=f9e59051127e72847e1bee84ad52670e875f7d2f diff --git a/ipif/Makefile b/ipif/Makefile index 122a72e..c2e3a7f 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -30,12 +30,13 @@ libuserv= $(libdir)/userv etcuserv= $(etcdir)/userv services= $(etcuserv)/services.d -TARGETS= service udptunnel-forwarder +TARGETS= service udptunnel-forwarder blowfishtest MECHFILES= null pkcs5 timestamp sequence blowfish MECHOBJS= $(foreach m, $(MECHFILES), mech-$m.o) OBJS_FORWARD= forwarder.o $(MECHOBJS) blowfish.o automech.c utils.c +OBJS_BFTEST= blowfishtest.o blowfish.o hex.o all: $(TARGETS) @@ -49,8 +50,12 @@ install: all udptunnel-forwarder: $(OBJS_FORWARD) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS_FORWARD) +blowfishtest: $(OBJS_BFTEST) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS_BFTEST) + automech.c automech.h: automechgen.sh Makefile ./$< $(MECHFILES) forwarder.o $(MECHOBJS) automech.o utils.o: forwarder.h automech.h -blowfish.o mech-blowfish.o: blowfish.h +blowfish.o mech-blowfish.o blowfishtest.o: blowfish.h +blowfishtest.o hex.o: hex.h