summaryrefslogtreecommitdiff
path: root/connectivity/meson.build
blob: 1668e8af8b4b6e2e3a0316676cbd16abc8d14216 (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
sql_lex = custom_target('sql_lex',
  output : 'sqlflex.yy.cxx',
  input: 'source/parse/sqlflex.l',
  command : [lex_bin,
             '-i',
             '-8',
             '-PSQLyy',
             '-L',
             '-o',
             '@OUTPUT@',
             '@INPUT@'])

sql_bison = custom_target('sql_bison',
  output : ['sqlbison.cxx', 'sqlbison.hxx'],
  input: 'source/parse/sqlbison.y',
  command : [bison_bin,
             '-d',
             '-l',
             '-pSQLyy',
             '-bsql',
             '-v',
             '@INPUT@',
             '--defines=@OUTPUT1@',
             '--output=@OUTPUT0@'])

dbtools_lib = shared_library('dbtoolslo',
  'source/commontools/AutoRetrievingBase.cxx',
  'source/commontools/BlobHelper.cxx',
  'source/commontools/CommonTools.cxx',
  'source/commontools/ConnectionWrapper.cxx',
  'source/commontools/DateConversion.cxx',
  'source/commontools/DriversConfig.cxx',
  'source/commontools/FDatabaseMetaDataResultSet.cxx',
  'source/commontools/FDatabaseMetaDataResultSetMetaData.cxx',
  'source/commontools/FValue.cxx',
  'source/commontools/ParameterSubstitution.cxx',
  'source/commontools/RowFunctionParser.cxx',
  'source/commontools/TColumnsHelper.cxx',
  'source/commontools/TConnection.cxx',
  'source/commontools/TDatabaseMetaDataBase.cxx',
  'source/commontools/TIndex.cxx',
  'source/commontools/TIndexColumns.cxx',
  'source/commontools/TIndexes.cxx',
  'source/commontools/TKey.cxx',
  'source/commontools/TKeyColumns.cxx',
  'source/commontools/TKeys.cxx',
  'source/commontools/TPrivilegesResultSet.cxx',
  'source/commontools/TSkipDeletedSet.cxx',
  'source/commontools/TSortIndex.cxx',
  'source/commontools/TTableHelper.cxx',
  'source/commontools/conncleanup.cxx',
  'source/commontools/dbcharset.cxx',
  'source/commontools/dbconversion.cxx',
  'source/commontools/dbexception.cxx',
  'source/commontools/dbmetadata.cxx',
  'source/commontools/dbtools.cxx',
  'source/commontools/dbtools2.cxx',
  'source/commontools/filtermanager.cxx',
  'source/commontools/formattedcolumnvalue.cxx',
  'source/commontools/parameters.cxx',
  'source/commontools/paramwrapper.cxx',
  'source/commontools/predicateinput.cxx',
  'source/commontools/propertyids.cxx',
  'source/commontools/sqlerror.cxx',
  'source/commontools/statementcomposer.cxx',
  'source/commontools/warningscontainer.cxx',
  'source/parse/PColumn.cxx',
  'source/parse/internalnode.cxx',
  'source/parse/sqliterator.cxx',
  'source/parse/sqlnode.cxx',
  'source/resource/sharedresources.cxx',
  'source/sdbcx/VCatalog.cxx',
  'source/sdbcx/VCollection.cxx',
  'source/sdbcx/VColumn.cxx',
  'source/sdbcx/VDescriptor.cxx',
  'source/sdbcx/VGroup.cxx',
  'source/sdbcx/VIndex.cxx',
  'source/sdbcx/VIndexColumn.cxx',
  'source/sdbcx/VKey.cxx',
  'source/sdbcx/VKeyColumn.cxx',
  'source/sdbcx/VTable.cxx',
  'source/sdbcx/VUser.cxx',
  'source/sdbcx/VView.cxx',
  udk_fake_h, off_fake_h, sql_lex, sql_bison,
  cpp_args: [
    '-DOOO_DLLIMPLEMENTATION_DBTOOLS',
    '-DLIBO_INTERNAL_ONLY',
  ],
  include_directories: [main_inc, udkh_inc, offapi_inc, 'inc', 'source/inc'],
  link_with: [
    cppuhelper_lib,
    cppu_lib,
    salhelper_lib,
    sal_lib,
    utl_lib,
    tl_lib,
    comphelper_lib,
    i18nlangtag_lib,
    svt_lib,
    vcl_lib,
  ],
  dependencies: [],
  install: true,
)