mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 11:39:56 +00:00
arguments: move to tools/ subdirectory
The arguments.{c,h} file should not be a part of liblxc itself. It should only be used for the lxc tools. Signed-off-by: RicardoSanchezA <ricardo.sanchez@utexas.edu> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
b10fdf6b71
commit
a144d28830
@ -4,7 +4,7 @@ pkginclude_HEADERS = \
|
|||||||
version.h
|
version.h
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
arguments.h \
|
tools/arguments.h \
|
||||||
attach.h \
|
attach.h \
|
||||||
storage/storage.h \
|
storage/storage.h \
|
||||||
storage/aufs.h \
|
storage/aufs.h \
|
||||||
@ -79,7 +79,6 @@ endif
|
|||||||
|
|
||||||
lib_LTLIBRARIES = liblxc.la
|
lib_LTLIBRARIES = liblxc.la
|
||||||
liblxc_la_SOURCES = \
|
liblxc_la_SOURCES = \
|
||||||
arguments.c arguments.h \
|
|
||||||
storage/storage.c storage/storage.h \
|
storage/storage.c storage/storage.h \
|
||||||
storage/aufs.c storage/aufs.h \
|
storage/aufs.c storage/aufs.h \
|
||||||
storage/btrfs.c storage/btrfs.h \
|
storage/btrfs.c storage/btrfs.h \
|
||||||
@ -267,35 +266,35 @@ AM_LDFLAGS += -Wl,-rpath -Wl,$(libdir)
|
|||||||
endif
|
endif
|
||||||
LDADD=liblxc.la @CAP_LIBS@ @APPARMOR_LIBS@ @SELINUX_LIBS@ @SECCOMP_LIBS@
|
LDADD=liblxc.la @CAP_LIBS@ @APPARMOR_LIBS@ @SELINUX_LIBS@ @SECCOMP_LIBS@
|
||||||
|
|
||||||
lxc_attach_SOURCES = tools/lxc_attach.c
|
lxc_attach_SOURCES = tools/lxc_attach.c tools/arguments.c
|
||||||
lxc_autostart_SOURCES = tools/lxc_autostart.c
|
lxc_autostart_SOURCES = tools/lxc_autostart.c tools/arguments.c
|
||||||
lxc_cgroup_SOURCES = tools/lxc_cgroup.c
|
lxc_cgroup_SOURCES = tools/lxc_cgroup.c tools/arguments.c
|
||||||
lxc_config_SOURCES = tools/lxc_config.c
|
lxc_config_SOURCES = tools/lxc_config.c tools/arguments.c
|
||||||
lxc_console_SOURCES = tools/lxc_console.c
|
lxc_console_SOURCES = tools/lxc_console.c tools/arguments.c
|
||||||
lxc_destroy_SOURCES = tools/lxc_destroy.c
|
lxc_destroy_SOURCES = tools/lxc_destroy.c tools/arguments.c
|
||||||
lxc_device_SOURCES = tools/lxc_device.c
|
lxc_device_SOURCES = tools/lxc_device.c tools/arguments.c
|
||||||
lxc_execute_SOURCES = tools/lxc_execute.c
|
lxc_execute_SOURCES = tools/lxc_execute.c tools/arguments.c
|
||||||
lxc_freeze_SOURCES = tools/lxc_freeze.c
|
lxc_freeze_SOURCES = tools/lxc_freeze.c tools/arguments.c
|
||||||
lxc_info_SOURCES = tools/lxc_info.c
|
lxc_info_SOURCES = tools/lxc_info.c tools/arguments.c
|
||||||
init_lxc_SOURCES = tools/lxc_init.c
|
init_lxc_SOURCES = tools/lxc_init.c tools/arguments.c
|
||||||
lxc_monitor_SOURCES = tools/lxc_monitor.c
|
lxc_monitor_SOURCES = tools/lxc_monitor.c tools/arguments.c
|
||||||
lxc_ls_SOURCES = tools/lxc_ls.c
|
lxc_ls_SOURCES = tools/lxc_ls.c tools/arguments.c
|
||||||
lxc_copy_SOURCES = tools/lxc_copy.c
|
lxc_copy_SOURCES = tools/lxc_copy.c tools/arguments.c
|
||||||
lxc_start_SOURCES = tools/lxc_start.c
|
lxc_start_SOURCES = tools/lxc_start.c tools/arguments.c
|
||||||
lxc_stop_SOURCES = tools/lxc_stop.c
|
lxc_stop_SOURCES = tools/lxc_stop.c tools/arguments.c
|
||||||
lxc_top_SOURCES = tools/lxc_top.c
|
lxc_top_SOURCES = tools/lxc_top.c tools/arguments.c
|
||||||
lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c
|
lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c tools/arguments.c
|
||||||
lxc_unshare_SOURCES = tools/lxc_unshare.c
|
lxc_unshare_SOURCES = tools/lxc_unshare.c tools/arguments.c
|
||||||
lxc_wait_SOURCES = tools/lxc_wait.c
|
lxc_wait_SOURCES = tools/lxc_wait.c tools/arguments.c
|
||||||
lxc_create_SOURCES = tools/lxc_create.c
|
lxc_create_SOURCES = tools/lxc_create.c tools/arguments.c
|
||||||
lxc_snapshot_SOURCES = tools/lxc_snapshot.c
|
lxc_snapshot_SOURCES = tools/lxc_snapshot.c tools/arguments.c
|
||||||
lxc_usernsexec_SOURCES = tools/lxc_usernsexec.c
|
lxc_usernsexec_SOURCES = tools/lxc_usernsexec.c tools/arguments.c
|
||||||
lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c
|
lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c tools/arguments.c
|
||||||
lxc_user_nic_SOURCES = lxc_user_nic.c network.c network.h
|
lxc_user_nic_SOURCES = lxc_user_nic.c network.c network.h tools/arguments.c
|
||||||
lxc_monitord_SOURCES = lxc_monitord.c
|
lxc_monitord_SOURCES = lxc_monitord.c tools/arguments.c
|
||||||
|
|
||||||
if ENABLE_DEPRECATED
|
if ENABLE_DEPRECATED
|
||||||
lxc_clone_SOURCES = tools/lxc_clone.c
|
lxc_clone_SOURCES = tools/lxc_clone.c tools/arguments.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !HAVE_GETSUBOPT
|
if !HAVE_GETSUBOPT
|
||||||
@ -306,7 +305,7 @@ if HAVE_STATIC_LIBCAP
|
|||||||
sbin_PROGRAMS += init.lxc.static
|
sbin_PROGRAMS += init.lxc.static
|
||||||
|
|
||||||
init_lxc_static_SOURCES = tools/lxc_init.c error.c log.c initutils.c caps.c \
|
init_lxc_static_SOURCES = tools/lxc_init.c error.c log.c initutils.c caps.c \
|
||||||
arguments.c
|
tools/arguments.c
|
||||||
|
|
||||||
if !HAVE_GETLINE
|
if !HAVE_GETLINE
|
||||||
if HAVE_FGETLN
|
if HAVE_FGETLN
|
||||||
|
Loading…
Reference in New Issue
Block a user