File: Makefile.in

package info (click to toggle)
eggdrop 1.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,696 kB
  • sloc: ansic: 59,508; sh: 5,051; tcl: 3,248; makefile: 1,705; python: 50
file content (252 lines) | stat: -rw-r--r-- 12,546 bytes parent folder | download | duplicates (2)
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
# Makefile for src/

SHELL = @SHELL@
top_srcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

@SET_MAKE@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@

CC = @CC@
LD = @CC@
STRIP = @STRIP@
CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @SSL_INCLUDES@ @DEFS@ $(CFLGS)
CPPFLAGS = @CPPFLAGS@

eggdrop_objs = bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o \
modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o \
tls.o userent.o userrec.o users.o

MAKE_GENERIC_ARGS = 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
                    'STRIP=$(STRIP)' 'CFLGS=$(CFLGS)'


doofus:
	@echo "" && \
	echo "Let's try this from the right directory..." && echo "" && \
	cd .. && $(MAKE)

linkstart:
	@echo "" && echo "This may take a while. Go get some runts." && \
	echo "" && \
	echo "---------- Yeah! That's the compiling, now the linking! ----------" && \
	echo "" && \
	echo "Linking eggdrop $(EGGBUILD)." && \
	echo "" && \
	touch mod/mod.xlibs

link:
	$(LD) $(LDFLAGS) $(CFLAGS) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs`

linkfinish:
	@$(STRIP) ../$(EGGEXEC) && \
	echo "" && \
	echo "Successful compile: $(EGGEXEC)" && \
	echo ""

../$(EGGEXEC): $(eggdrop_objs) compile_md5 compatibility
	$(MAKE) linkstart && $(MAKE) link && $(MAKE) linkfinish

$(EGGEXEC): ../$(EGGEXEC)

depend:
	$(CC) -I.. -DMAKING_DEPEND -DHAVE_CONFIG_H -MM *.c > .depend

clean:
	@rm -f .depend *.o *.a *~

main.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) \
	'-DCCFLAGS="$(CC) $(CFLAGS) $(CPPFLAGS)"' \
	'-DLDFLAGS="$(LD)"' \
	'-DSTRIPFLAGS="$(STRIP)"' -c $(srcdir)/main.c

compatibility:
	@cd compat && $(MAKE) $(MAKE_GENERIC_ARGS) compat

compile_md5:
	@cd md5 && $(MAKE) $(MAKE_GENERIC_ARGS) md5

eggdrop.h:
	@echo "You do not have the eggdrop source!" && exit 1

.SUFFIXES:
.SUFFIXES: .c .h .o .a

.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<

#safety hash
bg.o: bg.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h bg.h
botcmd.o: botcmd.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h tandem.h modules.h mod/modvals.h
botmsg.o: botmsg.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h tandem.h
botnet.o: botnet.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h tandem.h
chanprog.o: chanprog.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h modules.h mod/modvals.h
cmds.o: cmds.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h tandem.h modules.h mod/modvals.h
dcc.o: dcc.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h modules.h mod/modvals.h tandem.h md5/md5.h
dccutil.o: dccutil.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h modules.h mod/modvals.h tandem.h
dns.o: dns.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h dns.h
flags.o: flags.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
language.o: language.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
main.o: main.c ../config.h main.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h version.h modules.h mod/modvals.h tandem.h bg.h
match.o: match.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
mem.o: mem.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h mod/modvals.h
misc.o: misc.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h tandem.h modules.h mod/modvals.h stat.h
misc_file.o: misc_file.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h stat.h
modules.o: modules.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h modules.h mod/modvals.h tandem.h md5/md5.h
net.o: net.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
rfc1459.o: rfc1459.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
tcl.o: tcl.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
tcldcc.o: tcldcc.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h tandem.h modules.h mod/modvals.h
tclhash.o: tclhash.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
tclmisc.o: tclmisc.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h modules.h mod/modvals.h tandem.h md5/md5.h
tcluser.o: tcluser.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h tandem.h modules.h mod/modvals.h
tls.o: tls.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
 compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
 chan.h users.h compat/compat.h compat/inet_aton.h ../src/main.h \
 compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
userent.o: userent.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h
userrec.o: userrec.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h modules.h mod/modvals.h tandem.h
users.o: users.c main.h ../config.h ../eggint.h ../lush.h lang.h \
 eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
 tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
 ../src/main.h compat/snprintf.h compat/strcasecmp.h compat/strftime.h \
 compat/inet_ntop.h compat/inet_pton.h compat/gethostbyname2.h \
 compat/strlcpy.h modules.h mod/modvals.h tandem.h