From: Marco van Wieringen Date: Sat, 6 Mar 2010 09:37:11 +0000 (+0100) Subject: Lets not generate the ingres code automatically when the .sc or .sh files changes... X-Git-Tag: Release-7.0.0~2108 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=63845646aff63f8b62ed1ff3ee10ede84510e7b7;p=bacula%2Fbacula Lets not generate the ingres code automatically when the .sc or .sh files changes as it seems these files get outdated on some systems and then this rule kicks in on systems that don't have the esqlcc ingres compiler installed. --- diff --git a/bacula/src/cats/Makefile.in b/bacula/src/cats/Makefile.in index f12ea35950..6101743f66 100644 --- a/bacula/src/cats/Makefile.in +++ b/bacula/src/cats/Makefile.in @@ -56,15 +56,11 @@ all: Makefile libbacsql$(DEFAULT_ARCHIVE_TYPE) @echo "==== Make of sqllib is good ====" @echo " " -myingres.c: myingres.sc - @echo "Generating $@ from $<" - $(NO_ECHO)$(II_SYSTEM)/ingres/bin/esqlcc -extension=c $< - -myingres.h: myingres.sh - @echo "Generating $@ from $<" - $(NO_ECHO)$(II_SYSTEM)/ingres/bin/esqlcc -extension=h $< - -esql: myingres.c myingres.h +esql: + @echo "Generating myingres.c from myingres.sc" + $(NO_ECHO)$(II_SYSTEM)/ingres/bin/esqlcc -extension=c myingres.sc + @echo "Generating myingres.h from myingres.sh" + $(NO_ECHO)$(II_SYSTEM)/ingres/bin/esqlcc -extension=h myingres.sh libbacsql.a: $(LIBBACSQL_OBJS) @echo "Making $@ ..."