diff options
Diffstat (limited to 'devel/cocktail/files/patch-specs-c-sql-Makefile')
-rw-r--r-- | devel/cocktail/files/patch-specs-c-sql-Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/cocktail/files/patch-specs-c-sql-Makefile b/devel/cocktail/files/patch-specs-c-sql-Makefile new file mode 100644 index 000000000000..79a3aaeaac3f --- /dev/null +++ b/devel/cocktail/files/patch-specs-c-sql-Makefile @@ -0,0 +1,36 @@ +--- ../../work/cocktail-9309//./specs/c/sql/Makefile Tue Feb 15 14:28:39 1994 ++++ ./specs/c/sql/Makefile Wed Mar 31 23:03:58 2004 +@@ -1,7 +1,3 @@ +-LIB = $(HOME)/lib +-INCDIR = $(LIB)/include +-CFLAGS = -I$(INCDIR) +-CC = cc + + ParserDrv: ParserDrv.o Scanner.o Parser.o + $(CC) $(CFLAGS) ParserDrv.o Scanner.o Parser.o $(LIB)/libreuse.a -o ParserDrv +@@ -10,13 +6,13 @@ + lpp -cxzj sql.pars; + + sql.rex: sql.scan Scanner.rpp +- rpp < sql.scan > sql.rex; ++ $(RPP) < sql.scan > sql.rex; + + Scanner.h Scanner.c: sql.rex +- rex -cd sql.rex; ++ $(REX) -cd sql.rex; + + Parser.h Parser.c ParserDrv.c: Parser.lalr +- lalr -c -d -p -cs Parser.lalr; ++ $(LALR) -c -d -p -cs Parser.lalr; + + ParserDrv.o: Parser.h Scanner.h + Parser.o: Parser.h Scanner.h +@@ -28,7 +24,4 @@ + clean: + rm -f ParserDrv core *.[hco] _Debug sql.rex Parser.lalr Scanner.rpp + +-.SUFFIXES: .c .o +- +-.c.o: +- $(CC) $(CFLAGS) -c $*.c ++.include "../../../Makefile.inc" |