/[cvs]/eggdrop1.8/src/Makefile.in
ViewVC logotype

Contents of /eggdrop1.8/src/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2.2.2 - (show annotations) (download)
Wed Jan 12 13:54:00 2011 UTC (8 years, 6 months ago) by pseudo
Branch: gettext
Changes since 1.2.2.1: +29 -29 lines
Removed memcpy(), memset() and strftime() compatibility replacements.

1 # Makefile for src/
2 # $Id: Makefile.in,v 1.2.2.1 2010/11/17 13:58:37 pseudo Exp $
3
4 SHELL = @SHELL@
5 top_srcdir = @top_srcdir@
6 srcdir = @srcdir@
7 VPATH = @srcdir@
8
9 @SET_MAKE@
10 INSTALL = @INSTALL@
11 INSTALL_PROGRAM = @INSTALL_PROGRAM@
12 INSTALL_DATA = @INSTALL_DATA@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
14
15 CC = @CC@
16 LD = @CC@
17 STRIP = @STRIP@
18 CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @SSL_INCLUDES@ @DEFS@ $(CFLGS)
19 CPPFLAGS = @CPPFLAGS@
20
21 eggdrop_objs = bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
22 dccutil.o dns.o flags.o match.o main.o mem.o misc.o misc_file.o \
23 modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o \
24 tls.o userent.o userrec.o users.o
25
26 MAKE_GENERIC = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
27 'STRIP=$(STRIP)' 'CFLGS=$(CFLGS)'
28
29
30 doofus:
31 @echo ""
32 @echo "Let's try this from the right directory..."
33 @echo ""
34 @cd .. && $(MAKE)
35
36 ../$(EGGEXEC): build_msg $(eggdrop_objs) $(XREQS) compile_md5 compatability
37 @echo "Linking eggdrop $(EGGBUILD)."
38 @echo ""
39 @touch mod/mod.xlibs
40 $(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs`
41 $(STRIP) ../$(EGGEXEC)
42 @echo ""
43 @echo "Successful compile: $(EGGEXEC)"
44 @echo ""
45
46 $(EGGEXEC): ../$(EGGEXEC)
47
48 depend:
49 $(CC) -I.. -DMAKING_DEPEND -DHAVE_CONFIG_H -MM *.c > .depend
50
51 clean:
52 @rm -f .depend *.o *.a *~
53
54 build_msg:
55 @echo ""
56 @echo "This may take a while. Go get some runts."
57 @echo ""
58
59 main.o:
60 $(CC) $(CFLAGS) $(CPPFLAGS) \
61 '-DCCFLAGS="$(CC) $(CFLAGS) $(CPPFLAGS)"' \
62 '-DLDFLAGS="$(LD)"' \
63 '-DSTRIPFLAGS="$(STRIP)"' -c $(srcdir)/main.c
64
65 compatability:
66 @cd compat && $(MAKE_GENERIC) compat
67 @echo ""
68 @echo "---------- Yeah! That's the compiling, now the linking! ----------"
69 @echo ""
70
71 compile_md5:
72 @cd md5 && $(MAKE_GENERIC) md5
73
74 libtcle.a: $(TCLLIB)/lib$(TCLLIBFN)
75 @echo "[ Fixing lib$(TCLLIBFN) -> libtcle.a ]"
76 cp $(TCLLIB)/lib$(TCLLIBFN) libtcle.a
77 chmod u+rw libtcle.a
78 ar d libtcle.a tclMain.o
79 $(RANLIB) libtcle.a
80
81 eggdrop.h:
82 @echo "You do not have the eggdrop source!"
83 @exit 1
84
85 .SUFFIXES:
86 .SUFFIXES: .c .h .o .a
87
88 .c.o:
89 $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
90
91 #safety hash
92 bg.o: bg.c main.h ../config.h ../lush.h eggdrop.h flags.h proto.h \
93 misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
94 compat/inet_aton.h ../src/main.h compat/snprintf.h \
95 compat/strcasecmp.h bg.h
96 botcmd.o: botcmd.c main.h ../config.h ../lush.h eggdrop.h flags.h \
97 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
98 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
99 compat/strcasecmp.h \
100 tandem.h modules.h mod/modvals.h
101 botmsg.o: botmsg.c main.h ../config.h ../lush.h eggdrop.h flags.h \
102 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
103 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
104 compat/strcasecmp.h \
105 tandem.h
106 botnet.o: botnet.c main.h ../config.h ../lush.h eggdrop.h flags.h \
107 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
108 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
109 compat/strcasecmp.h \
110 tandem.h
111 chanprog.o: chanprog.c main.h ../config.h ../lush.h eggdrop.h \
112 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
113 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
114 compat/strcasecmp.h \
115 modules.h mod/modvals.h
116 cmds.o: cmds.c main.h ../config.h ../lush.h eggdrop.h flags.h \
117 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
118 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
119 compat/strcasecmp.h \
120 tandem.h modules.h mod/modvals.h
121 dcc.o: dcc.c main.h ../config.h ../lush.h eggdrop.h flags.h \
122 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
123 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
124 compat/strcasecmp.h \
125 modules.h mod/modvals.h tandem.h md5/md5.h
126 dccutil.o: dccutil.c main.h ../config.h ../lush.h eggdrop.h \
127 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
128 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
129 compat/strcasecmp.h \
130 modules.h mod/modvals.h tandem.h
131 dns.o: dns.c main.h ../config.h ../lush.h eggdrop.h flags.h \
132 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
133 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
134 compat/strcasecmp.h \
135 dns.h
136 flags.o: flags.c main.h ../config.h ../lush.h eggdrop.h flags.h \
137 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
138 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
139 compat/strcasecmp.h
140 main.o: main.c main.h ../config.h ../lush.h eggdrop.h flags.h \
141 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
142 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
143 compat/strcasecmp.h \
144 modules.h mod/modvals.h tandem.h bg.h patch.h
145 match.o: match.c main.h ../config.h ../lush.h eggdrop.h flags.h \
146 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
147 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
148 compat/strcasecmp.h
149 mem.o: mem.c main.h ../config.h ../lush.h eggdrop.h flags.h \
150 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
151 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
152 compat/strcasecmp.h \
153 mod/modvals.h
154 misc.o: misc.c main.h ../config.h ../lush.h eggdrop.h flags.h \
155 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
156 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
157 compat/strcasecmp.h \
158 tandem.h modules.h mod/modvals.h stat.h
159 misc_file.o: misc_file.c main.h ../config.h ../lush.h eggdrop.h \
160 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
161 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
162 compat/strcasecmp.h \
163 stat.h
164 modules.o: modules.c main.h ../config.h ../lush.h eggdrop.h \
165 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
166 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
167 compat/strcasecmp.h \
168 modules.h mod/modvals.h tandem.h md5/md5.h
169 net.o: net.c main.h ../config.h ../lush.h eggdrop.h flags.h \
170 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
171 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
172 compat/strcasecmp.h
173 rfc1459.o: rfc1459.c main.h ../config.h ../lush.h eggdrop.h \
174 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
175 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
176 compat/strcasecmp.h
177 tcl.o: tcl.c main.h ../config.h ../lush.h eggdrop.h flags.h \
178 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
179 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
180 compat/strcasecmp.h
181 tcldcc.o: tcldcc.c main.h ../config.h ../lush.h eggdrop.h flags.h \
182 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
183 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
184 compat/strcasecmp.h \
185 tandem.h modules.h mod/modvals.h
186 tclhash.o: tclhash.c main.h ../config.h ../lush.h eggdrop.h \
187 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
188 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
189 compat/strcasecmp.h
190 tclmisc.o: tclmisc.c main.h ../config.h ../lush.h eggdrop.h \
191 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
192 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
193 compat/strcasecmp.h \
194 modules.h mod/modvals.h tandem.h md5/md5.h
195 tcluser.o: tcluser.c main.h ../config.h ../lush.h eggdrop.h \
196 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
197 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
198 compat/strcasecmp.h \
199 tandem.h modules.h mod/modvals.h
200 tls.o: tls.c main.h ../config.h ../lush.h eggdrop.h flags.h \
201 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
202 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
203 compat/strcasecmp.h
204 userent.o: userent.c main.h ../config.h ../lush.h eggdrop.h \
205 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
206 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
207 compat/strcasecmp.h
208 userrec.o: userrec.c main.h ../config.h ../lush.h eggdrop.h \
209 flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
210 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
211 compat/strcasecmp.h \
212 modules.h mod/modvals.h tandem.h
213 users.o: users.c main.h ../config.h ../lush.h eggdrop.h flags.h \
214 proto.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
215 compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
216 compat/strcasecmp.h \
217 modules.h mod/modvals.h tandem.h

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23