Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
8e43f33e
Unverified
Commit
8e43f33e
authored
Jan 22, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autotools: enable static builds for tools
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
014a65ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
176 additions
and
45 deletions
+176
-45
Makefile.am
src/lxc/Makefile.am
+176
-45
No files found.
src/lxc/Makefile.am
View file @
8e43f33e
...
@@ -331,8 +331,13 @@ LDADD = liblxc.la \
...
@@ -331,8 +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
\
if
ENABLE_STATIC_BINARIES
lxc_attach_SOURCES
+=
$(liblxc_la_SOURCES)
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
\
...
@@ -380,10 +385,16 @@ lxc_attach_SOURCES = tools/lxc_attach.c \
...
@@ -380,10 +385,16 @@ lxc_attach_SOURCES = tools/lxc_attach.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_attach_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_attach_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_autostart_SOURCES
=
tools/lxc_autostart.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -430,10 +441,16 @@ lxc_autostart_SOURCES = tools/lxc_autostart.c \
...
@@ -430,10 +441,16 @@ lxc_autostart_SOURCES = tools/lxc_autostart.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_autostart_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_autostart_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_cgroup_SOURCES
=
tools/lxc_cgroup.c
\
lxc_cgroup_SOURCES
=
tools/lxc_cgroup.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
...
@@ -480,10 +497,16 @@ lxc_cgroup_SOURCES = tools/lxc_cgroup.c \
...
@@ -480,10 +497,16 @@ lxc_cgroup_SOURCES = tools/lxc_cgroup.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_cgroup_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_cgroup_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_config_SOURCES
=
tools/lxc_config.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
\
if
ENABLE_STATIC_BINARIES
lxc_config_SOURCES
+=
$(liblxc_la_SOURCES)
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
\
...
@@ -530,10 +553,16 @@ lxc_config_SOURCES = tools/lxc_config.c \
...
@@ -530,10 +553,16 @@ lxc_config_SOURCES = tools/lxc_config.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_config_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_config_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_console_SOURCES
=
tools/lxc_console.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
\
if
ENABLE_STATIC_BINARIES
lxc_console_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_console_LDFLAGS
=
-all-static
-pthread
else
lxc_console_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
\
...
@@ -580,10 +609,16 @@ lxc_console_SOURCES = tools/lxc_console.c \
...
@@ -580,10 +609,16 @@ lxc_console_SOURCES = tools/lxc_console.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_console_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_console_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_destroy_SOURCES
=
tools/lxc_destroy.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
\
if
ENABLE_STATIC_BINARIES
lxc_destroy_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_destroy_LDFLAGS
=
-all-static
-pthread
else
lxc_destroy_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
\
...
@@ -630,10 +665,16 @@ lxc_destroy_SOURCES = tools/lxc_destroy.c \
...
@@ -630,10 +665,16 @@ lxc_destroy_SOURCES = tools/lxc_destroy.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_destroy_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_destroy_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_device_SOURCES
=
tools/lxc_device.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
\
...
@@ -680,10 +721,16 @@ lxc_device_SOURCES = tools/lxc_device.c \
...
@@ -680,10 +721,16 @@ lxc_device_SOURCES = tools/lxc_device.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_device_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_device_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_execute_SOURCES
=
tools/lxc_execute.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
\
if
ENABLE_STATIC_BINARIES
lxc_execute_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_execute_LDFLAGS
=
-all-static
-pthread
else
lxc_execute_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
\
...
@@ -730,10 +777,16 @@ lxc_execute_SOURCES = tools/lxc_execute.c \
...
@@ -730,10 +777,16 @@ lxc_execute_SOURCES = tools/lxc_execute.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_execute_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_execute_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_freeze_SOURCES
=
tools/lxc_freeze.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -780,10 +833,16 @@ lxc_freeze_SOURCES = tools/lxc_freeze.c \
...
@@ -780,10 +833,16 @@ lxc_freeze_SOURCES = tools/lxc_freeze.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_freeze_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_freeze_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_info_SOURCES
=
tools/lxc_info.c
\
lxc_info_SOURCES
=
tools/lxc_info.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
...
@@ -830,10 +889,16 @@ lxc_info_SOURCES = tools/lxc_info.c \
...
@@ -830,10 +889,16 @@ lxc_info_SOURCES = tools/lxc_info.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_info_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_info_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_monitor_SOURCES
=
tools/lxc_monitor.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
\
if
ENABLE_STATIC_BINARIES
lxc_monitor_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_monitor_LDFLAGS
=
-all-static
-pthread
else
lxc_monitor_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
\
...
@@ -881,10 +946,16 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \
...
@@ -881,10 +946,16 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_monitor_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_monitor_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_ls_SOURCES
=
tools/lxc_ls.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
\
...
@@ -932,10 +1003,16 @@ lxc_ls_SOURCES = tools/lxc_ls.c \
...
@@ -932,10 +1003,16 @@ lxc_ls_SOURCES = tools/lxc_ls.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_ls_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_ls_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_copy_SOURCES
=
tools/lxc_copy.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
\
if
ENABLE_STATIC_BINARIES
lxc_copy_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_copy_LDFLAGS
=
-all-static
-pthread
else
lxc_copy_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
\
...
@@ -982,10 +1059,16 @@ lxc_copy_SOURCES = tools/lxc_copy.c \
...
@@ -982,10 +1059,16 @@ lxc_copy_SOURCES = tools/lxc_copy.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_copy_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_copy_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_start_SOURCES
=
tools/lxc_start.c
\
lxc_start_SOURCES
=
tools/lxc_start.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1032,10 +1115,16 @@ lxc_start_SOURCES = tools/lxc_start.c \
...
@@ -1032,10 +1115,16 @@ lxc_start_SOURCES = tools/lxc_start.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_start_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_start_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_stop_SOURCES
=
tools/lxc_stop.c
\
lxc_stop_SOURCES
=
tools/lxc_stop.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1082,10 +1171,16 @@ lxc_stop_SOURCES = tools/lxc_stop.c \
...
@@ -1082,10 +1171,16 @@ lxc_stop_SOURCES = tools/lxc_stop.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_stop_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_stop_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_top_SOURCES
=
tools/lxc_top.c
\
lxc_top_SOURCES
=
tools/lxc_top.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1132,10 +1227,16 @@ lxc_top_SOURCES = tools/lxc_top.c \
...
@@ -1132,10 +1227,16 @@ lxc_top_SOURCES = tools/lxc_top.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_top_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_top_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_unfreeze_SOURCES
=
tools/lxc_unfreeze.c
\
lxc_unfreeze_SOURCES
=
tools/lxc_unfreeze.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1182,10 +1283,16 @@ lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \
...
@@ -1182,10 +1283,16 @@ lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_unfreeze_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_unfreeze_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_unshare_SOURCES
=
tools/lxc_unshare.c
\
lxc_unshare_SOURCES
=
tools/lxc_unshare.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1234,10 +1341,16 @@ lxc_unshare_SOURCES = tools/lxc_unshare.c \
...
@@ -1234,10 +1341,16 @@ lxc_unshare_SOURCES = tools/lxc_unshare.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_unshare_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_unshare_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_wait_SOURCES
=
tools/lxc_wait.c
\
lxc_wait_SOURCES
=
tools/lxc_wait.c
\
tools/arguments.c tools/arguments.h
\
tools/arguments.c tools/arguments.h
af_unix.c af_unix.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
\
caps.c caps.h
\
cgroups/cgfsng.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
cgroups/cgroup.c cgroups/cgroup.h
\
...
@@ -1284,10 +1397,16 @@ lxc_wait_SOURCES = tools/lxc_wait.c \
...
@@ -1284,10 +1397,16 @@ lxc_wait_SOURCES = tools/lxc_wait.c \
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_wait_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_wait_SOURCES
+=
seccomp.c lxcseccomp.h
endif
endif
endif
lxc_create_SOURCES
=
tools/lxc_create.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
\
...
@@ -1334,10 +1453,16 @@ lxc_create_SOURCES = tools/lxc_create.c \
...
@@ -1334,10 +1453,16 @@ lxc_create_SOURCES = tools/lxc_create.c \
if
ENABLE_SECCOMP
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
\
if
ENABLE_STATIC_BINARIES
lxc_snapshot_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_snapshot_LDFLAGS
=
-all-static
-pthread
else
lxc_snapshot_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
\
...
@@ -1384,10 +1509,16 @@ lxc_snapshot_SOURCES = tools/lxc_snapshot.c \
...
@@ -1384,10 +1509,16 @@ lxc_snapshot_SOURCES = tools/lxc_snapshot.c \
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
\
if
ENABLE_STATIC_BINARIES
lxc_checkpoint_SOURCES
+=
$(liblxc_la_SOURCES)
lxc_checkpoint_LDFLAGS
=
-all-static
-pthread
else
lxc_checkpoint_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
\
...
@@ -1434,7 +1565,7 @@ lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c \
...
@@ -1434,7 +1565,7 @@ lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c \
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment