http_recv: set the eof flag on buffer overruns.
[paraslash.git] / Makefile.in
index c65c2d81ccb82b87fd08e9f84d2abd2a9fffe8a1..122103965e21f02b51c70337f0c69d2f1b70e08b 100644 (file)
@@ -91,7 +91,7 @@ tarball_add := $(gengetopts_c) $(gengetopts_h) $(autocrap)
 
 .PHONY: clean distclean maintainer-clean install html www tags ChangeLog doxygen
 all: $(BINARIES)
-www: $(gen_html) $(gruta_html) $(web_pics) $(web_misc) $(shots) tags doxygen
+www: $(gen_html) $(gruta_html) $(web_pics) $(web_misc) $(shots) tags doxygen doc
 
 client_objs = client.cmdline.o client.o net.o string.o crypt.o
 sdl_gui_objs = sdl_gui.cmdline.o SFont.o sdl_gui.o gui_common.o exec.o \
@@ -111,6 +111,7 @@ module_ggo_opts := --set-version="(@PACKAGE_STRING@, $(codename))"
 
 grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo
        gengetopt $(module_ggo_opts) \
+               -S \
                --set-package=grab \
                --no-handle-help \
                --no-handle-error \
@@ -132,6 +133,12 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo
                --arg-struct-name=$(subst .ggo,,$<)_args_info \
                --file-name=$(subst .ggo,,$<).cmdline \
                --func-name $(subst _filter.ggo,,$<)_cmdline_parser < $<
+%_write.cmdline.h %_write.cmdline.c: %_write.ggo
+       gengetopt -S $(module_ggo_opts) \
+               --set-package=$(subst .ggo,,$<) \
+               --arg-struct-name=$(subst .ggo,,$<)_args_info \
+               --file-name=$(subst .ggo,,$<).cmdline \
+               --func-name $(subst _write.ggo,,$<)_cmdline_parser < $<
 
 %.cmdline.h %.cmdline.c: %.ggo
        case $< in client.ggo) O="--unamed-opts=command";; \
@@ -139,6 +146,15 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo
        esac; \
        gengetopt $$O --conf-parser --file-name=$(*F).cmdline --set-package="para_$(subst .cmdline,,$(*F))" --set-version="$V"  < $<
 
+aacdec.o: aacdec.c
+       $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
+
+aac_common.o: aac_common.c
+       $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
+
+aac_afh.o: aac_afh.c
+       $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
+
 para_recv: @recv_objs@
        $(CC) @recv_objs@ -o $@ @recv_ldflags@
 
@@ -148,6 +164,9 @@ slider.o: slider.c
 krell.o: krell.c
        $(CC) -Wall -O -g -fPIC @GTK_CFLAGS@ -c -o $@ krell.c
 
+mysql_selector.o: mysql_selector.c
+       $(CC)  -Wall -O -g @mysql_cppflags@ -c -o $@ $<
+
 %.cmdline.o: %.cmdline.c
        $(CC) -c $(CPPFLAGS) $<
 %.o: %.c
@@ -240,8 +259,8 @@ web/header2.html: web/header.html
 doxygen: web/header2.html
        mkdir -p web/sync/doxygen
        doxygen
-web/sync/doc/man:
-       mkdir -p $@
+web/sync/doc: doc
+       cp -a $< $@
 web/sync/doxygen:
        mkdir -p $@
 web/sync/%.html: web/%.in.html web/header.html web/footer.html web/sync
@@ -259,7 +278,7 @@ web/sync/versions/paraslash-git.tar.bz2: paraslash-git.tar.bz2 web/sync
 web/sync/overview.pdf: skencil/overview.pdf web/sync
        cp $< $@
 web/sync/%: %
-       cp $< $@
+       cp -a $< $@
 web/sync/%: pics/screenshots/%
        cp $< $@
 skencil/%.ps: skencil/%.sk