mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-24 05:32:21 +00:00
fc80e30217
The only leftovers were the unused compiler.h file and the LICENSE file which is already mentioned in each and every ebtree file header. A few build paths were updated in the contrib/ directory not to mention this directory anymore, and all its occurrences were dropped from the main makefile. From now on no other include path but include/ will be needed anymore to build any file.
23 lines
683 B
Makefile
23 lines
683 B
Makefile
INCLUDE = -I../../include
|
|
SRC = ../../src
|
|
|
|
CC = gcc
|
|
|
|
# note: it is recommended to also add -fomit-frame-pointer on i386
|
|
OPTIMIZE = -O3
|
|
|
|
# most recent glibc provide platform-specific optimizations that make
|
|
# memchr faster than the generic C implementation (eg: SSE and prefetch
|
|
# on x86_64). Try with an without. In general, on x86_64 it's better to
|
|
# use memchr using the define below.
|
|
# DEFINE = -DUSE_MEMCHR
|
|
DEFINE =
|
|
|
|
OBJS = halog
|
|
|
|
halog: halog.c fgets2.c
|
|
$(CC) $(OPTIMIZE) $(DEFINE) -o $@ $(INCLUDE) $(SRC)/ebtree.c $(SRC)/eb32tree.c $(SRC)/eb64tree.c $(SRC)/ebmbtree.c $(SRC)/ebsttree.c $(SRC)/ebistree.c $(SRC)/ebimtree.c $^
|
|
|
|
clean:
|
|
rm -f $(OBJS) *.[oas]
|