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