1 LDFLAGS = -Llib/libevent-dev/lib -levent -lpng -pthread |
1 LIBEVENT_HEADERS = lib/libevent-dev/include |
2 CFLAGS = -Wall -g -Ilib/libevent-dev/include -std=gnu99 |
2 LIBEVENT_LIBRARY = lib/libevent-dev/lib |
|
3 DEFINES = |
3 |
4 |
4 EXECS = file_main web_main node_main |
5 LDFLAGS = -L${LIBEVENT_LIBRARY} -levent -lpng -pthread -lpcl |
|
6 CFLAGS = -Wall -g -I${LIBEVENT_HEADERS} ${DEFINES} -std=gnu99 |
5 |
7 |
6 all: web_main file_main node_main |
8 SRCS = *.c cache/*.c cache/engines/*.c |
|
9 OBJS = *.o |
|
10 EXECS = file_main web_main node_main cache_test |
7 |
11 |
8 common.o: common.c common.h |
12 all: depend ${EXECS} |
9 http.o: http.c http.h common.h |
|
10 config.o: config.c config.h |
|
11 socket.o: socket.c socket.h config.h common.h |
|
12 |
|
13 remote_node.o: remote_node.c remote_node.h common.h render_net.h socket.h config.h |
|
14 remote_pool.o: remote_pool.c remote_pool.h common.h |
|
15 render.o: render.c render.h common.h |
|
16 render_remote.o: render_remote.c render_remote.h common.h socket.h remote_node.h remote_pool.h |
|
17 render_png.o: render_png.c render_png.h common.h |
|
18 render_raw.o: render_raw.c render_raw.h common.h |
|
19 render_local.o: render_local.c render_local.h common.h render_png.h render_raw.h render_mandelbrot.h |
|
20 render_multi.o: render_multi.c render_multi.h render_remote.o common.h |
|
21 render_mandelbrot.o: render_mandelbrot.c render_mandelbrot.h common.h |
|
22 render_slices.o: render_slices.c render_slices.h common.h |
|
23 render_threads.o: render_threads.c render_threads.h common.h |
|
24 render_thread.o: render_thread.c render_thread.h common.h render_local.h |
|
25 tile.o: tile.c tile.h render.h render_struct.h |
|
26 static.o: static.c static.h common.h |
|
27 |
|
28 file_main.o: file_main.c |
|
29 node_main.o: node_main.c common.h render.h render_struct.h render_thread.h render_thread_struct.h render_net.h socket.h |
|
30 web_main.o: web_main.c common.h render.h render_struct.h remote_node.h remote_pool.h render_remote.h config.h |
|
31 |
13 |
32 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 |
33 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 |
34 web_main: web_main.o common.o config.o socket.o http.o render.o render_png.o remote_node.o remote_pool.o render_remote.o render_multi.o render_slices.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 |
|
18 cache_test: cache_test.o common.o cache/cache.o cache/req.o cache/op.o cache/engines/fs.o |
35 |
19 |
36 clean : |
20 clean : |
37 rm *.o ${EXECS} |
21 -rm *.o ${EXECS} |
38 |
22 |
|
23 depend: |
|
24 makedepend -Y -- $(CFLAGS) -- $(SRCS) 2> /dev/null |
|
25 |
|
26 # DO NOT DELETE |
|
27 |
|
28 cache_test.o: cache.h cache_engines.h common.h |
|
29 common.o: common.h |
|
30 config.o: config.h common.h |
|
31 coro_test.o: lib/libevent-dev/include/event2/util.h |
|
32 coro_test.o: lib/libevent-dev/include/event-config.h |
|
33 coro_test.o: lib/libevent-dev/include/event2/event.h |
|
34 coro_test.o: lib/libevent-dev/include/event2/event_compat.h |
|
35 coro_test.o: lib/libevent-dev/include/event2/event_struct.h common.h config.h |
|
36 coro_test.o: socket.h |
|
37 file_main.o: common.h render.h render_local.h render_png_struct.h |
|
38 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/event-config.h |
|
41 http.o: lib/libevent-dev/include/event2/util.h http.h |
|
42 http.o: lib/libevent-dev/include/event2/http.h common.h |
|
43 node_main.o: lib/libevent-dev/include/event2/event.h |
|
44 node_main.o: lib/libevent-dev/include/event-config.h |
|
45 node_main.o: lib/libevent-dev/include/event2/util.h |
|
46 node_main.o: lib/libevent-dev/include/event2/event_struct.h |
|
47 node_main.o: lib/libevent-dev/include/event2/event_compat.h |
|
48 node_main.o: lib/libevent-dev/include/event2/bufferevent.h common.h socket.h |
|
49 node_main.o: config.h render.h render_struct.h render_net.h render_thread.h |
|
50 node_main.o: render_thread_struct.h |
|
51 remote_node.o: remote_node.h config.h common.h render_net.h socket.h |
|
52 remote_pool.o: remote_pool.h remote_node.h config.h common.h |
|
53 render.o: render_struct.h render.h |
|
54 render_local.o: common.h render_struct.h render.h render_local.h |
|
55 render_local.o: render_png_struct.h render_png.h render_raw_struct.h |
|
56 render_local.o: render_raw.h render_mandelbrot.h |
|
57 render_mandelbrot.o: common.h render_struct.h render.h render_mandelbrot.h |
|
58 render_multi.o: common.h render_struct.h render.h render_multi.h |
|
59 render_multi.o: lib/libevent-dev/include/event2/util.h |
|
60 render_multi.o: lib/libevent-dev/include/event-config.h |
|
61 render_multi.o: lib/libevent-dev/include/event2/buffer.h remote_pool.h |
|
62 render_multi.o: remote_node.h config.h render_remote.h render_slices_struct.h |
|
63 render_multi.o: render_png_struct.h render_png.h render_slices.h |
|
64 render_png.o: common.h render_struct.h render.h render_png_struct.h |
|
65 render_png.o: render_png.h |
|
66 render_raw.o: common.h render_struct.h render.h render_raw_struct.h |
|
67 render_raw.o: render_raw.h |
|
68 render_remote.o: lib/libevent-dev/include/event2/event.h |
|
69 render_remote.o: lib/libevent-dev/include/event-config.h |
|
70 render_remote.o: lib/libevent-dev/include/event2/util.h |
|
71 render_remote.o: lib/libevent-dev/include/event2/event_struct.h |
|
72 render_remote.o: lib/libevent-dev/include/event2/bufferevent.h |
|
73 render_remote.o: render_remote.h lib/libevent-dev/include/event2/buffer.h |
|
74 render_remote.o: render.h remote_pool.h remote_node.h config.h common.h |
|
75 render_remote.o: render_struct.h render_net.h socket.h |
|
76 render_slices.o: common.h render_struct.h render.h render_slices_struct.h |
|
77 render_slices.o: render_png_struct.h render_png.h render_slices.h |
|
78 render_thread.o: lib/libevent-dev/include/event2/event.h |
|
79 render_thread.o: lib/libevent-dev/include/event-config.h |
|
80 render_thread.o: lib/libevent-dev/include/event2/util.h common.h |
|
81 render_thread.o: render_thread.h render.h render_thread_struct.h |
|
82 render_thread.o: lib/libevent-dev/include/event2/event_struct.h |
|
83 render_thread.o: render_struct.h render_local.h render_png_struct.h |
|
84 render_thread.o: render_png.h render_raw_struct.h render_raw.h |
|
85 render_threads.o: common.h render_threads.h render.h render_slices_struct.h |
|
86 render_threads.o: render_struct.h render_png_struct.h render_png.h |
|
87 render_threads.o: render_slices.h render_mandelbrot.h |
|
88 socket.o: socket.h config.h common.h |
|
89 static.o: lib/libevent-dev/include/event2/http.h |
|
90 static.o: lib/libevent-dev/include/event2/util.h |
|
91 static.o: lib/libevent-dev/include/event-config.h |
|
92 static.o: lib/libevent-dev/include/event2/buffer.h static.h common.h |
|
93 tile.o: tile.h render.h render_struct.h |
|
94 web_main.o: lib/libevent-dev/include/event2/event.h |
|
95 web_main.o: lib/libevent-dev/include/event-config.h |
|
96 web_main.o: lib/libevent-dev/include/event2/util.h |
|
97 web_main.o: lib/libevent-dev/include/event2/event_compat.h |
|
98 web_main.o: lib/libevent-dev/include/event2/http.h |
|
99 web_main.o: lib/libevent-dev/include/event2/event_struct.h common.h http.h |
|
100 web_main.o: render_struct.h render.h remote_node.h config.h remote_pool.h |
|
101 web_main.o: render_remote.h lib/libevent-dev/include/event2/buffer.h tile.h |
|
102 web_main.o: static.h |
|
103 cache/cache.o: cache.h cache.h cache/engine.h |
|
104 cache/op.o: cache.h cache.h cache/op.h cache/req.h cache/engine.h common.h |
|
105 cache/req.o: cache.h cache.h cache/req.h cache/op.h cache/engine.h common.h |
|
106 cache/engines/fs.o: cache.h cache.h cache/engine.h cache/op.h common.h |