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)))
-
autocrap := config.h.in configure
tarball_pfx := @PACKAGE_TARNAME@-$(PACKAGE_VERSION)
tarball_delete := $(addprefix $(tarball_pfx)/,\
- web versions .changelog_before_cvs .changelog_cvs .gitignore\
+ web .changelog_before_cvs .changelog_cvs .gitignore\
skencil)
tarball := @PACKAGE_TARNAME@-$(PACKAGE_VERSION).tar.bz2
clean2: clean
@[ -z "$(Q)" ] || echo 'CLEAN2'
$(Q) rm -rf man $(object_dir) $(cmdline_dir)
- $(Q) rm -f *_command_list.* *_completion.h $(ggo_generated)
+ $(Q) rm -f *_command_list.* *_completion.h $(ggo_dir)/*.ggo
distclean: clean2 test-clean
@[ -z "$(Q)" ] || echo 'DISTCLEAN'
$(Q) rm -f Makefile autoscan.log config.status config.log