11 SETUP_LIBS=@SETUP_LIBS@
12 PTHREAD_DEFS=@PTHREAD_DEFS@
19 SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS)
21 # End of configuration section
23 all: all-progs-recursive webserver setup
29 rm -f *.o webcit webserver
32 rm -f Makefile config.cache config.log config.status\
35 setup: setup.o tools.o
36 $(CC) setup.o tools.o \
37 $(LIBOBJS) $(LIBS) $(LDFLAGS) $(SETUP_LIBS) -o setup
39 webserver: webserver.o context_loop.o tools.o ical_dezonify.o \
40 cookie_conversion.o locate_host.o floors.o summary.o \
41 webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
42 roomops.o messages.o userlist.o paging.o sysmsgs.o useredit.o \
43 vcard.o vcard_edit.o preferences.o html2html.o listsub.o \
44 mime_parser.o graphics.o netconf.o siteconfig.o subst.o rss.o \
45 calendar.o calendar_tools.o calendar_view.o event.o \
46 availability.o iconbar.o crypto.o inetconf.o notes.o \
47 groupdav_main.o groupdav_get.o groupdav_propfind.o fmt_date.o \
48 groupdav_options.o autocompletion.o \
49 groupdav_delete.o groupdav_put.o http_datestring.o setup_wizard.o \
51 $(CC) webserver.o context_loop.o tools.o cookie_conversion.o \
52 webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o listsub.o \
53 roomops.o messages.o userlist.o paging.o sysmsgs.o useredit.o \
54 locate_host.o siteconfig.o subst.o vcard.o vcard_edit.o floors.o \
55 mime_parser.o graphics.o netconf.o preferences.o html2html.o rss.o \
56 summary.o calendar.o calendar_tools.o calendar_view.o event.o \
57 availability.o ical_dezonify.o iconbar.o crypto.o inetconf.o notes.o \
58 groupdav_main.o groupdav_get.o groupdav_propfind.o groupdav_delete.o \
59 groupdav_options.o autocompletion.o \
60 groupdav_put.o http_datestring.o setup_wizard.o fmt_date.o \
61 $(LIBOBJS) $(LIBS) $(LDFLAGS) -o webserver
64 $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) -DWEBCITDIR=\"$(prefix)\" -DLOCALEDIR=\"$(prefix)/locale\" $<
66 Makefile: $(srcdir)/Makefile.in config.status
67 CONFIG_FILES="Makefile po/Makefile" CONFIG_HEADERS= $(SHELL) ./config.status
69 config.status: $(srcdir)/configure
70 $(SHELL) ./config.status --recheck
72 $(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
73 cd $(srcdir) && $(AUTOCONF)
76 test -d $(root)$(prefix) || mkdir $(root)$(prefix)
77 test -d $(root)$(prefix)/static || mkdir $(root)$(prefix)/static
78 for i in `find tiny_mce -type d | grep -v .svn` \
80 test -d $(root)$(prefix)/$$i || mkdir $(root)$(prefix)/$$i; \
85 `find static -type f | grep -v .svn` \
86 `find tiny_mce -type f | grep -v .svn` \
88 $(INSTALL) $$i $(root)$(prefix)/$$i; \
91 TAGS clean-recursive distclean-recursive depend-recursive check-recursive \
92 mostlyclean-recursive realclean-recursive:
93 @for subdir in $(SUBDIRS); do \
94 if test -d $$subdir ; then \
95 target=`echo $@|$(SED) 's/-recursive//'`; \
96 echo making $$target in $$subdir; \
97 (cd $$subdir && $(MAKE) $$target) || exit 1; \
101 all-progs-recursive install-progs-recursive install-strip-progs-recursive \
102 uninstall-progs-recursive:
103 @for subdir in $(PROG_SUBDIRS); do \
104 if test -d $$subdir ; then \
105 target=`echo $@|$(SED) 's/-progs-recursive//'`; \
106 echo making $$target in $$subdir; \
107 (cd $$subdir && $(MAKE) $$target) || exit 1; \
111 all-libs-recursive install-libs-recursive install-strip-libs-recursive \
112 uninstall-libs-recursive install-shlibs-libs-recursive \
113 install-shlibs-strip-libs-recursive uninstall-shlibs-libs-recursive:
114 @for subdir in $(LIB_SUBDIRS); do \
115 if test -d $$subdir ; then \
116 target=`echo $@|$(SED) 's/-libs-recursive//'`; \
117 echo making $$target in $$subdir; \
118 (cd $$subdir && $(MAKE) $$target) || exit 1; \