root/alternc-sympa/tags/BASE/src/Makefile
| Revision 1432, 2.0 kB (checked in by benjamin, 6 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | # |
| 2 | # $Id$ |
| 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 | # |
| 28 | default: install |
| 29 | |
| 30 | all: lst_adddom lst_deldom lst_getfile lst_putfile lst_addlst lst_dellst lst_delfile |
| 31 | |
| 32 | lst_adddom: lst_adddom.c |
| 33 | cc lst_adddom.c -o lst_adddom |
| 34 | lst_deldom: lst_deldom.c |
| 35 | cc lst_deldom.c -o lst_deldom |
| 36 | lst_getfile: lst_getfile.c |
| 37 | cc lst_getfile.c -o lst_getfile |
| 38 | lst_putfile: lst_putfile.c |
| 39 | cc lst_putfile.c -o lst_putfile |
| 40 | lst_addlst: lst_addlst.c |
| 41 | cc lst_addlst.c -o lst_addlst |
| 42 | lst_dellst: lst_dellst.c |
| 43 | cc lst_dellst.c -o lst_dellst |
| 44 | lst_delfile: lst_delfile.c |
| 45 | cc lst_delfile.c -o lst_delfile |
| 46 | |
| 47 | install: all |
| 48 | chmod a+rx,a-w,u+s,g+s lst_* |
| 49 | ## Devrait etre fait par le paquet debian |
| 50 | # chown root.root mail_add mail_del quota_edit quota_get mem_add mem_del db_create mhonarc wmkdir |
| 51 | # chown sympa.sympa lst_* |
| 52 | # chown root.list mailman* |
| 53 | |
| 54 | clean: |
| 55 | rm -f *.o *~; \ |
| 56 | for i in lst_delfile lst_dellst lst_adddom lst_getfile lst_addlst lst_putfile lst_deldom; \ |
| 57 | do rm -f $$i; \ |
| 58 | done |
Note: See TracBrowser for help on using the browser.
