blob: 4c72dc941e607a8ffb5392687e6f044428d2f094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
pkginclude_HEADERS = \
arguments.h \
start.h \
console.h \
error.h \
monitor.h \
utils.h \
namespace.h \
caps.h \
lxc.h \
cgroup.h \
conf.h \
list.h \
log.h \
state.h \
attach.h
lib_LTLIBRARIES = liblxc-@VERSION@.la
liblxc_@VERSION@_la_SOURCES = \
arguments.c arguments.h \
commands.c commands.h \
start.c start.h \
stop.c \
execute.c \
monitor.c monitor.h \
console.c \
freezer.c \
checkpoint.c \
restart.c \
error.h error.c \
parse.c parse.h \
cgroup.c cgroup.h \
lxc.h \
utils.c utils.h \
sync.c sync.h \
namespace.h namespace.c \
conf.c conf.h \
confile.c confile.h \
list.h \
state.c state.h \
log.c log.h \
attach.c attach.h \
\
network.c network.h \
nl.c nl.h \
rtnl.c rtnl.h \
genl.c genl.h \
\
caps.c caps.h \
mainloop.c mainloop.h \
af_unix.c af_unix.h \
\
utmp.c utmp.h
AM_CFLAGS=-I$(top_srcdir)/src \
-DLXCROOTFSMOUNT=\"$(LXCROOTFSMOUNT)\" \
-DLXCPATH=\"$(LXCPATH)\" \
-DLXCINITDIR=\"$(LXCINITDIR)\"
liblxc_@VERSION@_la_LDFLAGS = \
-avoid-version
liblxc_@VERSION@_la_LIBADD = -lutil $(CAP_LIBS)
bin_SCRIPTS = \
lxc-ps \
lxc-netstat \
lxc-ls \
lxc-checkconfig \
lxc-setcap \
lxc-setuid \
lxc-version \
lxc-create \
lxc-clone \
lxc-destroy
bin_PROGRAMS = \
lxc-attach \
lxc-unshare \
lxc-stop \
lxc-start \
lxc-execute \
lxc-monitor \
lxc-wait \
lxc-console \
lxc-freeze \
lxc-info \
lxc-cgroup \
lxc-unfreeze \
lxc-checkpoint \
lxc-restart \
lxc-kill
pkglibexec_PROGRAMS = \
lxc-init
LDADD=liblxc-@VERSION@.la
lxc_attach_SOURCES = lxc_attach.c
lxc_cgroup_SOURCES = lxc_cgroup.c
lxc_checkpoint_SOURCES = lxc_checkpoint.c
lxc_console_SOURCES = lxc_console.c
lxc_execute_SOURCES = lxc_execute.c
lxc_freeze_SOURCES = lxc_freeze.c
lxc_info_SOURCES = lxc_info.c
lxc_init_SOURCES = lxc_init.c
lxc_init_LDFLAGS = -all-static
lxc_monitor_SOURCES = lxc_monitor.c
lxc_restart_SOURCES = lxc_restart.c
lxc_start_SOURCES = lxc_start.c
lxc_stop_SOURCES = lxc_stop.c
lxc_unfreeze_SOURCES = lxc_unfreeze.c
lxc_unshare_SOURCES = lxc_unshare.c
lxc_wait_SOURCES = lxc_wait.c
lxc_kill_SOURCES = lxc_kill.c
namespace.c: setns.h
setns.h:
-$(CC) $(CPPFLAGS) -M -MT$@ $(LINUX_DIR)/arch/$(LINUX_SRCARCH)/include/asm/unistd.h >setns.P
-$(CPP) $(CPPFLAGS) -dM $(LINUX_DIR)/arch/$(LINUX_SRCARCH)/include/asm/unistd.h |grep setns > $@
clean-local:
$(RM) setns.h setns.P
-include setns.P
|