]> git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/Makefile.am
cleanup list.h
[mirror_lxc.git] / src / lxc / Makefile.am
1 INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"$(localstatedir)/lxc\"" \
2 -DLXCBINDIR="\"$(bindir)\"" \
3 -DLXCLIBEXECDIR="\"$(libexecdir)\""
4 AM_LDFLAGS= -lutil
5 lib_LTLIBRARIES = liblxc.la
6 pkginclude_HEADERS = \
7 monitor.h \
8 utils.h \
9 namespace.h \
10 lock.h \
11 lxc.h \
12 cgroup.h \
13 conf.h \
14 list.h \
15 log.h \
16 lxc_state.h
17
18
19 liblxc_la_SOURCES = \
20 create.c \
21 destroy.c \
22 start.c \
23 stop.c \
24 monitor.c monitor.h \
25 console.c \
26 freezer.c \
27 checkpoint.c \
28 restart.c \
29 version.c \
30 error.h error.c \
31 parse.c parse.h \
32 cgroup.c cgroup.h \
33 lxc.h \
34 lxc_utils.h \
35 lock.c lock.h \
36 namespace.h \
37 conf.c conf.h \
38 list.h \
39 lxc_state.c lxc_state.h \
40 log.c log.h \
41 \
42 network.c network.h \
43 nl.c nl.h \
44 rtnl.c rtnl.h \
45 genl.c genl.h \
46 \
47 mainloop.c mainloop.h \
48 af_unix.c af_unix.h \
49 \
50 cr_plugin_columbia.c lxc_plugin.h
51
52 liblxc_la_LDFLAGS = -release @PACKAGE_VERSION@
53
54 bin_SCRIPTS = \
55 lxc-ps \
56 lxc-netstat \
57 lxc-ls \
58 lxc-checkconfig \
59 lxc-setcap
60
61 bin_PROGRAMS = \
62 lxc-unshare \
63 lxc-create \
64 lxc-destroy \
65 lxc-stop \
66 lxc-start \
67 lxc-execute \
68 lxc-monitor \
69 lxc-wait \
70 lxc-console \
71 lxc-freeze \
72 lxc-info \
73 lxc-cgroup \
74 lxc-unfreeze \
75 lxc-checkpoint \
76 lxc-restart \
77 lxc-version
78
79 libexec_PROGRAMS = \
80 lxc-init
81
82 lxc_unshare_SOURCES = lxc_unshare.c
83 lxc_unshare_LDADD = liblxc.la
84
85 lxc_init_SOURCES = lxc_init.c
86 lxc_init_LDADD = liblxc.la
87
88 lxc_create_SOURCES = lxc_create.c lxc_config.c lxc_config.h
89 lxc_create_LDADD = liblxc.la
90
91 lxc_destroy_SOURCES = lxc_destroy.c
92 lxc_destroy_LDADD = liblxc.la
93
94 lxc_start_SOURCES = lxc_start.c
95 lxc_start_LDADD = liblxc.la
96
97 lxc_stop_SOURCES = lxc_stop.c
98 lxc_stop_LDADD = liblxc.la
99
100 lxc_execute_SOURCES = lxc_execute.c lxc_config.c lxc_config.h
101 lxc_execute_LDADD = liblxc.la
102
103 lxc_monitor_SOURCES = lxc_monitor.c
104 lxc_monitor_LDADD = liblxc.la
105
106 lxc_wait_SOURCES = lxc_wait.c
107 lxc_wait_LDADD = liblxc.la
108
109 lxc_console_SOURCES = lxc_console.c
110 lxc_console_LDADD = liblxc.la
111
112 lxc_info_SOURCES = lxc_info.c
113 lxc_info_LDADD = liblxc.la
114
115 lxc_freeze_SOURCES = lxc_freeze.c
116 lxc_freeze_LDADD = liblxc.la
117
118 lxc_unfreeze_SOURCES = lxc_unfreeze.c
119 lxc_unfreeze_LDADD = liblxc.la
120
121 lxc_cgroup_SOURCES = lxc_cgroup.c
122 lxc_cgroup_LDADD = liblxc.la
123
124 lxc_checkpoint_SOURCES = lxc_checkpoint.c
125 lxc_checkpoint_LDADD = liblxc.la
126
127 lxc_restart_SOURCES = lxc_restart.c
128 lxc_restart_LDADD = liblxc.la
129
130 lxc_version_SOURCES = lxc_version.c
131 lxc_version_LDADD = liblxc.la
132
133 install-exec-local:
134 @mkdir -p $(localstatedir) && mkdir -p $(prefix)/var/lxc && \
135 chmod ugo+rw $(prefix)/var/lxc