Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsga committed Mar 11, 2024
1 parent 5ec8293 commit 5bd24da
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 25 deletions.
12 changes: 7 additions & 5 deletions include/atalk/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ headers = [
]

if with_dtrace
dtrace_header = custom_target(
'dtrace_header',
input: 'afp_dtrace.d',
output: 'afp_dtrace.h',
command: [dtrace_command, '-o', '@OUTPUT@', '-h', '-s', '@INPUT@'],
run_command(
dtrace_command,
'-o',
'afp_dtrace.h',
'-h',
'-s',
'afp_dtrace.d'
)
endif

Expand Down
4 changes: 0 additions & 4 deletions libatalk/acl/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ if have_ldap
]
endif

if with_dtrace
acl_sources += dtrace_header
endif

libacl = static_library(
'acl',
acl_sources,
Expand Down
4 changes: 0 additions & 4 deletions libatalk/adouble/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ adouble_sources = [
'ad_write.c',
]

if with_dtrace
adouble_sources += dtrace_header
endif

libadouble = static_library(
'adouble',
adouble_sources,
Expand Down
4 changes: 0 additions & 4 deletions libatalk/cnid/dbd/meson.build
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
libcnid_dbd_sources = ['cnid_dbd.c', 'cnid_dbd.h']

if with_dtrace
libcnid_dbd_sources += dtrace_header
endif

libcnid_dbd = static_library(
'cnid_dbd',
libcnid_dbd_sources,
Expand Down
4 changes: 0 additions & 4 deletions libatalk/cnid/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ endif

cnid_sources = ['cnid_init.c', 'cnid.c']

if with_dtrace
cnid_sources += dtrace_header
endif

libcnid = static_library(
'cnid',
cnid_sources,
Expand Down
3 changes: 0 additions & 3 deletions libatalk/dsi/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ dsi_sources = [
'dsi_tickle.c',
'dsi_write.c',
]
if with_dtrace
dsi_sources += dtrace_header
endif

libdsi = static_library(
'dsi',
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ run_command(
meson.project_source_root() / 'libatalk/dummy.c',
'-o',
meson.global_build_root() / 'dummy.o',
check: true,
check: false,
)
compiler_mode = run_command(
'/usr/bin/file',
Expand Down

0 comments on commit 5bd24da

Please sign in to comment.