autotools: enable static builds for tools

parent 014a65ef
...@@ -331,209 +331,13 @@ LDADD = liblxc.la \ ...@@ -331,209 +331,13 @@ LDADD = liblxc.la \
if ENABLE_TOOLS if ENABLE_TOOLS
lxc_attach_SOURCES = tools/lxc_attach.c \ lxc_attach_SOURCES = tools/lxc_attach.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
rexec.c rexec.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_attach_SOURCES += seccomp.c lxcseccomp.h
endif
lxc_autostart_SOURCES = tools/lxc_autostart.c \
tools/arguments.c tools/arguments.h \
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_autostart_SOURCES += seccomp.c lxcseccomp.h
endif
lxc_cgroup_SOURCES = tools/lxc_cgroup.c \
tools/arguments.c tools/arguments.h \
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_cgroup_SOURCES += seccomp.c lxcseccomp.h
endif
lxc_config_SOURCES = tools/lxc_config.c \
tools/arguments.c tools/arguments.h \
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_config_SOURCES += seccomp.c lxcseccomp.h
endif
lxc_console_SOURCES = tools/lxc_console.c \ if ENABLE_STATIC_BINARIES
tools/arguments.c tools/arguments.h \ lxc_attach_SOURCES += $(liblxc_la_SOURCES)
af_unix.c af_unix.h \ lxc_attach_LDFLAGS = -all-static -pthread
else
lxc_attach_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \ caps.c caps.h \
cgroups/cgfsng.c \ cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \ cgroups/cgroup.c cgroups/cgroup.h \
...@@ -557,6 +361,7 @@ lxc_console_SOURCES = tools/lxc_console.c \ ...@@ -557,6 +361,7 @@ lxc_console_SOURCES = tools/lxc_console.c \
nl.c nl.h \ nl.c nl.h \
parse.c parse.h \ parse.c parse.h \
process_utils.c process_utils.h \ process_utils.c process_utils.h \
rexec.c rexec.h \
ringbuf.c ringbuf.h \ ringbuf.c ringbuf.h \
start.c start.h \ start.c start.h \
state.c state.h \ state.c state.h \
...@@ -578,12 +383,74 @@ lxc_console_SOURCES = tools/lxc_console.c \ ...@@ -578,12 +383,74 @@ lxc_console_SOURCES = tools/lxc_console.c \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_console_SOURCES += seccomp.c lxcseccomp.h lxc_attach_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_destroy_SOURCES = tools/lxc_destroy.c \ lxc_autostart_SOURCES = tools/lxc_autostart.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
if ENABLE_STATIC_BINARIES
lxc_autostart_SOURCES += $(liblxc_la_SOURCES)
lxc_autostart_LDFLAGS = -all-static -pthread
else
lxc_autostart_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_autostart_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_cgroup_SOURCES = tools/lxc_cgroup.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_cgroup_SOURCES += $(liblxc_la_SOURCES)
lxc_cgroup_LDFLAGS = -all-static -pthread
else
lxc_cgroup_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \ caps.c caps.h \
cgroups/cgfsng.c \ cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \ cgroups/cgroup.c cgroups/cgroup.h \
...@@ -628,62 +495,18 @@ lxc_destroy_SOURCES = tools/lxc_destroy.c \ ...@@ -628,62 +495,18 @@ lxc_destroy_SOURCES = tools/lxc_destroy.c \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_destroy_SOURCES += seccomp.c lxcseccomp.h lxc_cgroup_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_device_SOURCES = tools/lxc_device.c \ lxc_config_SOURCES = tools/lxc_config.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_device_SOURCES += seccomp.c lxcseccomp.h
endif
lxc_execute_SOURCES = tools/lxc_execute.c \ if ENABLE_STATIC_BINARIES
tools/arguments.c tools/arguments.h \ lxc_config_SOURCES += $(liblxc_la_SOURCES)
af_unix.c af_unix.h \ lxc_config_LDFLAGS = -all-static -pthread
else
lxc_config_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \ caps.c caps.h \
cgroups/cgfsng.c \ cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \ cgroups/cgroup.c cgroups/cgroup.h \
...@@ -728,112 +551,130 @@ lxc_execute_SOURCES = tools/lxc_execute.c \ ...@@ -728,112 +551,130 @@ lxc_execute_SOURCES = tools/lxc_execute.c \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_execute_SOURCES += seccomp.c lxcseccomp.h lxc_config_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_freeze_SOURCES = tools/lxc_freeze.c \ lxc_console_SOURCES = tools/lxc_console.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \ if ENABLE_STATIC_BINARIES
cgroups/cgfsng.c \ lxc_console_SOURCES += $(liblxc_la_SOURCES)
cgroups/cgroup.c cgroups/cgroup.h \ lxc_console_LDFLAGS = -all-static -pthread
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \ else
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \ lxc_console_SOURCES += af_unix.c af_unix.h \
commands.c commands.h \ caps.c caps.h \
commands_utils.c commands_utils.h \ cgroups/cgfsng.c \
conf.c conf.h \ cgroups/cgroup.c cgroups/cgroup.h \
confile.c confile.h \ cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
confile_utils.c confile_utils.h \ cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
error.c error.h \ commands.c commands.h \
file_utils.c file_utils.h \ commands_utils.c commands_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \ conf.c conf.h \
initutils.c initutils.h \ confile.c confile.h \
log.c log.h \ confile_utils.c confile_utils.h \
lxclock.c lxclock.h \ error.c error.h \
mainloop.c mainloop.h \ file_utils.c file_utils.h \
monitor.c monitor.h \ ../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
namespace.c namespace.h \ initutils.c initutils.h \
network.c network.h \ log.c log.h \
nl.c nl.h \ lxclock.c lxclock.h \
parse.c parse.h \ mainloop.c mainloop.h \
process_utils.c process_utils.h \ monitor.c monitor.h \
ringbuf.c ringbuf.h \ namespace.c namespace.h \
start.c start.h \ network.c network.h \
state.c state.h \ nl.c nl.h \
storage/btrfs.c storage/btrfs.h \ parse.c parse.h \
storage/dir.c storage/dir.h \ process_utils.c process_utils.h \
storage/loop.c storage/loop.h \ ringbuf.c ringbuf.h \
storage/lvm.c storage/lvm.h \ start.c start.h \
storage/nbd.c storage/nbd.h \ state.c state.h \
storage/overlay.c storage/overlay.h \ storage/btrfs.c storage/btrfs.h \
storage/rbd.c storage/rbd.h \ storage/dir.c storage/dir.h \
storage/rsync.c storage/rsync.h \ storage/loop.c storage/loop.h \
storage/storage.c storage/storage.h \ storage/lvm.c storage/lvm.h \
storage/storage_utils.c storage/storage_utils.h \ storage/nbd.c storage/nbd.h \
storage/zfs.c storage/zfs.h \ storage/overlay.c storage/overlay.h \
string_utils.c string_utils.h \ storage/rbd.c storage/rbd.h \
sync.c sync.h \ storage/rsync.c storage/rsync.h \
terminal.c terminal.h \ storage/storage.c storage/storage.h \
utils.c utils.h \ storage/storage_utils.c storage/storage_utils.h \
uuid.c uuid.h \ storage/zfs.c storage/zfs.h \
$(LSM_SOURCES) string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_freeze_SOURCES += seccomp.c lxcseccomp.h lxc_console_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_info_SOURCES = tools/lxc_info.c \ lxc_destroy_SOURCES = tools/lxc_destroy.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \ if ENABLE_STATIC_BINARIES
cgroups/cgfsng.c \ lxc_destroy_SOURCES += $(liblxc_la_SOURCES)
cgroups/cgroup.c cgroups/cgroup.h \ lxc_destroy_LDFLAGS = -all-static -pthread
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \ else
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \ lxc_destroy_SOURCES += af_unix.c af_unix.h \
commands.c commands.h \ caps.c caps.h \
commands_utils.c commands_utils.h \ cgroups/cgfsng.c \
conf.c conf.h \ cgroups/cgroup.c cgroups/cgroup.h \
confile.c confile.h \ cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
confile_utils.c confile_utils.h \ cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
error.c error.h \ commands.c commands.h \
file_utils.c file_utils.h \ commands_utils.c commands_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \ conf.c conf.h \
initutils.c initutils.h \ confile.c confile.h \
log.c log.h \ confile_utils.c confile_utils.h \
lxclock.c lxclock.h \ error.c error.h \
mainloop.c mainloop.h \ file_utils.c file_utils.h \
monitor.c monitor.h \ ../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
namespace.c namespace.h \ initutils.c initutils.h \
network.c network.h \ log.c log.h \
nl.c nl.h \ lxclock.c lxclock.h \
parse.c parse.h \ mainloop.c mainloop.h \
process_utils.c process_utils.h \ monitor.c monitor.h \
ringbuf.c ringbuf.h \ namespace.c namespace.h \
start.c start.h \ network.c network.h \
state.c state.h \ nl.c nl.h \
storage/btrfs.c storage/btrfs.h \ parse.c parse.h \
storage/dir.c storage/dir.h \ process_utils.c process_utils.h \
storage/loop.c storage/loop.h \ ringbuf.c ringbuf.h \
storage/lvm.c storage/lvm.h \ start.c start.h \
storage/nbd.c storage/nbd.h \ state.c state.h \
storage/overlay.c storage/overlay.h \ storage/btrfs.c storage/btrfs.h \
storage/rbd.c storage/rbd.h \ storage/dir.c storage/dir.h \
storage/rsync.c storage/rsync.h \ storage/loop.c storage/loop.h \
storage/storage.c storage/storage.h \ storage/lvm.c storage/lvm.h \
storage/storage_utils.c storage/storage_utils.h \ storage/nbd.c storage/nbd.h \
storage/zfs.c storage/zfs.h \ storage/overlay.c storage/overlay.h \
string_utils.c string_utils.h \ storage/rbd.c storage/rbd.h \
sync.c sync.h \ storage/rsync.c storage/rsync.h \
terminal.c terminal.h \ storage/storage.c storage/storage.h \
utils.c utils.h \ storage/storage_utils.c storage/storage_utils.h \
uuid.c uuid.h \ storage/zfs.c storage/zfs.h \
$(LSM_SOURCES) string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_info_SOURCES += seccomp.c lxcseccomp.h lxc_destroy_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_monitor_SOURCES = tools/lxc_monitor.c \ lxc_device_SOURCES = tools/lxc_device.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
if ENABLE_STATIC_BINARIES
lxc_device_SOURCES += $(liblxc_la_SOURCES)
lxc_device_LDFLAGS = -all-static -pthread
else
lxc_device_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \ caps.c caps.h \
cgroups/cgfsng.c \ cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \ cgroups/cgroup.c cgroups/cgroup.h \
...@@ -850,7 +691,6 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \ ...@@ -850,7 +691,6 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \
initutils.c initutils.h \ initutils.c initutils.h \
log.c log.h \ log.c log.h \
lxclock.c lxclock.h \ lxclock.c lxclock.h \
macro.h \
mainloop.c mainloop.h \ mainloop.c mainloop.h \
monitor.c monitor.h \ monitor.c monitor.h \
namespace.c namespace.h \ namespace.c namespace.h \
...@@ -879,113 +719,130 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \ ...@@ -879,113 +719,130 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_monitor_SOURCES += seccomp.c lxcseccomp.h lxc_device_SOURCES += seccomp.c lxcseccomp.h
endif endif
lxc_ls_SOURCES = tools/lxc_ls.c \
tools/arguments.c tools/arguments.h \
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
memory_utils.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_ls_SOURCES += seccomp.c lxcseccomp.h
endif endif
lxc_copy_SOURCES = tools/lxc_copy.c \ lxc_execute_SOURCES = tools/lxc_execute.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \ if ENABLE_STATIC_BINARIES
cgroups/cgfsng.c \ lxc_execute_SOURCES += $(liblxc_la_SOURCES)
cgroups/cgroup.c cgroups/cgroup.h \ lxc_execute_LDFLAGS = -all-static -pthread
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \ else
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \ lxc_execute_SOURCES += af_unix.c af_unix.h \
commands.c commands.h \ caps.c caps.h \
commands_utils.c commands_utils.h \ cgroups/cgfsng.c \
conf.c conf.h \ cgroups/cgroup.c cgroups/cgroup.h \
confile.c confile.h \ cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
confile_utils.c confile_utils.h \ cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
error.c error.h \ commands.c commands.h \
file_utils.c file_utils.h \ commands_utils.c commands_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \ conf.c conf.h \
initutils.c initutils.h \ confile.c confile.h \
log.c log.h \ confile_utils.c confile_utils.h \
lxclock.c lxclock.h \ error.c error.h \
mainloop.c mainloop.h \ file_utils.c file_utils.h \
monitor.c monitor.h \ ../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
namespace.c namespace.h \ initutils.c initutils.h \
network.c network.h \ log.c log.h \
nl.c nl.h \ lxclock.c lxclock.h \
parse.c parse.h \ mainloop.c mainloop.h \
process_utils.c process_utils.h \ monitor.c monitor.h \
ringbuf.c ringbuf.h \ namespace.c namespace.h \
start.c start.h \ network.c network.h \
state.c state.h \ nl.c nl.h \
storage/btrfs.c storage/btrfs.h \ parse.c parse.h \
storage/dir.c storage/dir.h \ process_utils.c process_utils.h \
storage/loop.c storage/loop.h \ ringbuf.c ringbuf.h \
storage/lvm.c storage/lvm.h \ start.c start.h \
storage/nbd.c storage/nbd.h \ state.c state.h \
storage/overlay.c storage/overlay.h \ storage/btrfs.c storage/btrfs.h \
storage/rbd.c storage/rbd.h \ storage/dir.c storage/dir.h \
storage/rsync.c storage/rsync.h \ storage/loop.c storage/loop.h \
storage/storage.c storage/storage.h \ storage/lvm.c storage/lvm.h \
storage/storage_utils.c storage/storage_utils.h \ storage/nbd.c storage/nbd.h \
storage/zfs.c storage/zfs.h \ storage/overlay.c storage/overlay.h \
string_utils.c string_utils.h \ storage/rbd.c storage/rbd.h \
sync.c sync.h \ storage/rsync.c storage/rsync.h \
terminal.c terminal.h \ storage/storage.c storage/storage.h \
utils.c utils.h \ storage/storage_utils.c storage/storage_utils.h \
uuid.c uuid.h \ storage/zfs.c storage/zfs.h \
$(LSM_SOURCES) string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_copy_SOURCES += seccomp.c lxcseccomp.h lxc_execute_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_start_SOURCES = tools/lxc_start.c \ lxc_freeze_SOURCES = tools/lxc_freeze.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
if ENABLE_STATIC_BINARIES
lxc_freeze_SOURCES += $(liblxc_la_SOURCES)
lxc_freeze_LDFLAGS = -all-static -pthread
else
lxc_freeze_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_freeze_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_info_SOURCES = tools/lxc_info.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_info_SOURCES += $(liblxc_la_SOURCES)
lxc_info_LDFLAGS = -all-static -pthread
else
lxc_info_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \ caps.c caps.h \
cgroups/cgfsng.c \ cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \ cgroups/cgroup.c cgroups/cgroup.h \
...@@ -1030,62 +887,75 @@ lxc_start_SOURCES = tools/lxc_start.c \ ...@@ -1030,62 +887,75 @@ lxc_start_SOURCES = tools/lxc_start.c \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_start_SOURCES += seccomp.c lxcseccomp.h lxc_info_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_stop_SOURCES = tools/lxc_stop.c \ lxc_monitor_SOURCES = tools/lxc_monitor.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \ if ENABLE_STATIC_BINARIES
cgroups/cgfsng.c \ lxc_monitor_SOURCES += $(liblxc_la_SOURCES)
cgroups/cgroup.c cgroups/cgroup.h \ lxc_monitor_LDFLAGS = -all-static -pthread
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \ else
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \ lxc_monitor_SOURCES += af_unix.c af_unix.h \
commands.c commands.h \ caps.c caps.h \
commands_utils.c commands_utils.h \ cgroups/cgfsng.c \
conf.c conf.h \ cgroups/cgroup.c cgroups/cgroup.h \
confile.c confile.h \ cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
confile_utils.c confile_utils.h \ cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
error.c error.h \ commands.c commands.h \
file_utils.c file_utils.h \ commands_utils.c commands_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \ conf.c conf.h \
initutils.c initutils.h \ confile.c confile.h \
log.c log.h \ confile_utils.c confile_utils.h \
lxclock.c lxclock.h \ error.c error.h \
mainloop.c mainloop.h \ file_utils.c file_utils.h \
monitor.c monitor.h \ ../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
namespace.c namespace.h \ initutils.c initutils.h \
network.c network.h \ log.c log.h \
nl.c nl.h \ lxclock.c lxclock.h \
parse.c parse.h \ macro.h \
process_utils.c process_utils.h \ mainloop.c mainloop.h \
ringbuf.c ringbuf.h \ monitor.c monitor.h \
start.c start.h \ namespace.c namespace.h \
state.c state.h \ network.c network.h \
storage/btrfs.c storage/btrfs.h \ nl.c nl.h \
storage/dir.c storage/dir.h \ parse.c parse.h \
storage/loop.c storage/loop.h \ process_utils.c process_utils.h \
storage/lvm.c storage/lvm.h \ ringbuf.c ringbuf.h \
storage/nbd.c storage/nbd.h \ start.c start.h \
storage/overlay.c storage/overlay.h \ state.c state.h \
storage/rbd.c storage/rbd.h \ storage/btrfs.c storage/btrfs.h \
storage/rsync.c storage/rsync.h \ storage/dir.c storage/dir.h \
storage/storage.c storage/storage.h \ storage/loop.c storage/loop.h \
storage/storage_utils.c storage/storage_utils.h \ storage/lvm.c storage/lvm.h \
storage/zfs.c storage/zfs.h \ storage/nbd.c storage/nbd.h \
string_utils.c string_utils.h \ storage/overlay.c storage/overlay.h \
sync.c sync.h \ storage/rbd.c storage/rbd.h \
terminal.c terminal.h \ storage/rsync.c storage/rsync.h \
utils.c utils.h \ storage/storage.c storage/storage.h \
uuid.c uuid.h \ storage/storage_utils.c storage/storage_utils.h \
$(LSM_SOURCES) storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_stop_SOURCES += seccomp.c lxcseccomp.h lxc_monitor_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_top_SOURCES = tools/lxc_top.c \ lxc_ls_SOURCES = tools/lxc_ls.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
if ENABLE_STATIC_BINARIES
lxc_ls_SOURCES += $(liblxc_la_SOURCES)
lxc_ls_LDFLAGS = -all-static -pthread
else
lxc_ls_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \ caps.c caps.h \
cgroups/cgfsng.c \ cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \ cgroups/cgroup.c cgroups/cgroup.h \
...@@ -1103,6 +973,7 @@ lxc_top_SOURCES = tools/lxc_top.c \ ...@@ -1103,6 +973,7 @@ lxc_top_SOURCES = tools/lxc_top.c \
log.c log.h \ log.c log.h \
lxclock.c lxclock.h \ lxclock.c lxclock.h \
mainloop.c mainloop.h \ mainloop.c mainloop.h \
memory_utils.h \
monitor.c monitor.h \ monitor.c monitor.h \
namespace.c namespace.h \ namespace.c namespace.h \
network.c network.h \ network.c network.h \
...@@ -1130,20 +1001,306 @@ lxc_top_SOURCES = tools/lxc_top.c \ ...@@ -1130,20 +1001,306 @@ lxc_top_SOURCES = tools/lxc_top.c \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_top_SOURCES += seccomp.c lxcseccomp.h lxc_ls_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \ lxc_copy_SOURCES = tools/lxc_copy.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \ if ENABLE_STATIC_BINARIES
cgroups/cgfsng.c \ lxc_copy_SOURCES += $(liblxc_la_SOURCES)
cgroups/cgroup.c cgroups/cgroup.h \ lxc_copy_LDFLAGS = -all-static -pthread
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \ else
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \ lxc_copy_SOURCES += af_unix.c af_unix.h \
commands.c commands.h \ caps.c caps.h \
commands_utils.c commands_utils.h \ cgroups/cgfsng.c \
conf.c conf.h \ cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_copy_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_start_SOURCES = tools/lxc_start.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_start_SOURCES += $(liblxc_la_SOURCES)
lxc_start_LDFLAGS = -all-static -pthread
else
lxc_start_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_start_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_stop_SOURCES = tools/lxc_stop.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_stop_SOURCES += $(liblxc_la_SOURCES)
lxc_stop_LDFLAGS = -all-static -pthread
else
lxc_stop_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_stop_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_top_SOURCES = tools/lxc_top.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_top_SOURCES += $(liblxc_la_SOURCES)
lxc_top_LDFLAGS = -all-static -pthread
else
lxc_top_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_top_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_unfreeze_SOURCES += $(liblxc_la_SOURCES)
lxc_unfreeze_LDFLAGS = -all-static -pthread
else
lxc_unfreeze_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_unfreeze_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_unshare_SOURCES = tools/lxc_unshare.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_unshare_SOURCES += $(liblxc_la_SOURCES)
lxc_unshare_LDFLAGS = -all-static -pthread
else
lxc_unshare_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \ confile.c confile.h \
confile_utils.c confile_utils.h \ confile_utils.c confile_utils.h \
error.c error.h \ error.c error.h \
...@@ -1175,17 +1332,81 @@ lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \ ...@@ -1175,17 +1332,81 @@ lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \
storage/zfs.c storage/zfs.h \ storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \ string_utils.c string_utils.h \
sync.c sync.h \ sync.c sync.h \
syscall_numbers.h \
syscall_wrappers.h \
terminal.c terminal.h \ terminal.c terminal.h \
utils.c utils.h \ utils.c utils.h \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_unfreeze_SOURCES += seccomp.c lxcseccomp.h lxc_unshare_SOURCES += seccomp.c lxcseccomp.h
endif
endif
lxc_wait_SOURCES = tools/lxc_wait.c \
tools/arguments.c tools/arguments.h
if ENABLE_STATIC_BINARIES
lxc_wait_SOURCES += $(liblxc_la_SOURCES)
lxc_wait_LDFLAGS = -all-static -pthread
else
lxc_wait_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_wait_SOURCES += seccomp.c lxcseccomp.h
endif
endif endif
lxc_unshare_SOURCES = tools/lxc_unshare.c \ lxc_create_SOURCES = tools/lxc_create.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
if ENABLE_STATIC_BINARIES
lxc_create_SOURCES += $(liblxc_la_SOURCES)
lxc_create_LDFLAGS = -all-static -pthread
else
lxc_create_SOURCES += af_unix.c af_unix.h \
caps.c caps.h \ caps.c caps.h \
cgroups/cgfsng.c \ cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \ cgroups/cgroup.c cgroups/cgroup.h \
...@@ -1225,216 +1446,126 @@ lxc_unshare_SOURCES = tools/lxc_unshare.c \ ...@@ -1225,216 +1446,126 @@ lxc_unshare_SOURCES = tools/lxc_unshare.c \
storage/zfs.c storage/zfs.h \ storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \ string_utils.c string_utils.h \
sync.c sync.h \ sync.c sync.h \
syscall_numbers.h \
syscall_wrappers.h \
terminal.c terminal.h \ terminal.c terminal.h \
utils.c utils.h \ utils.c utils.h \
uuid.c uuid.h \ uuid.c uuid.h \
$(LSM_SOURCES) $(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_unshare_SOURCES += seccomp.c lxcseccomp.h
endif
lxc_wait_SOURCES = tools/lxc_wait.c \
tools/arguments.c tools/arguments.h \
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_wait_SOURCES += seccomp.c lxcseccomp.h
endif
lxc_create_SOURCES = tools/lxc_create.c \
tools/arguments.c tools/arguments.h \
af_unix.c af_unix.h \
caps.c caps.h \
cgroups/cgfsng.c \
cgroups/cgroup.c cgroups/cgroup.h \
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
commands.c commands.h \
commands_utils.c commands_utils.h \
conf.c conf.h \
confile.c confile.h \
confile_utils.c confile_utils.h \
error.c error.h \
file_utils.c file_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
initutils.c initutils.h \
log.c log.h \
lxclock.c lxclock.h \
mainloop.c mainloop.h \
monitor.c monitor.h \
namespace.c namespace.h \
network.c network.h \
nl.c nl.h \
parse.c parse.h \
process_utils.c process_utils.h \
ringbuf.c ringbuf.h \
start.c start.h \
state.c state.h \
storage/btrfs.c storage/btrfs.h \
storage/dir.c storage/dir.h \
storage/loop.c storage/loop.h \
storage/lvm.c storage/lvm.h \
storage/nbd.c storage/nbd.h \
storage/overlay.c storage/overlay.h \
storage/rbd.c storage/rbd.h \
storage/rsync.c storage/rsync.h \
storage/storage.c storage/storage.h \
storage/storage_utils.c storage/storage_utils.h \
storage/zfs.c storage/zfs.h \
string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP
lxc_create_SOURCES += seccomp.c lxcseccomp.h lxc_create_SOURCES += seccomp.c lxcseccomp.h
endif endif
endif
lxc_snapshot_SOURCES = tools/lxc_snapshot.c \ lxc_snapshot_SOURCES = tools/lxc_snapshot.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \ if ENABLE_STATIC_BINARIES
cgroups/cgfsng.c \ lxc_snapshot_SOURCES += $(liblxc_la_SOURCES)
cgroups/cgroup.c cgroups/cgroup.h \ lxc_snapshot_LDFLAGS = -all-static -pthread
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \ else
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \ lxc_snapshot_SOURCES += af_unix.c af_unix.h \
commands.c commands.h \ caps.c caps.h \
commands_utils.c commands_utils.h \ cgroups/cgfsng.c \
conf.c conf.h \ cgroups/cgroup.c cgroups/cgroup.h \
confile.c confile.h \ cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
confile_utils.c confile_utils.h \ cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
error.c error.h \ commands.c commands.h \
file_utils.c file_utils.h \ commands_utils.c commands_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \ conf.c conf.h \
initutils.c initutils.h \ confile.c confile.h \
log.c log.h \ confile_utils.c confile_utils.h \
lxclock.c lxclock.h \ error.c error.h \
mainloop.c mainloop.h \ file_utils.c file_utils.h \
monitor.c monitor.h \ ../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
namespace.c namespace.h \ initutils.c initutils.h \
network.c network.h \ log.c log.h \
nl.c nl.h \ lxclock.c lxclock.h \
parse.c parse.h \ mainloop.c mainloop.h \
process_utils.c process_utils.h \ monitor.c monitor.h \
ringbuf.c ringbuf.h \ namespace.c namespace.h \
start.c start.h \ network.c network.h \
state.c state.h \ nl.c nl.h \
storage/btrfs.c storage/btrfs.h \ parse.c parse.h \
storage/dir.c storage/dir.h \ process_utils.c process_utils.h \
storage/loop.c storage/loop.h \ ringbuf.c ringbuf.h \
storage/lvm.c storage/lvm.h \ start.c start.h \
storage/nbd.c storage/nbd.h \ state.c state.h \
storage/overlay.c storage/overlay.h \ storage/btrfs.c storage/btrfs.h \
storage/rbd.c storage/rbd.h \ storage/dir.c storage/dir.h \
storage/rsync.c storage/rsync.h \ storage/loop.c storage/loop.h \
storage/storage.c storage/storage.h \ storage/lvm.c storage/lvm.h \
storage/storage_utils.c storage/storage_utils.h \ storage/nbd.c storage/nbd.h \
storage/zfs.c storage/zfs.h \ storage/overlay.c storage/overlay.h \
string_utils.c string_utils.h \ storage/rbd.c storage/rbd.h \
sync.c sync.h \ storage/rsync.c storage/rsync.h \
terminal.c terminal.h \ storage/storage.c storage/storage.h \
utils.c utils.h \ storage/storage_utils.c storage/storage_utils.h \
uuid.c uuid.h \ storage/zfs.c storage/zfs.h \
$(LSM_SOURCES) string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_snapshot_SOURCES += seccomp.c lxcseccomp.h lxc_snapshot_SOURCES += seccomp.c lxcseccomp.h
endif endif
endif
lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c \ lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c \
tools/arguments.c tools/arguments.h \ tools/arguments.c tools/arguments.h
af_unix.c af_unix.h \
caps.c caps.h \ if ENABLE_STATIC_BINARIES
cgroups/cgfsng.c \ lxc_checkpoint_SOURCES += $(liblxc_la_SOURCES)
cgroups/cgroup.c cgroups/cgroup.h \ lxc_checkpoint_LDFLAGS = -all-static -pthread
cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \ else
cgroups/cgroup_utils.c cgroups/cgroup_utils.h \ lxc_checkpoint_SOURCES += af_unix.c af_unix.h \
commands.c commands.h \ caps.c caps.h \
commands_utils.c commands_utils.h \ cgroups/cgfsng.c \
conf.c conf.h \ cgroups/cgroup.c cgroups/cgroup.h \
confile.c confile.h \ cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
confile_utils.c confile_utils.h \ cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
error.c error.h \ commands.c commands.h \
file_utils.c file_utils.h \ commands_utils.c commands_utils.h \
../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \ conf.c conf.h \
initutils.c initutils.h \ confile.c confile.h \
log.c log.h \ confile_utils.c confile_utils.h \
lxclock.c lxclock.h \ error.c error.h \
mainloop.c mainloop.h \ file_utils.c file_utils.h \
monitor.c monitor.h \ ../include/netns_ifaddrs.c ../include/netns_ifaddrs.h \
namespace.c namespace.h \ initutils.c initutils.h \
network.c network.h \ log.c log.h \
nl.c nl.h \ lxclock.c lxclock.h \
parse.c parse.h \ mainloop.c mainloop.h \
process_utils.c process_utils.h \ monitor.c monitor.h \
ringbuf.c ringbuf.h \ namespace.c namespace.h \
start.c start.h \ network.c network.h \
state.c state.h \ nl.c nl.h \
storage/btrfs.c storage/btrfs.h \ parse.c parse.h \
storage/dir.c storage/dir.h \ process_utils.c process_utils.h \
storage/loop.c storage/loop.h \ ringbuf.c ringbuf.h \
storage/lvm.c storage/lvm.h \ start.c start.h \
storage/nbd.c storage/nbd.h \ state.c state.h \
storage/overlay.c storage/overlay.h \ storage/btrfs.c storage/btrfs.h \
storage/rbd.c storage/rbd.h \ storage/dir.c storage/dir.h \
storage/rsync.c storage/rsync.h \ storage/loop.c storage/loop.h \
storage/storage.c storage/storage.h \ storage/lvm.c storage/lvm.h \
storage/storage_utils.c storage/storage_utils.h \ storage/nbd.c storage/nbd.h \
storage/zfs.c storage/zfs.h \ storage/overlay.c storage/overlay.h \
string_utils.c string_utils.h \ storage/rbd.c storage/rbd.h \
sync.c sync.h \ storage/rsync.c storage/rsync.h \
terminal.c terminal.h \ storage/storage.c storage/storage.h \
utils.c utils.h \ storage/storage_utils.c storage/storage_utils.h \
uuid.c uuid.h \ storage/zfs.c storage/zfs.h \
$(LSM_SOURCES) string_utils.c string_utils.h \
sync.c sync.h \
terminal.c terminal.h \
utils.c utils.h \
uuid.c uuid.h \
$(LSM_SOURCES)
if ENABLE_SECCOMP if ENABLE_SECCOMP
lxc_checkpoint_SOURCES += seccomp.c lxcseccomp.h lxc_checkpoint_SOURCES += seccomp.c lxcseccomp.h
endif endif
endif
endif endif
if ENABLE_COMMANDS if ENABLE_COMMANDS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment