blob: 15b4775e94699da1ce79ca3be118c90a28cd8953 (
plain)
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
98
99
100
101
102
103
104
105
|
# kbs - Simple, easily fooled, POP3 spam filter
#
# Copyright (C) 2003 Ian Cowburn (ianc@noddybox.demon.co.uk)
#
# 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
#
# -------------------------------------------------------------------------
#
# $Id: Makefile,v 1.7 2004-01-26 02:01:49 ianc Exp $
#
# CFLAGS assumes that gcc is being used - simply comment out if required
CFLAGS = -g -Wall -Werror
TARGET = kbs
SOURCE = kbs.c \
pop3.c \
config.c \
rexp.c \
dbase.c \
dstring.c \
util.c
OBJECTS = kbs.o \
pop3.o \
config.o \
rexp.o \
dbase.o \
dstring.o \
util.o
$(TARGET): $(OBJECTS)
$(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS)
clean:
rm -f $(TARGET) $(OBJECTS) core
depend:
make clean
makedepend -- $(CFLAGS) -- $(SOURCE)
if test -e Makefile ; then rm -f Makefile.bak ; fi
# DO NOT DELETE THIS LINE -- make depend depends on it
kbs.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
kbs.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
kbs.o: /usr/include/limits.h /usr/include/sys/limits.h
kbs.o: /usr/include/machine/_limits.h /usr/include/sys/syslimits.h
kbs.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h
kbs.o: /usr/include/stdarg.h /usr/include/time.h /usr/include/sys/timespec.h
kbs.o: /usr/include/errno.h global.h config.h pop3.h msg.h dbase.h rexp.h
kbs.o: dstring.h util.h
pop3.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
pop3.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
pop3.o: /usr/include/string.h /usr/include/strings.h /usr/include/stdio.h
pop3.o: /usr/include/stdarg.h /usr/include/ctype.h /usr/include/runetype.h
pop3.o: /usr/include/unistd.h /usr/include/sys/types.h
pop3.o: /usr/include/machine/endian.h /usr/include/sys/select.h
pop3.o: /usr/include/sys/_sigset.h /usr/include/sys/_timeval.h
pop3.o: /usr/include/sys/timespec.h /usr/include/sys/unistd.h
pop3.o: /usr/include/sys/socket.h /usr/include/sys/_iovec.h
pop3.o: /usr/include/machine/param.h /usr/include/netinet/in.h
pop3.o: /usr/include/netinet6/in6.h /usr/include/netinet/tcp.h
pop3.o: /usr/include/netdb.h global.h pop3.h msg.h dstring.h util.h
config.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
config.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
config.o: /usr/include/string.h /usr/include/strings.h /usr/include/stdio.h
config.o: /usr/include/errno.h /usr/include/ctype.h /usr/include/runetype.h
config.o: global.h config.h dstring.h dbase.h msg.h rexp.h util.h
rexp.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
rexp.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
rexp.o: /usr/include/regex.h global.h rexp.h config.h util.h
dbase.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
dbase.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
dbase.o: /usr/include/string.h /usr/include/strings.h /usr/include/stdio.h
dbase.o: /usr/include/ctype.h /usr/include/runetype.h global.h dbase.h msg.h
dbase.o: rexp.h dstring.h config.h util.h
dstring.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
dstring.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
dstring.o: /usr/include/string.h /usr/include/strings.h /usr/include/stdio.h
dstring.o: /usr/include/stdarg.h /usr/include/ctype.h /usr/include/runetype.h
dstring.o: /usr/include/sys/types.h /usr/include/machine/endian.h
dstring.o: /usr/include/sys/select.h /usr/include/sys/_sigset.h
dstring.o: /usr/include/sys/_timeval.h /usr/include/sys/timespec.h
dstring.o: /usr/include/sys/socket.h /usr/include/sys/_iovec.h
dstring.o: /usr/include/machine/param.h /usr/include/netinet/in.h
dstring.o: /usr/include/netinet6/in6.h /usr/include/netinet/tcp.h
dstring.o: /usr/include/netdb.h global.h dstring.h util.h
util.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
util.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
util.o: /usr/include/string.h /usr/include/strings.h /usr/include/stdio.h
util.o: global.h util.h
|