X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=baae37b20433ee4d75696a4a52f536f798b5e198;hp=3831e1c461ca38be977ce7128376e4f6872161cc;hb=35993f0cd49206666262cfdd2be89af41ec28a1d;hpb=97e3deb06e0dd2e63520c2dc0736e753e1276fde diff --git a/Makefile.in b/Makefile.in index 3831e1c4..baae37b2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -12,7 +12,7 @@ build_date := $(shell date) uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS") uname_rs := $(shell uname -rs) cc_version := $(shell $(CC) --version | head -n 1) -codename := axiomatic perspectivity +codename := elliptic inheritance DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W DEBUG_CPPFLAGS += -Wredundant-decls @@ -46,6 +46,7 @@ CPPFLAGS += -DCODENAME='"$(codename)"' CPPFLAGS += -DCC_VERSION='"$(cc_version)"' CPPFLAGS += -Werror-implicit-function-declaration CPPFLAGS += -Wmissing-format-attribute +CPPFLAGS += -Wmissing-noreturn CPPFLAGS += -Wunused-macros CPPFLAGS += -Wbad-function-cast CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F) @@ -58,9 +59,10 @@ BINARIES = para_server para_client para_audioc para_recv \ man_binaries := $(BINARIES) man_pages := $(patsubst %, man/man1/%.1, $(man_binaries)) man_pages_in := $(patsubst %, web/%.man.in.html, $(man_binaries)) -gengetopts := $(wildcard *.ggo) -gengetopts_c := $(gengetopts:.ggo=.cmdline.c) -gengetopts_h := $(gengetopts:.ggo=.cmdline.h) +ggo_dir := ggo +gengetopts := $(wildcard $(ggo_dir)/*.ggo) +gengetopts_c := $(patsubst %/,, $(gengetopts:.ggo=.cmdline.c)) +gengetopts_h := $(patsubst %/,, $(gengetopts:.ggo=.cmdline.h)) autocrap := config.h.in configure tarball_pfx := @PACKAGE_TARNAME@-@PACKAGE_VERSION@ tarball_delete = web versions pics .changelog_before_cvs .changelog_cvs .gitignore @@ -79,7 +81,7 @@ include Makefile.deps module_ggo_opts := --set-version="(@PACKAGE_STRING@, $(codename))" -grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo +grab_client.cmdline.h grab_client.cmdline.c: $(ggo_dir)/grab_client.ggo gengetopt $(module_ggo_opts) \ -S \ --set-package=grab \ @@ -87,36 +89,40 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo --no-handle-error \ --no-handle-version \ --arg-struct-name=grab_client_args_info \ - --file-name=$(subst .ggo,,$<).cmdline \ - --func-name $(subst .ggo,,$<)_cmdline_parser < $< + --file-name=$(subst .ggo,,$( $@ +man/man1/para_filter.1: para_filter + mkdir -p man/man1 + help2man -h --detailed-help -N ./$< > $@ + +man/man1/para_write.1: para_write + mkdir -p man/man1 + help2man -h --detailed-help -N ./$< > $@ + +man/man1/para_recv.1: para_recv + mkdir -p man/man1 + help2man -h --detailed-help -N ./$< > $@ + man/man1/%.1: % mkdir -p man/man1 help2man -N ./$< > $@ @@ -154,21 +172,15 @@ web/%.man.in.html: man/man1/%.1 man2html $< | sed -e '/^<\/BODY>/,$$d' -e '1,/<\/HEAD>/d' > $@ -ortp_recv.o: ortp_recv.c - $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @ortp_cppflags@ $< - -ortp_send.o: ortp_send.c - $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @ortp_cppflags@ $< - -oggdec.o: oggdec.c +oggdec_filter.o: oggdec_filter.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @oggvorbis_cppflags@ $< ogg_afh.o: ogg_afh.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @oggvorbis_cppflags@ $< -mp3dec.o: mp3dec.c +mp3dec_filter.o: mp3dec_filter.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @mad_cppflags@ $< -aacdec.o: aacdec.c +aacdec_filter.o: aacdec_filter.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $< aac_common.o: aac_common.c