From: Brendan O'Dea Date: Tue, 7 Jun 2005 05:32:00 +0000 (+0000) Subject: don't build tests X-Git-Tag: 2.2.1-2fdn3.1~19^2^2~1^2~166 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/afc91dfb47513b23cfbe118be1aa8e65a4ab8887?hp=841d3cc227ec5bf7f457481e6eef7b3e24c44738 don't build tests --- diff --git a/Makefile b/Makefile index eea166c..6c60b7b 100644 --- a/Makefile +++ b/Makefile @@ -32,8 +32,6 @@ PROGRAMS = l2tpns nsctl PLUGINS = autosnoop.so autothrottle.so garden.so sessionctl.so \ setrxspeed.so snoopctl.so stripdomain.so throttlectl.so -TESTS = generateload bounce - DEFINES += -DSTATISTICS DEFINES += -DSTAT_CALLS DEFINES += -DRINGBUFFER @@ -48,10 +46,9 @@ OBJS += bgp.o all: programs plugins tests programs: $(PROGRAMS) plugins: $(PLUGINS) -tests: $(TESTS) clean: - rm -f *.o test/*.o $(PROGRAMS) $(PLUGINS) $(TESTS) Makefile.tmp Makefile.bak + rm -f *.o test/*.o $(PROGRAMS) $(PLUGINS) Makefile.tmp Makefile.bak depend: (sed -n 'p; /^## Dependencies: (autogenerated) ##/q' Makefile && \ @@ -66,12 +63,6 @@ l2tpns: $(OBJS) nsctl: nsctl.o control.o $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS) -generateload: test/generateload.o - $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS) - -bounce: test/bounce.o - $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS) - %.o: %.c $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<