~serge-hallyn/ubuntu/natty/lxc/lxc-fix-3bugs

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.7.2-1/src/lxc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-08-04 13:23:42 UTC
  • mfrom: (1.1.5 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100804132342-ds4lm3oaroeoxfxx
Tags: 0.7.2-1
* New upstream version
* Convert libcap dependency to versioned (closes: #571527)
* Bump up standards version to 3.9.0
* Fix too-deep /usr/lib/lxc/lxc path (closes: #587847)
* Add init script (closes: #573830)
  Thanks to Przemysław Knycz <pknycz@kolnet.eu> for the base example
* Bump up standards version (3.9.1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
pkginclude_HEADERS = \
 
2
                start.h \
 
3
                console.h \
 
4
                error.h \
 
5
                monitor.h \
 
6
                utils.h \
 
7
                namespace.h \
 
8
                caps.h \
 
9
                lxc.h \
 
10
                cgroup.h \
 
11
                conf.h \
 
12
                list.h \
 
13
                log.h \
 
14
                state.h
 
15
 
 
16
sodir=$(libdir)
 
17
# use PROGRAMS to avoid complains from automake
 
18
so_PROGRAMS = liblxc.so
 
19
 
 
20
liblxc_so_SOURCES = \
 
21
        arguments.c arguments.h \
 
22
        commands.c commands.h \
 
23
        start.c start.h \
 
24
        stop.c \
 
25
        monitor.c monitor.h \
 
26
        console.c \
 
27
        freezer.c \
 
28
        checkpoint.c \
 
29
        restart.c \
 
30
        error.h error.c \
 
31
        parse.c parse.h \
 
32
        cgroup.c cgroup.h \
 
33
        lxc.h \
 
34
        utils.c utils.h \
 
35
        sync.c sync.h \
 
36
        namespace.h namespace.c \
 
37
        conf.c conf.h \
 
38
        confile.c confile.h \
 
39
        list.h \
 
40
        state.c state.h \
 
41
        log.c log.h \
 
42
        \
 
43
        network.c network.h \
 
44
        nl.c nl.h \
 
45
        rtnl.c rtnl.h \
 
46
        genl.c genl.h \
 
47
        \
 
48
        caps.c caps.h \
 
49
        mainloop.c mainloop.h \
 
50
        af_unix.c af_unix.h \
 
51
        \
 
52
        utmp.c utmp.h
 
53
 
 
54
AM_CFLAGS=-I$(top_srcdir)/src
 
55
 
 
56
liblxc_so_CFLAGS = -fPIC -DPIC $(AM_CFLAGS)
 
57
 
 
58
liblxc_so_LDFLAGS = \
 
59
        -shared \
 
60
        -Wl,-soname,liblxc.so.$(firstword $(subst ., ,$(VERSION)))
 
61
 
 
62
liblxc_so_LDADD = -lutil
 
63
 
 
64
bin_SCRIPTS = \
 
65
        lxc-ps \
 
66
        lxc-netstat \
 
67
        lxc-ls \
 
68
        lxc-checkconfig \
 
69
        lxc-setcap \
 
70
        lxc-setuid \
 
71
        lxc-version \
 
72
        lxc-create \
 
73
        lxc-destroy
 
74
 
 
75
bin_PROGRAMS = \
 
76
        lxc-attach \
 
77
        lxc-unshare \
 
78
        lxc-stop \
 
79
        lxc-start \
 
80
        lxc-execute \
 
81
        lxc-monitor \
 
82
        lxc-wait \
 
83
        lxc-console \
 
84
        lxc-freeze \
 
85
        lxc-info \
 
86
        lxc-cgroup \
 
87
        lxc-unfreeze \
 
88
        lxc-checkpoint \
 
89
        lxc-restart \
 
90
        lxc-kill
 
91
 
 
92
pkglib_PROGRAMS = \
 
93
        lxc-init
 
94
 
 
95
AM_LDFLAGS=-Wl,-E -Wl,-rpath -Wl,$(libdir)
 
96
LDADD=liblxc.so @CAP_LIBS@
 
97
 
 
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
 
114
 
 
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
 
120
 
 
121
uninstall-local:
 
122
        $(RM) $(DESTDIR)$(libdir)/liblxc.so*