X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=67ba7d6100a42a3baa331ef1ae5ddb94911195ea;hp=c9eb46fd9f98578e93f1882fed74a0e0788bb70c;hb=1996c7f692a3d99586ef145d9f30d4a83cededc1;hpb=a041c8f444140dca47109371c4ede6b32b33be60 diff --git a/Makefile.in b/Makefile.in index c9eb46fd..67ba7d61 100644 --- a/Makefile.in +++ b/Makefile.in @@ -93,7 +93,6 @@ tarball_add := $(gengetopts_c) $(gengetopts_h) $(autocrap) all: $(BINARIES) 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 \ close_on_fork.o string.o stat.o fd.o dbadm_objs = dbadm.o exec.o close_on_fork.o string.o @@ -133,6 +132,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";; \ @@ -172,8 +177,8 @@ para_filter: @filter_objs@ para_slider: $(slider_objs) $(CC) $(slider_objs) -o $@ @GTK_LIBS@ @GLIB_LIBS@ -lzmw -para_client: $(client_objs) - $(CC) -o $@ $(client_objs) $(SSL_LDFLAGS) $(SSL_LIBS) +para_client: @client_objs@ + $(CC) -o $@ @client_objs@ @client_ldflags@ para_gui: @gui_objs@ $(CC) -o $@ @gui_objs@ -lncurses @@ -242,7 +247,7 @@ install: all ChangeLog: para_util changelog > $@ web/%.in.html: % - grutatxt -nb < $< > $@ + grutatxt -nb < $< | sed -e 's/pre/p/g' -e 's/class=level3//g' > $@ tags: rm -rf web/sync/HTML && gtags && htags -nF && mv HTML web/sync doc: