X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=baae37b20433ee4d75696a4a52f536f798b5e198;hp=4e6ef96258b4f7c2fcf4ee324d0a6ac4b4ae7b01;hb=35993f0cd49206666262cfdd2be89af41ec28a1d;hpb=40de1dd2fdbb054444d585aa70e2d50166a66e07 diff --git a/Makefile.in b/Makefile.in index 4e6ef962..baae37b2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,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 @@ -80,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 \ @@ -88,31 +89,31 @@ 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,,$(/,$$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_filter.o: oggdec_filter.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @oggvorbis_cppflags@ $< ogg_afh.o: ogg_afh.c