]> code.citadel.org Git - citadel.git/blob - webcit/Makefile.in
a26260b9f11e50eb259e9636e987b5b609011297
[citadel.git] / webcit / Makefile.in
1 # $Id$
2
3 AUTOCONF=@AUTOCONF@
4 CC=@CC@
5 CFLAGS=@CFLAGS@
6 DEFS=@DEFS@
7 LIBOBJS=@LIBOBJS@
8 LIBS=@LIBS@
9 srcdir=@srcdir@
10
11 # End of configuration section
12
13 all: webserver webcit
14
15
16 clean:
17         rm -f *.o webcit webserver
18
19 distclean: clean
20         rm -f Makefile config.cache config.log config.status
21
22
23 webserver: webserver.o context_loop.o tools.o cookie_conversion.o $(LIBOBJS)
24         $(CC) webserver.o context_loop.o tools.o cookie_conversion.o \
25         $(LIBOBJS) $(LIBS) -o webserver
26
27 webserver.o: webserver.c webcit.h
28         $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT -DWEBCITDIR=\"`pwd`\" webserver.c
29
30 context_loop.o: context_loop.c webcit.h webserver.h
31         $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT context_loop.c
32
33 snprintf.o: snprintf.c
34         $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT snprintf.c
35
36
37
38 webcit: webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
39         roomops.o tools.o messages.o userlist.o paging.o sysmsgs.o \
40         mime_parser.o graphics.o netconf.o cookie_conversion.o siteconfig.o
41         $(CC) webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
42         tools.o roomops.o messages.o userlist.o paging.o sysmsgs.o siteconfig.o \
43         mime_parser.o graphics.o netconf.o cookie_conversion.o -o webcit
44
45 webcit.o: webcit.c webcit.h child.h
46         $(CC) $(CFLAGS) $(DEFS) -c webcit.c
47
48 auth.o: auth.c webcit.h child.h
49         $(CC) $(CFLAGS) $(DEFS) -c auth.c
50
51 tcp_sockets.o: tcp_sockets.c webcit.h
52         $(CC) $(CFLAGS) $(DEFS) -c tcp_sockets.c
53
54 mainmenu.o: mainmenu.c webcit.h child.h
55         $(CC) $(CFLAGS) $(DEFS) -c mainmenu.c
56
57 serv_func.o: serv_func.c webcit.h child.h
58         $(CC) $(CFLAGS) $(DEFS) -c serv_func.c
59
60 who.o: who.c webcit.h child.h
61         $(CC) $(CFLAGS) $(DEFS) -c who.c
62
63 userlist.o: userlist.c webcit.h child.h
64         $(CC) $(CFLAGS) $(DEFS) -c userlist.c
65
66 tools.o: tools.c webcit.h
67         $(CC) $(CFLAGS) $(DEFS) -c tools.c
68
69 roomops.o: roomops.c webcit.h child.h
70         $(CC) $(CFLAGS) $(DEFS) -c roomops.c
71
72 messages.o: messages.c webcit.h child.h
73         $(CC) $(CFLAGS) $(DEFS) -c messages.c
74
75 graphics.o: graphics.c webcit.h child.h
76         $(CC) $(CFLAGS) $(DEFS) -c graphics.c
77
78 paging.o: paging.c webcit.h child.h
79         $(CC) $(CFLAGS) $(DEFS) -c paging.c
80
81 sysmsgs.o: sysmsgs.c webcit.h child.h
82         $(CC) $(CFLAGS) $(DEFS) -c sysmsgs.c
83
84 mime_parser.o: mime_parser.c webcit.h child.h mime_parser.h
85         $(CC) $(CFLAGS) $(DEFS) -c mime_parser.c
86
87 cookie_conversion.o: cookie_conversion.c webcit.h child.h
88         $(CC) $(CFLAGS) $(DEFS) -c cookie_conversion.c
89
90 siteconfig.o: siteconfig.c webcit.h child.h
91         $(CC) $(CFLAGS) $(DEFS) -c siteconfig.c
92
93 netconf.o: netconf.c webcit.h child.h
94         $(CC) $(CFLAGS) $(DEFS) -c netconf.c
95
96 Makefile: $(srcdir)/Makefile.in config.status
97         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
98
99 config.status: $(srcdir)/configure
100         $(SHELL) ./config.status --recheck
101
102 $(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
103         cd $(srcdir) && $(AUTOCONF)