root/trunk/tools/BSDmakefile

Revision 1103, 1.4 kB (checked in by zothos, 8 months ago)

* Fixed #1173: autoresponders don't work
* Copyright and licence for every makefile
* Dropped the mta-cfg-setup.sh

Line 
1 #!/usr/bin/make -f
2 #
3 # ispCP ? (OMEGA) a Virtual Hosting Control Panel
4 # Copyright (c) 2001-2006 by moleSoftware GmbH
5 # http://www.molesoftware.com
6 # Copyright (c) 2006-2008 by isp Control Panel
7 # http://isp-control.net
8 #
9 #
10 # License:
11 #    This program is free software; you can redistribute it and/or
12 #    modify it under the terms of the MPL Mozilla Public License
13 #    as published by the Free Software Foundation; either version 1.1
14 #    of the License, or (at your option) any later version.
15 #
16 #    This program is distributed in the hope that it will be useful,
17 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
18 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 #    MPL Mozilla Public License for more details.
20 #
21 #    You may have received a copy of the MPL Mozilla Public License
22 #    along with this program.
23 #
24 #    An on-line copy of the MPL Mozilla Public License can be found
25 #    http://www.mozilla.org/MPL/MPL-1.1.html
26 #
27 #
28 # The ispCP ? Home Page is at:
29 #
30 #    http://isp-control.net
31 #
32
33 .ifdef $(OSTYPE)==FreeBSD
34 .include <../Makefile.fbsd>
35 .else
36 .include <../Makefile.inc>
37 .endif
38
39 DAEMON_DIR=$(SYSTEM_ROOT)/daemon
40
41 build: daemon/ispcp_daemon
42
43 daemon/ispcp_daemon:
44         (cd ./daemon; \
45         $(MAKE) ispcp_daemon;)
46
47 install: build
48         $(SYSTEM_MAKE_DIRS) $(DAEMON_DIR)
49         cp ./daemon/ispcp_daemon $(DAEMON_DIR)
50
51 uninstall:
52
53         (cd ./daemon; \
54         $(MAKE) clean;)
55         rm -rf $(DAEMON_DIR)
56         rm -rf build
57
58 .PHONY: install uninstall
Note: See TracBrowser for help on using the browser.