source: src/Makefile @ 318

Revision 318, 1.7 KB checked in by anarcat, 7 years ago (diff)

[project @ alternc: changeset 2004-06-01 04:35:02 by anonymous]
group scripts together

Original author: anonymous
Date: 2004-06-01 04:35:02

Line 
1#
2# $Id: Makefile,v 1.10 2004/06/01 04:35:02 anonymous Exp $
3# ----------------------------------------------------------------------
4# AlternC - Web Hosting System
5# Copyright (C) 2002 by the AlternC Development Team.
6# http://alternc.org/
7# ----------------------------------------------------------------------
8# Based on:
9# Valentin Lacambre's web hosting softwares: http://altern.org/
10# ----------------------------------------------------------------------
11# LICENSE
12#
13# This program is free software; you can redistribute it and/or
14# modify it under the terms of the GNU General Public License (GPL)
15# as published by the Free Software Foundation; either version 2
16# of the License, or (at your option) any later version.
17#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21# GNU General Public License for more details.
22#
23# To read the license please visit http://www.gnu.org/copyleft/gpl.html
24# ----------------------------------------------------------------------
25# Purpose of file: Makefile des binaires de /usr/lib/alternc
26# ----------------------------------------------------------------------
27#
28CC?=cc
29CC+=$(CFLAGS)
30PROGS=mail_add mail_del quota_edit quota_get mem_add mem_del db_create
31SCRIPTS=quota_edit.sh quota_get.sh basedir_prot.sh
32BIN=$(DESTDIR)/usr/lib/alternc/
33
34all: $(PROGS)
35db_create: db_create.c
36quota_get: quota_get.c
37quota_edit: quota_edit.c
38mail_add: mail_add.c
39mail_del: mail_del.c
40mem_add: mem_add.c
41mem_del: mem_del.c
42
43install: all
44        install -o root -g root -m4550 $(PROGS) du.pl $(BIN)
45        install -o root -g root -m0550 $(SCRIPTS) $(BIN)
46
47clean:
48        -rm -f *.o *~
49        -rm -f $(PROGS)
Note: See TracBrowser for help on using the repository browser.