else
build_dir := build
endif
-ggo_dir := $(build_dir)/ggo
object_dir := $(build_dir)/objects
dep_dir := $(build_dir)/deps
man_dir := $(build_dir)/man/man1
cmdline_dir := $(build_dir)/cmdline
m4depdir := $(build_dir)/m4deps
-help2man_dir := $(build_dir)/help2man
lls_suite_dir := $(build_dir)/lls
lls_m4_dir := m4/lls
test_dir := t
$(audiod_objs) $(audioc_objs) $(fade_objs) $(server_objs) \
$(write_objs) $(afh_objs) $(play_objs))
deps := $(addprefix $(dep_dir)/, $(filter-out %.cmdline.d, $(all_objs:.o=.d)))
-converted_executables := audioc client fade play recv write filter gui afh audiod server
-unconverted_executables := $(filter-out $(converted_executables), $(executables))
afh_objs += afh.lsg.o
audioc_objs += audioc.lsg.o
server_objs += server_cmd.lsg.o server.lsg.o
write_objs += write_cmd.lsg.o write.lsg.o
-m4_deps := $(addprefix $(m4depdir)/, $(addsuffix .m4d, $(unconverted_executables)))
m4_lls_deps := \
audiod_cmd \
server_cmd \
recv_cmd \
filter_cmd \
write_cmd \
- $(converted_executables)
+ $(executables)
m4_lls_deps := $(addprefix $(lls_suite_dir)/, $(addsuffix .m4d, $(m4_lls_deps)))
# now prefix all objects with object dir
include $(test_dir)/makefile.test
ifeq ($(findstring clean, $(MAKECMDGOALS)),)
-include $(deps)
--include $(m4_deps)
-include $(m4_lls_deps)
endif
-$(object_dir) $(man_dir) $(ggo_dir) $(cmdline_dir) $(dep_dir) $(m4depdir) \
- $(help2man_dir) $(lls_suite_dir):
+$(object_dir) $(man_dir) $(cmdline_dir) $(dep_dir) $(m4depdir) $(lls_suite_dir):
$(Q) $(MKDIR_P) $@
CPPFLAGS += -DBINDIR='"$(bindir)"'