Replace some french comments by english ones.
[euphorik.git] / modules / Makefile
1 # coding: utf-8
2 # For more informations about the modules listed here see : http://dev.euphorik.ch/wiki/euk/Home
3
4 # Directory where the compiled modules will be put
5 rep_ebin = ebin
6
7 # Directory where the sources are
8 rep_erl = erl
9
10 # Directory which contains the hrl files (records definition)
11 rep_include = include
12 rep_include_yaws = /usr/lib/yaws/include
13
14 # Arguments for the compilator
15 # It's possible to compile in native mode with :
16 # $ make NATIVE=true
17 ifdef NATIVE
18 erlc_params = +native -I $(rep_include) -I $(rep_include_yaws) -o $(rep_ebin) $<
19 else
20 erlc_params = -I $(rep_include) -I $(rep_include_yaws) -o $(rep_ebin) $<
21 endif
22
23 all: $(rep_ebin)/smtp.beam \
24 $(rep_ebin)/euphorik_bd.beam \
25 $(rep_ebin)/euphorik_minichat_conversation.beam \
26 $(rep_ebin)/euphorik_requests.beam \
27 $(rep_ebin)/euphorik_protocole.beam \
28 $(rep_ebin)/euphorik_daemon.beam \
29 $(rep_ebin)/euphorik_bd.beam \
30 $(rep_ebin)/euphorik_bd_admin.beam \
31 $(rep_ebin)/euphorik_common.beam \
32 $(rep_ebin)/euphorik_test.beam
33
34 $(rep_ebin)/smtp.beam: $(rep_erl)/smtp.erl
35 erlc $(erlc_params)
36
37 $(rep_ebin)/euphorik_bd.beam: $(rep_erl)/euphorik_bd.erl $(rep_include)/euphorik_bd.hrl $(rep_include)/euphorik_defines.hrl
38 erlc $(erlc_params)
39
40 $(rep_ebin)/euphorik_bd_admin.beam: $(rep_erl)/euphorik_bd_admin.erl $(rep_include)/euphorik_bd.hrl $(rep_include)/euphorik_defines.hrl
41 erlc $(erlc_params)
42
43 $(rep_ebin)/euphorik_minichat_conversation.beam: $(rep_erl)/euphorik_minichat_conversation.erl $(rep_include)/euphorik_bd.hrl
44 erlc $(erlc_params)
45
46 $(rep_ebin)/euphorik_requests.beam: $(rep_erl)/euphorik_requests.erl $(rep_include)/euphorik_defines.hrl
47 erlc $(erlc_params)
48
49 $(rep_ebin)/euphorik_protocole.beam: $(rep_erl)/euphorik_protocole.erl $(rep_include)/euphorik_defines.hrl
50 erlc $(erlc_params)
51
52 $(rep_ebin)/euphorik_daemon.beam: $(rep_erl)/euphorik_daemon.erl $(rep_include)/euphorik_defines.hrl
53 erlc $(erlc_params)
54
55 $(rep_ebin)/euphorik_common.beam: $(rep_erl)/euphorik_common.erl
56 erlc $(erlc_params)
57
58 $(rep_ebin)/euphorik_test.beam: $(rep_erl)/euphorik_test.erl $(rep_include)/euphorik_bd.hrl
59 erlc $(erlc_params)
60
61 clean:
62 rm ebin/*.beam