From: Michael Tremer Date: Sun, 22 Jan 2023 12:41:47 +0000 (+0000) Subject: Makefile: Add scaffolding for networkd X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=050f4ece8900b9212de57b3564381d82540323aa;p=network.git Makefile: Add scaffolding for networkd Signed-off-by: Michael Tremer --- diff --git a/.gitignore b/.gitignore index bb093d36..e3bae672 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /config.* /libtool /missing +/networkd /src/functions/functions /src/inetcalc /src/libnetwork/libnetwork.pc diff --git a/Makefile.am b/Makefile.am index 4aa7314b..64ad94d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,6 +61,7 @@ INSTALL_DIRS = INSTALL_EXEC_HOOKS = UNINSTALL_EXEC_HOOKS = noinst_DATA = +sbin_PROGRAMS = AM_CPPFLAGS = \ $(OUR_CPPFLAGS) \ @@ -299,6 +300,23 @@ EXTRA_DIST += \ # ------------------------------------------------------------------------------ +sbin_PROGRAMS += \ + networkd + +dist_networkd_SOURCES = \ + src/networkd/main.c + +networkd_CPPFLAGS = \ + $(AM_CPPFLAGS) + +networkd_CFLAGS = \ + $(AM_CFLAGS) + +networkd_LDFLAGS = \ + $(AM_LDFLAGS) + +# ------------------------------------------------------------------------------ + util_PROGRAMS = \ src/utils/network-phy-list-channels \ src/utils/network-phy-list-ciphers \ diff --git a/src/networkd/main.c b/src/networkd/main.c new file mode 100644 index 00000000..14aafdd3 --- /dev/null +++ b/src/networkd/main.c @@ -0,0 +1,23 @@ +/*############################################################################# +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2023 IPFire Network Development Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#############################################################################*/ + +int main(int argc, char** argv) { + return 0; +}