summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2019-07-18 19:37:00 +0100
committerSami Kerola <kerolasa@iki.fi>2019-07-20 09:29:07 +0100
commit7024b189c4d19f923f629baed4215d784125fa82 (patch)
tree36ed82c27e58c04455335b8fef915eb29055308d
parent2feca3f7dc0579b0f0aa9251feb236ac08afb214 (diff)
downloadiputils-7024b189c4d19f923f629baed4215d784125fa82.tar.gz
tftpd: move ftpd files to a subdirectory
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r--meson.build4
-rw-r--r--tftpd/meson.build6
-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/tftp.h b/tftpd/tftp.h
index c8393cc..c8393cc 100644
--- a/tftp.h
+++ b/tftpd/tftp.h
diff --git a/tftpd.c b/tftpd/tftpd.c
index 42998f9..42998f9 100644
--- a/tftpd.c
+++ b/tftpd/tftpd.c
diff --git a/tftpsubs.c b/tftpd/tftpsubs.c
index b4adf9c..b4adf9c 100644
--- a/tftpsubs.c
+++ b/tftpd/tftpsubs.c