Break up the old chbind into ncontext, nattribute, and naddress.
[util-vserver.git] / scripts / Makefile-files
1 ## $Id$  -*- 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 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT += \
21                                 scripts/vapt-get-worker \
22                                 scripts/vrpm-worker \
23                                 scripts/vyum-worker \
24                                 scripts/vrpm-preload \
25                                 scripts/save_s_context \
26                                 scripts/vservers.grabinfo.sh \
27                                 scripts/vpstree \
28                                 scripts/vserver-wrapper \
29                                 scripts/vsysvwrapper \
30                                 scripts/vtop \
31                                 scripts/legacy/distrib-info \
32                                 scripts/legacy/vps \
33                                 scripts/legacy/save_s_context \
34                                 scripts/legacy/vserver \
35                                 scripts/legacy/rootshell \
36                                 scripts/legacy/vserver-copy \
37                                 scripts/legacy/vserverkillall
38
39
40 scripts_pkglib_src_DTA =        scripts/functions \
41                                 scripts/magic.mime \
42                                 scripts/vserver-build.apt-rpm \
43                                 scripts/vserver-build.skeleton \
44                                 scripts/vserver-build.debootstrap \
45                                 scripts/vserver-build.fai \
46                                 scripts/vserver-build.rpm \
47                                 scripts/vserver-build.yum \
48                                 scripts/vserver-build.template \
49                                 scripts/vserver-build.functions \
50                                 scripts/vserver-build.functions.apt \
51                                 scripts/vserver-build.functions.rpm \
52                                 scripts/vserver-build.functions.pkgmgmt \
53                                 scripts/vserver-build.functions.yum \
54                                 scripts/vserver-setup.functions \
55                                 scripts/vserver.functions \
56                                 scripts/vserver.start \
57                                 scripts/vserver.stop \
58                                 scripts/vserver.suexec \
59                                 scripts/vserver.delete
60
61 scripts_pkglib_gen_DTA =        scripts/util-vserver-vars
62
63 scripts_pkglib_src_SCRPTS =     scripts/pkgmgmt \
64                                 scripts/vapt-get-worker \
65                                 scripts/vpkg \
66                                 scripts/vrpm-worker \
67                                 scripts/vrpm-preload \
68                                 scripts/start-vservers \
69                                 scripts/vprocunhide \
70                                 scripts/vserver-build \
71                                 scripts/vserver-wrapper \
72                                 scripts/vservers.grabinfo.sh \
73                                 scripts/vshelper \
74                                 scripts/vsysvwrapper \
75                                 scripts/vyum-worker
76
77 scripts_legacy_src_SCRPTS =     scripts/legacy/save_s_context \
78                                 scripts/legacy/vserver \
79                                 scripts/legacy/rootshell \
80                                 scripts/legacy/distrib-info \
81                                 scripts/legacy/vserverkillall
82 scripts_legacy_gen_SCRPTS =     scripts/legacy/vps
83 scripts_legacy_src_PRGS =       scripts/legacy/vserver-copy
84
85 scripts_sbin_src_PRGS =         scripts/chbind \
86                                 scripts/chcontext \
87                                 scripts/vapt-get \
88                                 scripts/vdispatch-conf \
89                                 scripts/vemerge \
90                                 scripts/vesync \
91                                 scripts/vpstree \
92                                 scripts/vrpm \
93                                 scripts/vserver \
94                                 scripts/vsomething \
95                                 scripts/vtop \
96                                 scripts/vupdateworld \
97                                 scripts/vyum
98
99 scripts_sbin_gen_PRGS =
100 scripts_sbincfg_gen_DTA =
101
102 scripts_subst_SRCS =            scripts/util-vserver-vars.pathsubst \
103                                 scripts/legacy/vps.pathsubst
104
105
106
107 sbin_SCRIPTS +=                 $(scripts_sbin_src_PRGS) $(scripts_sbin_gen_PRGS) \
108                                 $(scripts_legacy_src_PRGS)
109 scripts_sbincfg_DTA =           $(scripts_sbincfg_gen_DTA)
110 pkglib_SCRIPTS +=               $(scripts_pkglib_src_SCRPTS)
111 legacy_SCRIPTS +=               $(scripts_legacy_src_SCRPTS) $(scripts_legacy_gen_SCRPTS)
112 pkglib_DATA +=                  $(scripts_pkglib_src_DTA) $(scripts_pkglib_gen_DTA)
113
114 CLEANFILES +=                   $(scripts_pkglib_gen_DTA) \
115                                 $(scripts_sbin_gen_PRGS) \
116                                 $(scripts_sbincfg_gen_DTA) \
117                                 $(scripts_legacy_gen_SCRPTS)
118
119 EXTRA_DIST +=                   $(scripts_pkglib_src_DTA) \
120                                 $(scripts_pkglib_src_SCRPTS) \
121                                 $(scripts_legacy_src_SCRPTS) \
122                                 $(scripts_legacy_src_PRGS) \
123                                 $(scripts_sbin_src_PRGS) \
124                                 $(scripts_subst_SRCS)
125
126 scripts/util-vserver-vars:      scripts/.util-vserver-vars.pathsubst.stamp
127 scripts/legacy/vps:             scripts/legacy/.vps.pathsubst.stamp