This commit was manufactured by cvs2svn to create tag
[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/vdu \
43                            src/vsh \
44                            src/vdlimit \
45                            src/vfiles \
46                            src/vkill \
47                            src/vserver-stat
48
49
50 src_sbin_PRGS_broken    =  src/vlimit
51
52
53 src_GENFILES            =  src/setattr
54
55 src_capchroot_SOURCES           =  src/capchroot.c
56 src_capchroot_LDADD             =  lib/libvserver.a
57
58 src_chbind_SOURCES              =  src/chbind.c
59 src_chbind_LDADD                =  lib/libvserver.a
60
61 src_chcontext_SOURCES           =  src/chcontext.c
62 src_chcontext_LDADD             =  lib/libvserver.a
63
64 src_fakerunlevel_SOURCES        =  src/fakerunlevel.c
65 src_filetime_SOURCES            =  src/filetime.c
66 src_ifspec_SOURCES              =  src/ifspec.c
67 src_listdevip_SOURCES           =  src/listdevip.c
68 src_parserpmdump_SOURCES        =  src/parserpmdump.c
69 src_readlink_SOURCES            =  src/readlink.c
70
71 src_rebootmgr_SOURCES           =  src/rebootmgr.c
72 src_rebootmgr_CPPFLAGS          =  $(AM_CPPFLAGS) -DSBINDIR=\"$(sbindir)\" -DVROOTDIR=\"$(vserverdir)\"
73
74 src_reducecap_SOURCES           =  src/reducecap.c
75 src_reducecap_LDADD             =  lib/libvserver.a
76
77 src_vlimit_SOURCES              =  src/vlimit.c
78 src_vlimit_LDADD                =  lib/libvserver.a
79
80 src_vkill_SOURCES               =  src/vkill.c
81 src_vkill_LDADD                 =  lib/libvserver.a
82 src_vkill_CPPFLAGS              =  $(AM_CPPFLAGS) -DLEGACYDIR=\"$(legacydir)\"
83
84 src_vsh_SOURCES                 =  src/vsh.c
85 src_vsh_LDADD                   =  lib/libvserver.a
86
87 src_vdlimit_SOURCES             =  src/vdlimit.c
88 src_vdlimit_LDADD               =  lib/libvserver.a
89
90 src_showattr_SOURCES            =  src/showattr.c
91 src_showperm_SOURCES            =  src/showperm.c
92 src_vbuild_SOURCES              =  src/vbuild.cc src/vutil.cc
93 src_vdu_SOURCES                 =  src/vdu.c
94 src_vfiles_SOURCES              =  src/vfiles.cc src/vutil.cc
95 src_vreboot_SOURCES             =  src/vreboot.c
96
97 src_vserver_stat_SOURCES        =  src/vserver-stat.c
98 src_vserver_stat_LDADD          =  lib/libvserver.a
99
100 src_vunify_SOURCES              =  src/vunify.cc src/vutil.cc
101 src_vunify_CPPFLAGS             =  $(AM_CPPFLAGS) -DVROOTDIR=\"$(vserverdir)\"
102 src_vcheck_SOURCES              =  src/vcheck.cc src/vutil.cc
103
104 #install-data-hook:             $(DESTDIR)$(pkglibdir)/setattr
105
106 #$(DESTDIR)$(pkglibdir)/setattr:
107 #                               ln -s showattr '$@'
108
109 src/setattr$(EXEEXT):           src/showattr$(EXEEXT)
110                                 @rm -f '$@'
111                                 ln -s showattr$(EXEEXT) '$@'
112
113 ## Local Variables:
114 ## compile-command: "make -C .. -k"
115 ## End: