17
# use PROGRAMS to avoid complains from automake
18
so_PROGRAMS = liblxc.so
21
arguments.c arguments.h \
22
commands.c commands.h \
36
namespace.h namespace.c \
49
mainloop.c mainloop.h \
54
AM_CFLAGS=-I$(top_srcdir)/src
56
liblxc_so_CFLAGS = -fPIC -DPIC $(AM_CFLAGS)
60
-Wl,-soname,liblxc.so.$(firstword $(subst ., ,$(VERSION)))
62
liblxc_so_LDADD = -lutil
95
AM_LDFLAGS=-Wl,-E -Wl,-rpath -Wl,$(libdir)
96
LDADD=liblxc.so @CAP_LIBS@
98
lxc_attach_SOURCES = lxc_attach.c
99
lxc_cgroup_SOURCES = lxc_cgroup.c
100
lxc_checkpoint_SOURCES = lxc_checkpoint.c
101
lxc_console_SOURCES = lxc_console.c
102
lxc_execute_SOURCES = lxc_execute.c
103
lxc_freeze_SOURCES = lxc_freeze.c
104
lxc_info_SOURCES = lxc_info.c
105
lxc_init_SOURCES = lxc_init.c
106
lxc_monitor_SOURCES = lxc_monitor.c
107
lxc_restart_SOURCES = lxc_restart.c
108
lxc_start_SOURCES = lxc_start.c
109
lxc_stop_SOURCES = lxc_stop.c
110
lxc_unfreeze_SOURCES = lxc_unfreeze.c
111
lxc_unshare_SOURCES = lxc_unshare.c
112
lxc_wait_SOURCES = lxc_wait.c
113
lxc_kill_SOURCES = lxc_kill.c
115
install-exec-local: install-soPROGRAMS
116
mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
117
/sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
118
cd $(DESTDIR)$(libdir); \
119
ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
122
$(RM) $(DESTDIR)$(libdir)/liblxc.so*