mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
-To solve the dsc.h and ibase.h duplicated definitions
Create new dsc_pub.h and include it into ibase.h and dsc.h
This commit is contained in:
parent
3ec8a6fac3
commit
3acf7023dc
@ -4161,6 +4161,11 @@
|
||||
path = dsc.h;
|
||||
refType = 4;
|
||||
};
|
||||
F616C5B60200B0CF01EF0ADE = {
|
||||
isa = PBXFileReference;
|
||||
path = dsc_pub.h;
|
||||
refType = 4;
|
||||
};
|
||||
F616C5B70200B0CF01EF0ADE = {
|
||||
isa = PBXFileReference;
|
||||
path = dsc_proto.h;
|
||||
@ -4553,7 +4558,7 @@
|
||||
};
|
||||
F616C60A0200B0CF01EF0ADE = {
|
||||
isa = PBXFileReference;
|
||||
path = inf.h;
|
||||
path = inf_pub.h;
|
||||
refType = 4;
|
||||
};
|
||||
F616C60B0200B0CF01EF0ADE = {
|
||||
|
@ -361,7 +361,7 @@ fw_files_:
|
||||
headers_:
|
||||
-mkdir -p $(FB_FW)/Versions/A/Headers
|
||||
echo "#ifndef IBASE_H" > $(FW)/Headers/ibase.h
|
||||
cat $(SRC_ROOT)/include/fb_types.h $(SRC_ROOT)/dsql/sqlda_pub.h $(SRC_ROOT)/jrd/ibase.h $(SRC_ROOT)/include/gen/iberror.h $(SRC_ROOT)/jrd/blr.h $(SRC_ROOT)/include/gen/codes.h | grep -v "#include" >> $(FW)/Headers/ibase.h
|
||||
cat $(SRC_ROOT)/include/fb_types.h $(SRC_ROOT)/jrd/sqlda_pub.h $(SRC_ROOT)/dsql/dsc_pub.h $(SRC_ROOT)/jrd/ibase.h $(SRC_ROOT)/jrd/inf_pub.h $(SRC_ROOT)/include/gen/iberror.h $(SRC_ROOT)/jrd/blr.h $(SRC_ROOT)/include/gen/codes.h | grep -v "#include" >> $(FW)/Headers/ibase.h
|
||||
echo "#endif /*IBASE_H*/" >> $(FW)/Headers/ibase.h
|
||||
headers_clean:
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: Makefile.in.firebird,v 1.53 2004-04-30 23:02:06 brodsom Exp $
|
||||
# $Id: Makefile.in.firebird,v 1.54 2004-05-07 11:19:53 brodsom Exp $
|
||||
#
|
||||
|
||||
ROOT=..
|
||||
@ -432,7 +432,7 @@ include_generic: $(INCLUDE_DEST)/ib_util.h \
|
||||
# All these files are #includes in ibase.h here we cat them all together
|
||||
# and remove the embedded #includes to make it simpler for external usage.
|
||||
|
||||
IBASE_ExtraFiles = include/fb_types.h dsql/sqlda_pub.h jrd/ibase.h jrd/blr.h include/gen/iberror.h
|
||||
IBASE_ExtraFiles = include/fb_types.h dsql/sqlda_pub.h jrd/dsc_pub.h jrd/ibase.h jrd/inf_pub.h jrd/blr.h include/gen/iberror.h
|
||||
SRC_IBASE_ExtraFiles = $(addprefix $(SRC_ROOT)/, $(IBASE_ExtraFiles))
|
||||
|
||||
$(INCLUDE_DEST)/ibase.h: $(SRC_IBASE_ExtraFiles)
|
||||
|
@ -104,7 +104,9 @@ goto :EOF
|
||||
copy %ROOT_PATH%\src\misc\ibase_header.txt %ROOT_PATH%\output\include\ibase.tmp > nul
|
||||
type %ROOT_PATH%\src\include\fb_types.h >> %ROOT_PATH%\output\include\ibase.tmp
|
||||
type %ROOT_PATH%\src\dsql\sqlda_pub.h >> %ROOT_PATH%\output\include\ibase.tmp
|
||||
type %ROOT_PATH%\src\jrd\dsc_pub.h >> %ROOT_PATH%\output\include\ibase.tmp
|
||||
type %ROOT_PATH%\src\jrd\ibase.h >> %ROOT_PATH%\output\include\ibase.tmp
|
||||
type %ROOT_PATH%\src\jrd\inf_pub.h.h >> %ROOT_PATH%\output\include\ibase.tmp
|
||||
type %ROOT_PATH%\src\jrd\blr.h >> %ROOT_PATH%\output\include\ibase.tmp
|
||||
type %ROOT_PATH%\src\include\gen\iberror.h >> %ROOT_PATH%\output\include\ibase.tmp
|
||||
sed -f %ROOT_PATH%\src\misc\headers.sed < %ROOT_PATH%\output\include\ibase.tmp > %ROOT_PATH%\output\include\ibase.h
|
||||
|
@ -701,6 +701,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@ -861,7 +865,7 @@ SOURCE=..\..\..\src\jrd\idx_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\inf.h
|
||||
SOURCE=..\..\..\src\jrd\inf_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
@ -670,6 +670,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@ -830,7 +834,7 @@ SOURCE=..\..\..\src\jrd\idx_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\inf.h
|
||||
SOURCE=..\..\..\src\jrd\inf_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
@ -670,6 +670,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@ -830,7 +834,7 @@ SOURCE=..\..\..\src\jrd\idx_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\inf.h
|
||||
SOURCE=..\..\..\src\jrd\inf_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
@ -296,6 +296,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\enc_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -109,6 +109,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\enc_proto.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -198,6 +198,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\isc.cpp
|
||||
# End Source File
|
||||
# End Group
|
||||
|
@ -186,6 +186,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\gds.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -198,6 +198,10 @@ SOURCE=..\..\..\src\jrd\dsc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\dsc_pub.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\jrd\isc.cpp
|
||||
# End Source File
|
||||
# End Group
|
||||
|
@ -547,6 +547,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_proto.h">
|
||||
</File>
|
||||
@ -668,7 +671,7 @@
|
||||
RelativePath="..\..\..\src\jrd\idx_proto.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\inf.h">
|
||||
RelativePath="..\..\..\src\jrd\inf_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\inf_proto.h">
|
||||
|
@ -544,6 +544,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_proto.h">
|
||||
</File>
|
||||
@ -665,7 +668,7 @@
|
||||
RelativePath="..\..\..\src\jrd\idx_proto.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\inf.h">
|
||||
RelativePath="..\..\..\src\jrd\inf_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\inf_proto.h">
|
||||
|
@ -544,6 +544,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_proto.h">
|
||||
</File>
|
||||
@ -665,7 +668,7 @@
|
||||
RelativePath="..\..\..\src\jrd\idx_proto.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\inf.h">
|
||||
RelativePath="..\..\..\src\jrd\inf_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\inf_proto.h">
|
||||
|
@ -297,6 +297,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\enc_proto.h">
|
||||
</File>
|
||||
|
@ -149,6 +149,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\enc_proto.h">
|
||||
</File>
|
||||
|
@ -230,6 +230,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\isc.cpp">
|
||||
</File>
|
||||
|
@ -219,6 +219,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\gds.cpp">
|
||||
</File>
|
||||
|
@ -226,6 +226,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\dsc_pub.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\isc.cpp">
|
||||
</File>
|
||||
|
@ -2,3 +2,6 @@ s/#include "fb_types.h"//g
|
||||
s/#include "blr.h"//g
|
||||
s/#include "iberror.h"//g
|
||||
s/#include "codes.h"//g
|
||||
s/#include "sqlda_pub.h"//g
|
||||
s/#include "inf_pub.h"//g
|
||||
s/#include "dsc_pub.h"//g
|
||||
|
Loading…
Reference in New Issue
Block a user