PACKAGE_VERSION := @PACKAGE_VERSION@
PACKAGE_STRING := @PACKAGE_STRING@
install_sh := @install_sh@
-cmdline_dir := @cmdline_dir@
executables := @executables@
GENGETOPT := @gengetopt@
GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h)
+ggo_dir := ggo
+object_dir := objects
+man_dir := man/man1
+test_dir := t
+cmdline_dir := cmdline
+
DEBUG_CPPFLAGS += -g -Wunused -Wundef -W
DEBUG_CPPFLAGS += -Wredundant-decls
DEBUG_CPPFLAGS += -Wall -Wno-sign-compare -Wno-unknown-pragmas
man_pages := $(patsubst %, man/man1/%.1, @executables@)
-ggo_dir := ggo
-object_dir := objects
-man_dir := man/man1
-test_dir := t
-
m4_ggos := afh audioc audiod client filter gui recv server write ao_write
ggo_generated := $(addsuffix .ggo, $(addprefix $(ggo_dir)/,$(m4_ggos)))
strncasecmp strrchr strspn alarm mkdir inet_ntoa socket], [],
[AC_MSG_ERROR([function not found, cannot live without it])])
-cmdline_dir="cmdline"
-AC_SUBST(cmdline_dir)
AC_DEFUN([add_cmdline],[$(for i in $@; do printf "${i}.cmdline "; done)])