11 # End of configuration section
17 rm -f *.o webcit webserver
20 rm -f Makefile config.cache config.log config.status
23 webserver: webserver.o context_loop.o tools.o \
24 cookie_conversion.o locate_host.o $(LIBOBJS)
25 $(CC) webserver.o context_loop.o tools.o cookie_conversion.o \
26 locate_host.o $(LIBOBJS) $(LIBS) -o webserver
28 webserver.o: webserver.c webcit.h
29 $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT -DWEBCITDIR=\"`pwd`\" webserver.c
31 context_loop.o: context_loop.c webcit.h webserver.h
32 $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT context_loop.c
34 snprintf.o: snprintf.c
35 $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT snprintf.c
39 webcit: webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
40 roomops.o tools.o messages.o userlist.o paging.o sysmsgs.o \
41 mime_parser.o graphics.o netconf.o cookie_conversion.o siteconfig.o
42 $(CC) webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
43 tools.o roomops.o messages.o userlist.o paging.o sysmsgs.o siteconfig.o \
44 mime_parser.o graphics.o netconf.o cookie_conversion.o -o webcit
46 webcit.o: webcit.c webcit.h child.h
47 $(CC) $(CFLAGS) $(DEFS) -c webcit.c
49 auth.o: auth.c webcit.h child.h
50 $(CC) $(CFLAGS) $(DEFS) -c auth.c
52 tcp_sockets.o: tcp_sockets.c webcit.h
53 $(CC) $(CFLAGS) $(DEFS) -c tcp_sockets.c
55 mainmenu.o: mainmenu.c webcit.h child.h
56 $(CC) $(CFLAGS) $(DEFS) -c mainmenu.c
58 serv_func.o: serv_func.c webcit.h child.h
59 $(CC) $(CFLAGS) $(DEFS) -c serv_func.c
61 who.o: who.c webcit.h child.h
62 $(CC) $(CFLAGS) $(DEFS) -c who.c
64 userlist.o: userlist.c webcit.h child.h
65 $(CC) $(CFLAGS) $(DEFS) -c userlist.c
67 tools.o: tools.c webcit.h
68 $(CC) $(CFLAGS) $(DEFS) -c tools.c
70 roomops.o: roomops.c webcit.h child.h
71 $(CC) $(CFLAGS) $(DEFS) -c roomops.c
73 messages.o: messages.c webcit.h child.h
74 $(CC) $(CFLAGS) $(DEFS) -c messages.c
76 graphics.o: graphics.c webcit.h child.h
77 $(CC) $(CFLAGS) $(DEFS) -c graphics.c
79 paging.o: paging.c webcit.h child.h
80 $(CC) $(CFLAGS) $(DEFS) -c paging.c
82 sysmsgs.o: sysmsgs.c webcit.h child.h
83 $(CC) $(CFLAGS) $(DEFS) -c sysmsgs.c
85 mime_parser.o: mime_parser.c webcit.h child.h mime_parser.h
86 $(CC) $(CFLAGS) $(DEFS) -c mime_parser.c
88 cookie_conversion.o: cookie_conversion.c webcit.h child.h
89 $(CC) $(CFLAGS) $(DEFS) -c cookie_conversion.c
91 siteconfig.o: siteconfig.c webcit.h child.h
92 $(CC) $(CFLAGS) $(DEFS) -c siteconfig.c
94 netconf.o: netconf.c webcit.h child.h
95 $(CC) $(CFLAGS) $(DEFS) -c netconf.c
97 locate_host.o: locate_host.c webcit.h child.h
98 $(CC) $(CFLAGS) $(DEFS) -c locate_host.c
100 Makefile: $(srcdir)/Makefile.in config.status
101 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
103 config.status: $(srcdir)/configure
104 $(SHELL) ./config.status --recheck
106 $(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
107 cd $(srcdir) && $(AUTOCONF)