2 # For more informations about the modules listed here see : http://dev.euphorik.ch/wiki/euk/Home
4 # Directory where the compiled modules will be put
7 # Directory where the sources are
10 # Directory which contains the hrl files (records definition)
12 rep_include_yaws = /usr/lib/yaws/include
14 # Arguments for the compilator
15 # It's possible to compile in native mode with :
18 erlc_params = +native -I $(rep_include) -I $(rep_include_yaws) -o $(rep_ebin) $<
20 erlc_params = -I $(rep_include) -I $(rep_include_yaws) -o $(rep_ebin) $<
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
34 $(rep_ebin)/smtp.beam: $(rep_erl)/smtp.erl
37 $(rep_ebin)/euphorik_bd.beam: $(rep_erl)/euphorik_bd.erl $(rep_include)/euphorik_bd.hrl $(rep_include)/euphorik_defines.hrl
40 $(rep_ebin)/euphorik_bd_admin.beam: $(rep_erl)/euphorik_bd_admin.erl $(rep_include)/euphorik_bd.hrl $(rep_include)/euphorik_defines.hrl
43 $(rep_ebin)/euphorik_minichat_conversation.beam: $(rep_erl)/euphorik_minichat_conversation.erl $(rep_include)/euphorik_bd.hrl
46 $(rep_ebin)/euphorik_requests.beam: $(rep_erl)/euphorik_requests.erl $(rep_include)/euphorik_defines.hrl
49 $(rep_ebin)/euphorik_protocole.beam: $(rep_erl)/euphorik_protocole.erl $(rep_include)/euphorik_defines.hrl
52 $(rep_ebin)/euphorik_daemon.beam: $(rep_erl)/euphorik_daemon.erl $(rep_include)/euphorik_defines.hrl
55 $(rep_ebin)/euphorik_common.beam: $(rep_erl)/euphorik_common.erl
58 $(rep_ebin)/euphorik_test.beam: $(rep_erl)/euphorik_test.erl $(rep_include)/euphorik_bd.hrl