XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load.
https://xcache.lighttpd.net/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
643 B
23 lines
643 B
#! /usr/bin/make -f |
|
|
|
CC=gcc |
|
LDFLAGS= |
|
CFLAGS=-g -O0 -I. -D TEST -D HAVE_XCACHE_TEST -Wall |
|
TEST=valgrind |
|
|
|
all: allocator vector |
|
|
|
allocator_test: xcache/xc_allocator.h xcache/xc_allocator.c xcache/xc_malloc.c xcache/xc_allocator_bestfit.c util/xc_trace.c util/xc_trace.h |
|
$(CC) $(LDFLAGS) $(CFLAGS) -o allocator_test xcache/xc_allocator.c xcache/xc_malloc.c xcache/xc_allocator_bestfit.c util/xc_trace.c |
|
|
|
allocator: allocator_test |
|
$(TEST) ./allocator_test |
|
|
|
vector_test: util/xc_vector_test.c |
|
$(CC) $(LDFLAGS) $(CFLAGS) -o vector_test util/xc_vector_test.c |
|
|
|
vector: vector_test |
|
$(TEST) ./vector_test |
|
|
|
clean: |
|
rm -f allocator_test vector_test
|
|
|