blob: ab493603bf5ea1e0042f9811c89f938c3eb3fa8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
LIBRARY()
PROVIDES(
yql_pg_sql_translator
)
PEERDIR(
yql/essentials/ast
yql/essentials/core/sql_types
yql/essentials/parser/pg_catalog
yql/essentials/minikql
yql/essentials/sql/settings
)
ADDINCL(
yql/essentials/parser/pg_wrapper/postgresql/src/include
)
SRCS(
pg_sql.cpp
optimizer.cpp
utils.cpp
)
CFLAGS(
-Dpalloc0=yql_palloc0
-Dpfree=yql_pfree
)
IF (OS_WINDOWS)
CFLAGS(
"-D__thread=__declspec(thread)"
-Dfstat=microsoft_native_fstat
-Dstat=microsoft_native_stat
)
ENDIF()
YQL_LAST_ABI_VERSION()
END()
RECURSE_FOR_TESTS(
ut
)
|