5 LDFLAGS = -L${LIBEVENT_LIBRARY} -levent -lpng -pthread -lpcl |
5 LDFLAGS = -L${LIBEVENT_LIBRARY} -levent -lpng -pthread -lpcl |
6 CFLAGS = -Wall -g -I${LIBEVENT_HEADERS} ${DEFINES} -std=gnu99 |
6 CFLAGS = -Wall -g -I${LIBEVENT_HEADERS} ${DEFINES} -std=gnu99 |
7 |
7 |
8 SRCS = *.c cache/*.c cache/engines/*.c |
8 SRCS = *.c cache/*.c cache/engines/*.c |
9 OBJS = *.o |
9 OBJS = *.o |
10 EXECS = file_main web_main node_main cache_test |
10 EXECS = file_main web_main node_main cache_test memcache_test |
11 |
11 |
12 all: depend ${EXECS} |
12 all: depend ${EXECS} |
13 |
13 |
14 file_main: file_main.o common.o render.o render_raw.o render_png.o render_local.o render_mandelbrot.o |
14 file_main: file_main.o common.o render.o render_raw.o render_png.o render_local.o render_mandelbrot.o |
15 node_main: node_main.o common.o config.o socket.o render.o render_thread.o render_local.o render_png.o render_raw.o render_mandelbrot.o |
15 node_main: node_main.o common.o config.o socket.o render.o render_thread.o render_local.o render_png.o render_raw.o render_mandelbrot.o |
16 web_main: web_main.o common.o config.o socket.o http.o render.o remote_node.o remote_pool.o render_remote.o tile.o static.o |
16 web_main: web_main.o common.o config.o socket.o http.o render.o remote_node.o remote_pool.o render_remote.o tile.o static.o |
17 coro_test: coro_test.o common.o config.o socket.o |
17 coro_test: coro_test.o common.o config.o socket.o |
18 cache_test: cache_test.o common.o cache/cache.o cache/req.o cache/op.o cache/engines/fs.o |
18 cache_test: cache_test.o common.o cache/cache.o cache/req.o cache/op.o cache/engines/fs.o |
|
19 memcache_test: memcache_test.o common.o memcache/memcache.o memcache/connection.o memcache/server.o socket.o config.o |
19 |
20 |
20 clean : |
21 clean : |
21 -rm *.o ${EXECS} |
22 -rm *.o ${EXECS} |
22 |
23 |
23 depend: |
24 depend: |
38 file_main.o: render_png.h render_raw_struct.h render_raw.h |
39 file_main.o: render_png.h render_raw_struct.h render_raw.h |
39 http.o: lib/libevent-dev/include/event2/event_struct.h |
40 http.o: lib/libevent-dev/include/event2/event_struct.h |
40 http.o: lib/libevent-dev/include/event-config.h |
41 http.o: lib/libevent-dev/include/event-config.h |
41 http.o: lib/libevent-dev/include/event2/util.h http.h |
42 http.o: lib/libevent-dev/include/event2/util.h http.h |
42 http.o: lib/libevent-dev/include/event2/http.h common.h |
43 http.o: lib/libevent-dev/include/event2/http.h common.h |
|
44 memcache_test.o: lib/libevent-dev/include/event2/event.h |
|
45 memcache_test.o: lib/libevent-dev/include/event-config.h |
|
46 memcache_test.o: lib/libevent-dev/include/event2/util.h |
|
47 memcache_test.o: lib/libevent-dev/include/event2/event_compat.h |
|
48 memcache_test.o: lib/libevent-dev/include/event2/event_struct.h memcache.h |
|
49 memcache_test.o: config.h common.h |
43 node_main.o: lib/libevent-dev/include/event2/event.h |
50 node_main.o: lib/libevent-dev/include/event2/event.h |
44 node_main.o: lib/libevent-dev/include/event-config.h |
51 node_main.o: lib/libevent-dev/include/event-config.h |
45 node_main.o: lib/libevent-dev/include/event2/util.h |
52 node_main.o: lib/libevent-dev/include/event2/util.h |
46 node_main.o: lib/libevent-dev/include/event2/event_struct.h |
53 node_main.o: lib/libevent-dev/include/event2/event_struct.h |
47 node_main.o: lib/libevent-dev/include/event2/event_compat.h |
54 node_main.o: lib/libevent-dev/include/event2/event_compat.h |