From: Marco van Wieringen Date: Wed, 23 Dec 2009 20:43:01 +0000 (+0100) Subject: Fix depend for changes to SRC variables. X-Git-Tag: Release-5.0.0~123 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=74f3e1b31857dfa69cffd6ac3ae8cdfd7860a114;p=bacula%2Fbacula Fix depend for changes to SRC variables. --- diff --git a/bacula/src/cats/Makefile.in b/bacula/src/cats/Makefile.in index 5ed376f990..e39266f687 100644 --- a/bacula/src/cats/Makefile.in +++ b/bacula/src/cats/Makefile.in @@ -186,7 +186,7 @@ depend: @$(MV) Makefile Makefile.bak @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile - @for src in $(LIBSRCS); do \ + @for src in $(LIBBACSQL_SRCS); do \ $(CXX) -S -M -MT `basename $$src .c`$(DEFAULT_OBJECT_TYPE) $(CPPFLAGS) $(XINC) -I$(srcdir) -I$(basedir) $(SQL_INC) $$src >> Makefile; \ done @if test -f Makefile ; then \ diff --git a/bacula/src/findlib/Makefile.in b/bacula/src/findlib/Makefile.in index b77993b14f..cc7b4bde80 100644 --- a/bacula/src/findlib/Makefile.in +++ b/bacula/src/findlib/Makefile.in @@ -115,7 +115,7 @@ depend: @$(MV) Makefile Makefile.bak @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile - @for src in $(LIBSRCS); do \ + @for src in $(LIBBACFIND_SRCS); do \ $(CXX) -S -M -MT `basename $$src .c`$(DEFAULT_OBJECT_TYPE) $(CPPFLAGS) $(XINC) -I$(srcdir) -I$(basedir) $(SQL_INC) $$src >> Makefile; \ done @if test -f Makefile ; then \