don't build tests
This commit is contained in:
parent
2f4435f0a6
commit
c6116cc4e3
1 changed files with 1 additions and 10 deletions
11
Makefile
11
Makefile
|
|
@ -32,8 +32,6 @@ PROGRAMS = l2tpns nsctl
|
||||||
PLUGINS = autosnoop.so autothrottle.so garden.so sessionctl.so \
|
PLUGINS = autosnoop.so autothrottle.so garden.so sessionctl.so \
|
||||||
setrxspeed.so snoopctl.so stripdomain.so throttlectl.so
|
setrxspeed.so snoopctl.so stripdomain.so throttlectl.so
|
||||||
|
|
||||||
TESTS = generateload bounce
|
|
||||||
|
|
||||||
DEFINES += -DSTATISTICS
|
DEFINES += -DSTATISTICS
|
||||||
DEFINES += -DSTAT_CALLS
|
DEFINES += -DSTAT_CALLS
|
||||||
DEFINES += -DRINGBUFFER
|
DEFINES += -DRINGBUFFER
|
||||||
|
|
@ -48,10 +46,9 @@ OBJS += bgp.o
|
||||||
all: programs plugins tests
|
all: programs plugins tests
|
||||||
programs: $(PROGRAMS)
|
programs: $(PROGRAMS)
|
||||||
plugins: $(PLUGINS)
|
plugins: $(PLUGINS)
|
||||||
tests: $(TESTS)
|
|
||||||
|
|
||||||
clean:
|
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:
|
depend:
|
||||||
(sed -n 'p; /^## Dependencies: (autogenerated) ##/q' Makefile && \
|
(sed -n 'p; /^## Dependencies: (autogenerated) ##/q' Makefile && \
|
||||||
|
|
@ -66,12 +63,6 @@ l2tpns: $(OBJS)
|
||||||
nsctl: nsctl.o control.o
|
nsctl: nsctl.o control.o
|
||||||
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
|
$(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
|
%.o: %.c
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
|
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue