mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-12 14:35:14 +00:00
f95b111dde
Now, we can use the option '-c' to enable the support of a capability. By default, all capabilities are disabled. For example: $> ./spoa -c async -c pipelining In addition, it is also possible to set the maximum frame size supported by your agent (-m) and to add a delay in frames processing (-t).
27 lines
384 B
Makefile
27 lines
384 B
Makefile
DESTDIR =
|
|
PREFIX = /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
|
|
CC = gcc
|
|
LD = $(CC)
|
|
|
|
CFLAGS = -g -O2 -Wall -Werror -pthread
|
|
LDFLAGS = -lpthread -levent -levent_pthreads
|
|
INCS += -I../../include
|
|
LIBS =
|
|
|
|
OBJS = spoa.o
|
|
|
|
|
|
spoa: $(OBJS)
|
|
$(LD) $(LDFLAGS) $(LIBS) -o $@ $^
|
|
|
|
install: spoa
|
|
install spoa $(DESTDIR)$(BINDIR)
|
|
|
|
clean:
|
|
rm -f spoa $(OBJS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) $(INCS) -c -o $@ $<
|