8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00

Hope this fixes the POSIX build.

This commit is contained in:
asfernandes 2013-08-23 15:37:20 +00:00
parent 2df79f7c23
commit b313573a42

View File

@ -41,15 +41,14 @@
# This rule creates parse.cpp from parse.y
$(SRC_ROOT)/include/gen/parse.h: $(SRC_ROOT)/dsql/parse.y $(SRC_ROOT)/dsql/btyacc_fb.ske
$(OBJ)/dsql/parse.cpp: $(SRC_ROOT)/include/gen/parse.h
$(OBJ)/dsql/parse.cpp $(SRC_ROOT)/include/gen/parse.h: $(SRC_ROOT)/dsql/parse.y $(SRC_ROOT)/dsql/btyacc_fb.ske
sed -n '/%type .*/p' < $< > $(GEN_ROOT)/types.y
sed 's/%type .*//' < $< > $(GEN_ROOT)/y.y
$(BTYACC) -l -d -S $(SRC_ROOT)/dsql/btyacc_fb.ske $(GEN_ROOT)/y.y
$(MV) $(GEN_ROOT)/y_tab.c $(OBJ)/dsql/parse.cpp
$(MV) $(GEN_ROOT)/y_tab.h $(SRC_ROOT)/include/gen/parse.h
$(OBJ)/dsql/parse.cpp: $(SRC_ROOT)/include/gen/parse.h
# gpre_meta needs a special boot build since there is no database.