summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 508cd54ca5d0c088e511d509818ec9298b0d1fa8 (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
106
107
108
109
110
111
112
113
114
115
116
117
# 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.8 2004-06-05 01:09:58 ianc Exp $
# 

# Uncomment for debug output
#
# DEBUG	=	-DKBS_DEBUG

# CFLAGS assumes that gcc is being used - simply change as required
#
CFLAGS	=	-g -Wall -Werror $(DEBUG)

TARGET	=	kbs

SOURCE	=	kbs.c		\
		pop3.c		\
		config.c	\
		rexp.c		\
		dbase.c		\
		dstring.c	\
		debug.c		\
		util.c

OBJECTS	=	kbs.o		\
		pop3.o		\
		config.o	\
		rexp.o		\
		dbase.o		\
		dstring.o	\
		debug.o		\
		util.o

$(TARGET): $(OBJECTS)
	$(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS)

clean:
	rm -f $(TARGET) $(OBJECTS) core

depend:
	make clean
	makedepend  -- $(CFLAGS) $(DEBUG) -- $(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/machine/ansi.h /usr/include/limits.h
kbs.o: /usr/include/sys/_posix.h /usr/include/machine/limits.h
kbs.o: /usr/include/sys/syslimits.h /usr/include/stdio.h
kbs.o: /usr/include/string.h /usr/include/stdarg.h /usr/include/time.h
kbs.o: /usr/include/errno.h global.h config.h pop3.h msg.h dbase.h rexp.h
kbs.o: dstring.h debug.h util.h
pop3.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
pop3.o: /usr/include/machine/ansi.h /usr/include/string.h
pop3.o: /usr/include/stdio.h /usr/include/stdarg.h /usr/include/ctype.h
pop3.o: /usr/include/runetype.h /usr/include/unistd.h
pop3.o: /usr/include/sys/types.h /usr/include/sys/inttypes.h
pop3.o: /usr/include/machine/types.h /usr/include/machine/endian.h
pop3.o: /usr/include/sys/unistd.h /usr/include/sys/_posix.h
pop3.o: /usr/include/sys/select.h /usr/include/sys/event.h
pop3.o: /usr/include/sys/queue.h /usr/include/sys/socket.h
pop3.o: /usr/include/machine/param.h /usr/include/sys/time.h
pop3.o: /usr/include/time.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/machine/ansi.h /usr/include/string.h
config.o: /usr/include/stdio.h /usr/include/errno.h /usr/include/ctype.h
config.o: /usr/include/runetype.h global.h config.h dstring.h dbase.h msg.h
config.o: rexp.h util.h
rexp.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
rexp.o: /usr/include/machine/ansi.h /usr/include/unistd.h
rexp.o: /usr/include/sys/types.h /usr/include/sys/inttypes.h
rexp.o: /usr/include/machine/types.h /usr/include/machine/endian.h
rexp.o: /usr/include/sys/unistd.h /usr/include/sys/_posix.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/machine/ansi.h /usr/include/string.h
dbase.o: /usr/include/strings.h /usr/include/stdio.h /usr/include/ctype.h
dbase.o: /usr/include/runetype.h global.h dbase.h msg.h rexp.h dstring.h
dbase.o: config.h debug.h util.h
dstring.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
dstring.o: /usr/include/machine/ansi.h /usr/include/string.h
dstring.o: /usr/include/stdio.h /usr/include/stdarg.h /usr/include/ctype.h
dstring.o: /usr/include/runetype.h /usr/include/sys/types.h
dstring.o: /usr/include/sys/inttypes.h /usr/include/machine/types.h
dstring.o: /usr/include/machine/endian.h /usr/include/sys/select.h
dstring.o: /usr/include/sys/event.h /usr/include/sys/queue.h
dstring.o: /usr/include/sys/socket.h /usr/include/machine/param.h
dstring.o: /usr/include/netinet/in.h /usr/include/netinet6/in6.h
dstring.o: /usr/include/netinet/tcp.h /usr/include/netdb.h global.h dstring.h
dstring.o: util.h
debug.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
debug.o: /usr/include/machine/ansi.h /usr/include/stdio.h
debug.o: /usr/include/stdarg.h global.h debug.h
util.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
util.o: /usr/include/machine/ansi.h /usr/include/string.h
util.o: /usr/include/stdio.h global.h util.h