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 \
|
||||
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 $@ $<
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue