Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / tools / Makefile.crypt
1 #************************************************************************
2 #*   IRC - Internet Relay Chat, ircd/crypt/Makefile
3 #*   Copyright (C) 1991 Darren Reed
4 #*
5 #*   This program is free software; you can redistribute it and/or modify
6 #*   it under the terms of the GNU General Public License as published by
7 #*   the Free Software Foundation; either version 1, or (at your option)
8 #*   any later version.
9 #*
10 #*   This program is distributed in the hope that it will be useful,
11 #*   but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #*   GNU General Public License for more details.
14 #*
15 #*   You should have received a copy of the GNU General Public License
16 #*   along with this program; if not, write to the Free Software
17 #*   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 #*/
19 #
20 # Change this to the path of your local ircd.conf file
21 #
22 IRCDCONF = /usr/local/lib/irc/ircd.conf
23
24 LIBS = -lcrypt
25
26 all: mkpasswd
27 crypt: install
28
29 mkpasswd: mkpasswd.c
30         gcc -Wall -O2 mkpasswd.c -o mkpasswd ${LIBS}
31
32 install:
33         crypter ${IRCDCONF}
34         @echo 'done.'
35
36 clean:
37         /bin/rm -f mkpasswd