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

  1. #! /usr/bin/make -f
  2. CC=gcc
  3. LDFLAGS=
  4. CFLAGS=-g -O0 -I. -D TEST -D HAVE_XCACHE_TEST -Wall
  5. TEST=valgrind
  6. all: allocator vector
  7. 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
  8. $(CC) $(LDFLAGS) $(CFLAGS) -o allocator_test xcache/xc_allocator.c xcache/xc_malloc.c xcache/xc_allocator_bestfit.c util/xc_trace.c
  9. allocator: allocator_test
  10. $(TEST) ./allocator_test
  11. vector_test: util/xc_vector_test.c
  12. $(CC) $(LDFLAGS) $(CFLAGS) -o vector_test util/xc_vector_test.c
  13. vector: vector_test
  14. $(TEST) ./vector_test
  15. clean:
  16. rm -f allocator_test vector_test