diff options
author | Sami Kerola <kerolasa@iki.fi> | 2019-07-18 19:37:00 +0100 |
---|---|---|
committer | Sami Kerola <kerolasa@iki.fi> | 2019-07-20 09:29:07 +0100 |
commit | 7024b189c4d19f923f629baed4215d784125fa82 (patch) | |
tree | 36ed82c27e58c04455335b8fef915eb29055308d | |
parent | 2feca3f7dc0579b0f0aa9251feb236ac08afb214 (diff) | |
download | iputils-7024b189c4d19f923f629baed4215d784125fa82.tar.gz |
tftpd: move ftpd files to a subdirectory
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | tftpd/meson.build | 6 | ||||
-rw-r--r-- | tftpd/tftp.h (renamed from tftp.h) | 0 | ||||
-rw-r--r-- | tftpd/tftpd.c (renamed from tftpd.c) | 0 | ||||
-rw-r--r-- | tftpd/tftpsubs.c (renamed from tftpsubs.c) | 0 |
5 files changed, 7 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 1ac0783..748749f 100644 --- a/meson.build +++ b/meson.build @@ -326,9 +326,7 @@ if build_arping == true endif if build_tftpd == true - executable('tftpd', ['tftpd.c', 'tftpsubs.c', git_version_h], - link_with : [libcommon], - install: true) + subdir ('tftpd') endif if build_rarpd == true diff --git a/tftpd/meson.build b/tftpd/meson.build new file mode 100644 index 0000000..527a54f --- /dev/null +++ b/tftpd/meson.build @@ -0,0 +1,6 @@ +inc = include_directories('..') + +executable('tftpd', ['tftpd.c', 'tftpsubs.c', git_version_h], + include_directories : inc, + link_with : [libcommon], + install: true) diff --git a/tftpsubs.c b/tftpd/tftpsubs.c index b4adf9c..b4adf9c 100644 --- a/tftpsubs.c +++ b/tftpd/tftpsubs.c |