X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.real;h=ca758e5003257cb40706042ca447d7ce95a54303;hp=53607d62dccd4c0e2179ee1a93fef8cce64263dc;hb=347cc5d773017d1dfeac0781541b618627cf7bd9;hpb=37b31457f732c1bd84a1489135a3447694b4ff60 diff --git a/Makefile.real b/Makefile.real index 53607d62..ca758e50 100644 --- a/Makefile.real +++ b/Makefile.real @@ -26,16 +26,13 @@ ifeq ("$(origin O)", "command line") 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 -m4_ggo_dir := m4/gengetopt test_dir := t # sort removes duplicate words, which is all we need here @@ -43,8 +40,6 @@ all_objs := $(sort $(recv_objs) $(filter_objs) $(client_objs) $(gui_objs) \ $(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 @@ -59,7 +54,6 @@ recv_objs += recv_cmd.lsg.o recv.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 \ @@ -67,7 +61,7 @@ m4_lls_deps := \ 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 @@ -96,16 +90,13 @@ man: $(man_pages) tarball: $(tarball) include $(lls_m4_dir)/makefile -include $(m4_ggo_dir)/makefile 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)"'