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-5.0.2~175 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cbea677bf7f3027359c0e322a35b0de9b1af17f2;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 76f8a61978..2ad0078d72 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 $@ ..."