-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
97 lines (79 loc) · 2.76 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Undernet Channel Service (X)
# Copyright (C) 1995-2002 Robin Thellend
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# The author can be contact by email at <[email protected]>
#
# Please note that this software is unsupported and mostly
# obsolete. It was replaced by GNUworld/CMaster. See
# http://gnuworld.sourceforge.net/ for more information.
#
CC = gcc
RM = /bin/rm
CFLAGS = -Wall -g -O0
#CFLAGS = -O6
#DEFINES = -DDEBUG
#DEFINES = -DBACKUP
#DEFINES = -DDEBUG_MALLOC -DHISTORY
#DEFINES= -DHISTORY
DEFINES=
# necessary for Solaris
#LIBS = -lsocket -lnsl
OBJECTS = bans.o buffer.o channels.o chat.o conf.o connect.o dbio.o debug.o \
defchan.o events.o floodpro.o help.o http.o ignore.o kicks.o \
match.o modes.o nick.o nickserv.o opcom.o ops.o patch.o privmsg.o \
replies.o servers.o shitlist.o socketio.o special.o userlist.o \
users.o version.o
SOURCES = bans.c buffer.c channels.c chat.c conf.c connect.c dbio.c debug.c \
defchan.c events.c floodpro.c help.c http.c ignore.c kicks.c \
match.c modes.c nick.c nickserv.c opcom.c ops.c patch.c privmsg.c \
replies.c servers.c shitlist.c socketio.c special.c userlist.c \
users.c version.c
MAKE = make -f Sources.mak 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'DEFINES=${DEFINES}'\
'LIBS=${LIBS}' 'SOURCES=${SOURCES}' 'OBJECTS=${OBJECTS}'\
'RM=${RM}'
all: cs fixdb showdb show_old_managers
@echo 'All Done! :)'
cs: dummy
@echo "Making cs..."
@if [ -f cs ] ; then \
mv -f cs cs.old; \
sleep 1; \
fi
@cd Sources; ${MAKE}; cd ..;
list: dummy
@echo "Making list..."
@cd Sources; ${MAKE} list; cd ..;
listall: dummy
@echo "Making listall"
@cd Sources; ${MAKE} listall; cd ..;
fixdb: dummy
@echo "Making fixdb"
@cd Sources; ${MAKE} fixdb; cd ..;
showdb: dummy
@echo "Making showdb"
@cd Sources; ${MAKE} showdb; cd ..;
show_old_managers: dummy
@echo "Making show_old_managers"
@cd Sources; ${MAKE} show_old_managers; cd ..;
clean: dummy
@cd Sources; ${MAKE} clean; cd ..;
$(RM) -f core cs list listall cs.log *.bak
depend: dummy
@cd Sources; ${MAKE} depend; cd ..;
love:
-@echo "With you?? dream on! :P"
dummy: