2d2586e319025d68b1b96b7429110b272b2f7992
[util-vserver.git] / src / Makefile-files
1 ## $Id: Makefile-files,v 1.1.4.8 2004/02/09 23:18:59 ensc Exp $  -*- makefile -*-
2
3 ## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
4 ##  
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
8 ## any later version.
9 ##  
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##  
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 ##  
19
20 src_HDRS                =  src/vutil.h src/vutil.p \
21                            src/ext2fs.h
22
23 src_pkglib_SCRPTS       =  src/setattr
24 src_pkglib_PRGS         =  src/capchroot \
25                            src/fakerunlevel \
26                            src/filetime \
27                            src/ifspec \
28                            src/listdevip \
29                            src/parserpmdump \
30                            src/readlink \
31                            src/showattr \
32                            src/showperm \
33                            src/vbuild \
34                            src/vcheck \
35                            src/vreboot \
36                            src/vunify
37
38 src_sbin_PRGS           =  src/chbind \
39                            src/chcontext \
40                            src/rebootmgr \
41                            src/reducecap \
42                            src/vlimit \
43                            src/vdu \
44                            src/vfiles \
45                            src/vkill \
46                            src/vserver-stat
47
48 src_GENFILES            =  src/setattr
49
50 src_capchroot_SOURCES           =  src/capchroot.c
51 src_capchroot_LDADD             =  lib/libvserver.a
52
53 src_chbind_SOURCES              =  src/chbind.c
54 src_chbind_LDADD                =  lib/libvserver.a
55
56 src_chcontext_SOURCES           =  src/chcontext.c
57 src_chcontext_LDADD             =  lib/libvserver.a
58
59 src_fakerunlevel_SOURCES        =  src/fakerunlevel.c
60 src_filetime_SOURCES            =  src/filetime.c
61 src_ifspec_SOURCES              =  src/ifspec.c
62 src_listdevip_SOURCES           =  src/listdevip.c
63 src_parserpmdump_SOURCES        =  src/parserpmdump.c
64 src_readlink_SOURCES            =  src/readlink.c
65
66 src_rebootmgr_SOURCES           =  src/rebootmgr.c
67 src_rebootmgr_CPPFLAGS          =  $(AM_CPPFLAGS) -DSBINDIR=\"$(sbindir)\" -DVROOTDIR=\"$(vserverdir)\"
68
69 src_reducecap_SOURCES           =  src/reducecap.c
70 src_reducecap_LDADD             =  lib/libvserver.a
71
72 src_vlimit_SOURCES              =  src/vlimit.c
73 src_vlimit_LDADD                =  lib/libvserver.a
74
75 src_vkill_SOURCES               =  src/vkill.c
76 src_vkill_LDADD                 =  lib/libvserver.a
77 src_vkill_CPPFLAGS              =  $(AM_CPPFLAGS) -DLEGACYDIR=\"$(legacydir)\"
78
79 src_showattr_SOURCES            =  src/showattr.c
80 src_showperm_SOURCES            =  src/showperm.c
81 src_vbuild_SOURCES              =  src/vbuild.cc src/vutil.cc
82 src_vdu_SOURCES                 =  src/vdu.c
83 src_vfiles_SOURCES              =  src/vfiles.cc src/vutil.cc
84 src_vreboot_SOURCES             =  src/vreboot.c
85
86 src_vserver_stat_SOURCES        =  src/vserver-stat.c
87 src_vserver_stat_LDADD          =  lib/libvserver.a
88
89 src_vunify_SOURCES              =  src/vunify.cc src/vutil.cc
90 src_vunify_CPPFLAGS             =  $(AM_CPPFLAGS) -DVROOTDIR=\"$(vserverdir)\"
91 src_vcheck_SOURCES              =  src/vcheck.cc src/vutil.cc
92
93 #install-data-hook:             $(DESTDIR)$(pkglibdir)/setattr
94
95 #$(DESTDIR)$(pkglibdir)/setattr:
96 #                               ln -s showattr '$@'
97
98 src/setattr$(EXEEXT):           src/showattr$(EXEEXT)
99                                 @rm -f '$@'
100                                 ln -s showattr$(EXEEXT) '$@'
101
102 ## Local Variables:
103 ## compile-command: "make -C .. -k"
104 ## End: