X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=ipif%2FMakefile;h=c2e3a7f0d727ff7eb46ac31d1484477c9530cc85;hb=ed509ebded419ce594b9c6a6942cf41033a7a16b;hp=4637bbc2646514f0f5a6428b6df1f3ea6752e43d;hpb=1fb3cba0b41ae774f83c11d2a9c23b12b2c87d1a;p=userv-utils.git diff --git a/ipif/Makefile b/ipif/Makefile index 4637bbc..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 +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: mech.h automech.h -blowfish.o mech-blowfish.o: blowfish.h +forwarder.o $(MECHOBJS) automech.o utils.o: forwarder.h automech.h +blowfish.o mech-blowfish.o blowfishtest.o: blowfish.h +blowfishtest.o hex.o: hex.h