Fixed some missing dependencies and worked around a bug in the Debian version

of echo command in make.


git-svn-id: http://yate.null.ro/svn/yate/trunk@111 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2004-11-10 17:51:54 +00:00
parent 77c721472e
commit 25aff35374
1 changed files with 9 additions and 2 deletions

View File

@ -97,8 +97,9 @@ tables: @srcdir@/tables/all.h
@srcdir@/tables/all.h:
$(MAKE) -C @srcdir@/tables -f Makefile.tables all
yatepaths.h:
@echo -en '#define MOD_PATH "$(DESTDIR)$(moddir)"\n#define CFG_PATH "$(DESTDIR)$(confdir)"\n' > $@
yatepaths.h: Makefile
@echo '#define MOD_PATH "$(DESTDIR)$(moddir)"' > $@
@echo '#define CFG_PATH "$(DESTDIR)$(confdir)"' >> $@
.PHONY: everything
everything: all apidocs test
@ -183,6 +184,12 @@ snapshot tarball: check-topdir clean tables apidocs
check-topdir:
@test -f configure || (echo "Must make this target in the top source directory"; exit 1)
Engine.o: @srcdir@/Engine.cpp @srcdir@/telengine.h yatepaths.h
$(COMPILE) -c $<
DataBlock.o: @srcdir@/DataBlock.cpp @srcdir@/telengine.h @srcdir@/telephony.h
$(COMPILE) -c $<
%.o: @srcdir@/%.cpp @srcdir@/telengine.h
$(COMPILE) -c $<