* Reduced iconbar button size to 90% because it looked obtuse on a smaller screen
[citadel.git] / webcit / Makefile.in
blobd75761da0b757754a0c121b099789c5da664f9bd
1 # $Id$
3 AUTOCONF=@AUTOCONF@
4 CC=@CC@
5 CFLAGS=@CFLAGS@
6 DEFS=@DEFS@
7 INSTALL=@INSTALL@
8 LIBOBJS=@LIBOBJS@
9 LIBS=@LIBS@
10 LDFLAGS=@LDFLAGS@
11 SED=@SED@
12 SETUP_LIBS=@SETUP_LIBS@
13 PTHREAD_DEFS=@PTHREAD_DEFS@
14 srcdir=@srcdir@
15 prefix=@prefix@
16 top_builddir=`pwd`
17 LIB_SUBDIRS=
18 PROG_SUBDIRS=@PROG_SUBDIRS@
19 SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS)
20 LOCALEDIR=@LOCALEDIR@
21 WWWDIR=@WWWDIR@
23 # End of configuration section
25 all: all-progs-recursive webcit setup
28 .SUFFIXES: .cpp .c .o
30 clean:
31 rm -f *.o webcit webcit setup
32 rm -fr locale/*
34 distclean: clean
35 rm -f Makefile config.cache config.log config.status \
36 po/Makefile \
37 $(srcdir)/TAGS
39 setup: setup.o gettext.o
40 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) $(SETUP_LIBS) \
41 gettext.o setup.o -o setup
43 webcit: webserver.o context_loop.o ical_dezonify.o \
44 cookie_conversion.o locate_host.o floors.o summary.o \
45 webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
46 roomops.o messages.o msg_renderers.o userlist.o paging.o sysmsgs.o \
47 useredit.o vcard_edit.o preferences.o html2html.o listsub.o \
48 graphics.o netconf.o siteconfig.o subst.o rss.o \
49 calendar.o calendar_tools.o calendar_view.o event.o smtpqueue.o \
50 availability.o iconbar.o crypto.o inetconf.o notes.o wiki.o \
51 groupdav_main.o groupdav_get.o groupdav_propfind.o fmt_date.o \
52 groupdav_options.o autocompletion.o gettext.o tabs.o sieve.o \
53 groupdav_delete.o groupdav_put.o http_datestring.o setup_wizard.o \
54 downloads.o addressbook_popup.o pushemail.o sysdep.o openid.o \
55 decode.o modules_init.o paramhandling.o utils.o \
56 $(LIBOBJS)
57 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
58 webserver.o context_loop.o cookie_conversion.o \
59 webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o listsub.o \
60 roomops.o messages.o msg_renderers.o userlist.o paging.o sysmsgs.o \
61 useredit.o locate_host.o siteconfig.o subst.o vcard_edit.o floors.o \
62 graphics.o netconf.o preferences.o html2html.o rss.o openid.o \
63 summary.o calendar.o calendar_tools.o calendar_view.o event.o wiki.o \
64 availability.o ical_dezonify.o iconbar.o crypto.o inetconf.o notes.o \
65 groupdav_main.o groupdav_get.o groupdav_propfind.o groupdav_delete.o \
66 groupdav_options.o autocompletion.o tabs.o smtpqueue.o sieve.o \
67 groupdav_put.o http_datestring.o setup_wizard.o fmt_date.o modules_init.o \
68 gettext.o downloads.o addressbook_popup.o pushemail.o sysdep.o decode.o \
69 paramhandling.o utils.o \
70 -o webcit \
71 $(LIBS)
73 .c.o:
74 $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) $<
76 .cpp.o:
77 $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) $<
79 Makefile: $(srcdir)/Makefile.in config.status
80 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
82 config.status: $(srcdir)/configure
83 $(SHELL) ./config.status --recheck
85 $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
86 cd $(srcdir) && $(AUTOCONF)
88 $(srcdir)/aclocal.m4: $(srcdir)/acinclude.m4
89 cd $(srcdir) && $(ACLOCAL)
91 install: install-bin install-setupbin install-wwwdata install-tinymce install-locale
93 install-bin:
94 test -d $(DESTDIR)$(prefix) || mkdir -p $(DESTDIR)$(prefix)
95 $(INSTALL) webcit $(DESTDIR)$(prefix)/webcit
96 if test -f $(DESTDIR)$(prefix)/webserver; then \
97 rm -f $(DESTDIR)$(prefix)/webserver; \
98 ln -s $(DESTDIR)$(prefix)/webcit $(DESTDIR)$(prefix)/webserver; \
102 install-setupbin: install-bin
103 $(INSTALL) setup $(DESTDIR)$(prefix)/setup
106 install-wwwdata:
107 test -d $(DESTDIR)$(WWWDIR)/static.local/t || mkdir -p $(DESTDIR)$(WWWDIR)/static.local/t
108 test -d $(DESTDIR)$(WWWDIR)/static/t || mkdir -p $(DESTDIR)$(WWWDIR)/static/t
109 for i in `find static -type f | grep -v .svn`; do \
110 $(INSTALL) $$i $(DESTDIR)$(WWWDIR)/$$i; \
111 done
113 install-tinymce:
114 test -d $(DESTDIR)$(WWWDIR)/static || mkdir -p $(DESTDIR)$(WWWDIR)/static
115 for i in `find tiny_mce -type d | grep -v .svn` \
116 ; do \
117 test -d $(DESTDIR)$(WWWDIR)/$$i || mkdir -p $(DESTDIR)$(WWWDIR)/$$i; \
118 done
119 for i in \
120 `find tiny_mce -type f | grep -v .svn` \
121 ; do \
122 $(INSTALL) $$i $(DESTDIR)$(WWWDIR)/$$i; \
123 done
125 install-locale:
126 cd po; make
127 for i in `find locale -type d | grep -v .svn` \
128 ; do \
129 test -d $(DESTDIR)$(LOCALEDIR)/$$i || mkdir -p $(DESTDIR)$(LOCALEDIR)/$$i; \
130 done
131 for i in `find locale -type f | grep -v .svn`; do \
132 $(INSTALL) $$i $(DESTDIR)$(LOCALEDIR)/$$i; \
133 done
135 TAGS clean-recursive distclean-recursive depend-recursive check-recursive \
136 mostlyclean-recursive realclean-recursive:
137 @for subdir in $(SUBDIRS); do \
138 if test -d $$subdir ; then \
139 target=`echo $@|$(SED) 's/-recursive//'`; \
140 echo making $$target in $$subdir; \
141 (cd $$subdir && $(MAKE) $$target) || exit 1; \
142 fi ; \
143 done
145 all-progs-recursive install-progs-recursive install-strip-progs-recursive \
146 uninstall-progs-recursive:
147 # @for subdir in $(PROG_SUBDIRS); do \
148 # if test -d $$subdir ; then \
149 # target=`echo $@|$(SED) 's/-progs-recursive//'`; \
150 # echo making $$target in $$subdir; \
151 # (cd $$subdir && $(MAKE) $$target) || exit 1; \
152 # fi ; \
153 # done
155 all-libs-recursive install-libs-recursive install-strip-libs-recursive \
156 uninstall-libs-recursive install-shlibs-libs-recursive \
157 install-shlibs-strip-libs-recursive uninstall-shlibs-libs-recursive:
158 # @for subdir in $(LIB_SUBDIRS); do \
159 # if test -d $$subdir ; then \
160 # target=`echo $@|$(SED) 's/-libs-recursive//'`; \
161 # echo making $$target in $$subdir; \
162 # (cd $$subdir && $(MAKE) $$target) || exit 1; \
163 # fi ; \
164 # done