Commit 5022b3ff authored by Carlos Garnacho's avatar Carlos Garnacho

build: Cleanup TRACKER_COMPILATION defines from c_args

It is now defined globally, so can removed from specific targets.
parent e10fbf33
......@@ -8,5 +8,4 @@ ttl_loader_files = [
ttl2sgml = executable('ttl2sgml',
ttl_loader_files, 'ttl2sgml.c', 'ttlresource2sgml.c',
dependencies: [tracker_data_dep, tracker_sparql_dep],
c_args: ['-DTRACKER_COMPILATION'])
dependencies: [tracker_data_dep, tracker_sparql_dep])
......@@ -407,8 +407,6 @@ tracker_c_args = [
# Needed for statvfs64, and probably other stuff
'-D_LARGEFILE64_SOURCE',
'-DTRACKER_COMPILATION'
]
have_tracker_miner_fs = true
......
......@@ -2,8 +2,6 @@ libtracker_sparql = library('tracker-sparql-' + tracker_api_version,
'../libtracker-common/libtracker-common.vapi',
'tracker-backend.vala',
c_args: ['-DTRACKER_COMPILATION'],
install: true,
install_rpath: tracker_internal_libs_dir,
......@@ -40,7 +38,6 @@ tracker_sparql_c_gir = gnome.generate_gir(libtracker_sparql,
link_with: libtracker_sparql,
extra_args: [
'--c-include', 'libtracker-sparql/tracker-sparql.h',
'-D', 'TRACKER_COMPILATION',
])
tracker_sparql_c_gir = tracker_sparql_c_gir[0] # Ignore this .typelib
......
......@@ -73,9 +73,6 @@ libtracker_sparql_intermediate_c = static_library('tracker-sparql-intermediate-c
enums_c, enums_h,
libtracker_sparql_c_sources,
dependencies: [tracker_common_dep],
c_args: [
'-DTRACKER_COMPILATION',
],
)
tracker_sparql_intermediate_dep = declare_dependency(
......
test_c_args = [
'-DLIBEXEC_PATH="@0@/@1@"'.format(get_option('prefix'), get_option('libexecdir')),
'-DTEST',
'-DTRACKER_COMPILATION',
'-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()),
'-DTEST_MINERS_DIR="@0@/mock-miners"'.format(meson.current_source_dir()),
'-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(meson.current_source_dir()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment