]> code.citadel.org Git - citadel.git/blobdiff - webcit/Makefile.in
converted comments to get caught by doxygen
[citadel.git] / webcit / Makefile.in
index e337a83d39728e5310ace4e5f0b700b881ff6f35..b6cdbaa6d280b011efe5328e409190f80448cb08 100644 (file)
@@ -16,7 +16,7 @@ prefix=@prefix@
 top_builddir=`pwd`
 
 LIB_SUBDIRS=
-PROG_SUBDIRS=po
+PROG_SUBDIRS=@PROG_SUBDIRS@
 SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS) 
 
 # End of configuration section
@@ -24,13 +24,15 @@ SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS)
 all: all-progs-recursive webserver setup
 
 
-.SUFFIXES: .c .o
+.SUFFIXES: .cpp .c .o
 
 clean:
        rm -f *.o webcit webserver
+       rm -fr locale/*
 
 distclean: clean
-       rm -f Makefile config.cache config.log config.status\
+       rm -f Makefile config.cache config.log config.status \
+               po/Makefile \
                $(srcdir)/TAGS
 
 setup: setup.o tools.o
@@ -46,7 +48,7 @@ webserver: webserver.o context_loop.o tools.o ical_dezonify.o \
        calendar.o calendar_tools.o calendar_view.o event.o \
        availability.o iconbar.o crypto.o inetconf.o notes.o \
        groupdav_main.o groupdav_get.o groupdav_propfind.o fmt_date.o \
-       groupdav_options.o autocompletion.o \
+       groupdav_options.o autocompletion.o gettext.o tabs.o \
        groupdav_delete.o groupdav_put.o http_datestring.o setup_wizard.o \
        $(LIBOBJS)
        $(CC) webserver.o context_loop.o tools.o cookie_conversion.o \
@@ -57,20 +59,24 @@ webserver: webserver.o context_loop.o tools.o ical_dezonify.o \
        summary.o calendar.o calendar_tools.o calendar_view.o event.o \
        availability.o ical_dezonify.o iconbar.o crypto.o inetconf.o notes.o \
        groupdav_main.o groupdav_get.o groupdav_propfind.o groupdav_delete.o \
-       groupdav_options.o autocompletion.o \
+       groupdav_options.o autocompletion.o tabs.o \
        groupdav_put.o http_datestring.o setup_wizard.o fmt_date.o \
+       gettext.o \
        $(LIBOBJS) $(LIBS) $(LDFLAGS) -o webserver
 
 .c.o:
        $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) -DWEBCITDIR=\"$(prefix)\" -DLOCALEDIR=\"$(prefix)/locale\" $<
 
+.cpp.o:
+       $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) -DWEBCITDIR=\"$(prefix)\" -DLOCALEDIR=\"$(prefix)/locale\" $<
+
 Makefile: $(srcdir)/Makefile.in config.status
        CONFIG_FILES="Makefile" CONFIG_HEADERS= $(SHELL) ./config.status
 
 config.status: $(srcdir)/configure
        $(SHELL) ./config.status --recheck
 
-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
+$(srcdir)/configure: $(srcdir)/configure.in
        cd $(srcdir) && $(AUTOCONF)
 
 install:
@@ -80,11 +86,16 @@ install:
                ; do \
                test -d $(root)$(prefix)/$$i || mkdir $(root)$(prefix)/$$i; \
        done
+       for i in `find locale -type d | grep -v .svn` \
+               ; do \
+               test -d $(root)$(prefix)/$$i || mkdir $(root)$(prefix)/$$i; \
+       done
        for i in \
                webserver \
                setup \
                `find static -type f | grep -v .svn` \
                `find tiny_mce -type f | grep -v .svn` \
+               `find locale -type f | grep -v .svn` \
                ; do \
                $(INSTALL) $$i $(root)$(prefix)/$$i; \
        done