12 SETUP_LIBS
=@SETUP_LIBS@
13 PTHREAD_DEFS
=@PTHREAD_DEFS@
18 PROG_SUBDIRS
=@PROG_SUBDIRS@
19 SUBDIRS
=$(LIB_SUBDIRS
) $(PROG_SUBDIRS
)
23 # End of configuration section
25 all: all-progs-recursive webcit setup
31 rm -f
*.o webcit webcit setup
35 rm -f Makefile config.cache config.log config.status \
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 \
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 \
74 $(CC
) $(CFLAGS
) $(DEFS
) -c
$(PTHREAD_DEFS
) $<
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
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
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; \
114 test -d
$(DESTDIR
)$(WWWDIR
)/static || mkdir
-p
$(DESTDIR
)$(WWWDIR
)/static
115 for i in
`find tiny_mce -type d | grep -v .svn` \
117 test -d
$(DESTDIR
)$(WWWDIR
)/$$i || mkdir
-p
$(DESTDIR
)$(WWWDIR
)/$$i; \
120 `find tiny_mce -type f | grep -v .svn` \
122 $(INSTALL
) $$i $(DESTDIR
)$(WWWDIR
)/$$i; \
127 for i in
`find locale -type d | grep -v .svn` \
129 test -d
$(DESTDIR
)$(LOCALEDIR
)/$$i || mkdir
-p
$(DESTDIR
)$(LOCALEDIR
)/$$i; \
131 for i in
`find locale -type f | grep -v .svn`; do \
132 $(INSTALL
) $$i $(DESTDIR
)$(LOCALEDIR
)/$$i; \
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; \
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; \
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; \