root/tags/omega-1.0.0-rc2/tools/daemon/BSDmakefile

Revision 469, 2.4 KB (checked in by malte, 21 months ago)
Line 
1#
2#  ispCP . (OMEGA) - Virtual Hosting Control System | Omega Version
3#
4#  @copyright  2001-2006 by moleSoftware GmbH
5#  @copyright  2006-2007 by ispCP | http://isp-control.net
6#  @link   http://isp-control.net
7#  @author  ispCP Team
8#
9#  @license
10#  This program is free software; you can redistribute it and/or modify it under
11#  the terms of the MPL General Public License as published by the Free Software
12#  Foundation; either version 1.1 of the License, or (at your option) any later
13#  version.
14#  You should have received a copy of the MPL Mozilla Public License along with
15#  this program; if not, write to the Open Source Initiative (OSI)
16#  http://opensource.org | osi@opensource.org
17#
18
19OBJS = ispcp_daemon.o message.o daemon_init.o say.o signal-handlers.o\
20receive_data.o send_data.o take_connection.o send_line.o recv_line.o\
21helo_cmd.o helo_syntax.o lr_cmd.o lr_syntax.o bye_cmd.o bye_syntax.o
22
23BUILD = gcc -O2 -ansi -Wall -Wstrict-prototypes -pedantic -o
24
25COMPILE = gcc -O2 -ansi -Wall -Wstrict-prototypes -pedantic -c -o
26
27STRIP = strip -s
28
29ispcp_daemon: $(OBJS)
30        $(BUILD) ispcp_daemon $(OBJS)
31        $(STRIP) ispcp_daemon
32       
33ispcp_daemon.o: ispcp_daemon.c defs.h
34        $(COMPILE) ispcp_daemon.o ispcp_daemon.c
35
36daemon_init.o: daemon_init.c daemon_init.h
37        $(COMPILE) daemon_init.o daemon_init.c
38       
39message.o: message.c message.h
40        $(COMPILE) message.o message.c
41       
42say.o: say.c say.h
43        $(COMPILE) say.o say.c
44
45signal-handlers.o: signal-handlers.c signal-handlers.h
46        $(COMPILE) signal-handlers.o signal-handlers.c
47       
48receive_data.o: receive_data.c receive_data.h
49        $(COMPILE) receive_data.o receive_data.c
50
51send_data.o: send_data.c send_data.h
52        $(COMPILE) send_data.o send_data.c
53
54take_connection.o: take_connection.c take_connection.h
55        $(COMPILE) take_connection.o take_connection.c
56
57send_line.o: send_line.c send_line.h
58        $(COMPILE) send_line.o send_line.c
59
60recv_line.o: recv_line.c recv_line.h
61        $(COMPILE) recv_line.o recv_line.c
62
63helo_cmd.o: helo_cmd.c helo_cmd.h
64        $(COMPILE) helo_cmd.o helo_cmd.c
65
66helo_syntax.o: helo_syntax.c helo_syntax.h
67        $(COMPILE) helo_syntax.o helo_syntax.c
68
69lr_cmd.o: lr_cmd.c lr_cmd.h
70        $(COMPILE) lr_cmd.o lr_cmd.c
71
72lr_syntax.o: lr_syntax.c lr_syntax.h
73        $(COMPILE) lr_syntax.o lr_syntax.c
74
75bye_cmd.o: bye_cmd.c bye_cmd.h
76        $(COMPILE) bye_cmd.o bye_cmd.c
77
78bye_syntax.o: bye_syntax.c bye_syntax.h
79        $(COMPILE) bye_syntax.o bye_syntax.c
80
81uninstall: clean
82
83clean:
84        rm -rf *~
85        rm -rf *.o
86        rm -rf ispcp_daemon
87
Note: See TracBrowser for help on using the browser.