X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.real;h=fb99679a0b1da2b62994be493b2d67f75a942d28;hp=9ba29774c9d16949cae8a3ae23ea3e01f18b7095;hb=92f150d622efe2423c610676f9e7b196391df436;hpb=feb3f00938a717061e0b41e76f4c68cdac9a17f7 diff --git a/Makefile.real b/Makefile.real index 9ba29774..fb99679a 100644 --- a/Makefile.real +++ b/Makefile.real @@ -51,7 +51,7 @@ play_objs := $(addprefix $(object_dir)/, $(play_objs)) man_pages := $(patsubst %, $(man_dir)/%.1, $(prefixed_executables)) autocrap := config.h.in configure -tarball_pfx := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) +tarball_pfx := $(PACKAGE_TARNAME)-$(shell git describe --dirty) tarball_delete := $(addprefix $(tarball_pfx)/, web .gitignore) tarball := $(tarball_pfx).tar.bz2 @@ -190,11 +190,19 @@ $(object_dir)/%.o: %.c | $(object_dir) $(object_dir)/opus%.o $(dep_dir)/opus%.d: CPPFLAGS += $(opus_cppflags) $(object_dir)/gui%.o $(dep_dir)/gui%.d: CPPFLAGS += $(curses_cppflags) $(object_dir)/spx%.o $(dep_dir)/spx%.d: CPPFLAGS += $(speex_cppflags) +$(object_dir)/flac%.o $(dep_dir)/flac%.d: CPPFLAGS += $(flac_cppflags) + $(object_dir)/mp3_afh.o $(dep_dir)/mp3_afh.d: CPPFLAGS += $(id3tag_cppflags) $(object_dir)/crypt.o $(dep_dir)/crypt.d: CPPFLAGS += $(openssl_cppflags) $(object_dir)/gcrypt.o $(dep_dir)/gcrypt.d: CPPFLAGS += $(gcrypt_cppflags) $(object_dir)/ao_write.o $(dep_dir)/ao_write.d: CPPFLAGS += $(ao_cppflags) +$(object_dir)/interactive.o $(dep_dir)/interactive.d \ +: CPPFLAGS += $(readline_cppflags) + +$(object_dir)/resample_filter.o $(dep_dir)/resample_filter.d \ +: CPPFLAGS += $(samplerate_cppflags) + $(object_dir)/mp3dec_filter.o $(dep_dir)/mp3dec_filter.d \ : CPPFLAGS += $(mad_cppflags) @@ -320,12 +328,12 @@ clean2: clean distclean: clean2 test-clean @[ -z "$(Q)" ] || echo 'DISTCLEAN' $(Q) rm -f Makefile autoscan.log config.status config.log error2.h - $(Q) rm -rf autom4te.cache $(Q) rm -f GPATH GRTAGS GSYMS GTAGS maintainer-clean: distclean - rm -f *.tar.bz2 config.h configure config.h.in - rm -rf web_sync + @[ -z "$(Q)" ] || echo 'MAINTAINER-CLEAN' + $(Q) rm -f *.tar.bz2 config.h configure config.h.in + $(Q) rm -rf web_sync install: all man $(MKDIR_P) $(BINDIR) $(MANDIR) @@ -344,4 +352,5 @@ $(tarball): $(Q) tar rf $(tarball_pfx).tar $(tarball_pfx)/* $(Q) bzip2 -9 $(tarball_pfx).tar $(Q) ls -l $(tarball) + $(Q) ln -sf $(tarball) paraslash-git.tar.bz2 $(Q) rm -rf $(tarball_pfx)