added h2ext-worker to OPTIONS_PREEMPT list
[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/h2ext-worker \
32                                 scripts/legacy/distrib-info \
33                                 scripts/legacy/vps \
34                                 scripts/legacy/save_s_context \
35                                 scripts/legacy/vserver \
36                                 scripts/legacy/rootshell \
37                                 scripts/legacy/vserver-copy \
38                                 scripts/legacy/vserverkillall
39
40
41 scripts_pkglib_src_DTA =        scripts/functions \
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.rsync \
50                                 scripts/vserver-build.clone \
51                                 scripts/vserver-build.functions \
52                                 scripts/vserver-build.functions.apt \
53                                 scripts/vserver-build.functions.rpm \
54                                 scripts/vserver-build.functions.pkgmgmt \
55                                 scripts/vserver-build.functions.yum \
56                                 scripts/vserver-setup.functions \
57                                 scripts/vserver.functions \
58                                 scripts/vserver.start \
59                                 scripts/vserver.stop \
60                                 scripts/vserver.suexec \
61                                 scripts/vserver.delete \
62                                 scripts/vserver-init.functions
63
64 scripts_pkglib_gen_DTA =        scripts/util-vserver-vars
65
66 scripts_pkglib_src_SCRPTS =     scripts/pkgmgmt \
67                                 scripts/vapt-get-worker \
68                                 scripts/vpkg \
69                                 scripts/vrpm-worker \
70                                 scripts/vrpm-preload \
71                                 scripts/start-vservers \
72                                 scripts/vprocunhide \
73                                 scripts/vserver-build \
74                                 scripts/vserver-wrapper \
75                                 scripts/vservers.grabinfo.sh \
76                                 scripts/vshelper \
77                                 scripts/vsysvwrapper \
78                                 scripts/vyum-worker \
79                                 scripts/h2ext-worker
80
81 scripts_legacy_src_SCRPTS =     scripts/legacy/save_s_context \
82                                 scripts/legacy/vserver \
83                                 scripts/legacy/rootshell \
84                                 scripts/legacy/distrib-info \
85                                 scripts/legacy/vserverkillall
86 scripts_legacy_gen_SCRPTS =     scripts/legacy/vps
87 scripts_legacy_src_PRGS =       scripts/legacy/vserver-copy
88
89 scripts_sbin_src_PRGS =         scripts/chbind \
90                                 scripts/chcontext \
91                                 scripts/vapt-get \
92                                 scripts/vdispatch-conf \
93                                 scripts/vemerge \
94                                 scripts/vesync \
95                                 scripts/vpstree \
96                                 scripts/vrpm \
97                                 scripts/vserver \
98                                 scripts/vsomething \
99                                 scripts/vtop \
100                                 scripts/vupdateworld \
101                                 scripts/vyum \
102                                 scripts/vmount
103
104 scripts_sbin_gen_PRGS =
105 scripts_sbincfg_gen_DTA =
106
107 scripts_subst_SRCS =            scripts/util-vserver-vars.pathsubst \
108                                 scripts/legacy/vps.pathsubst
109
110
111
112 sbin_SCRIPTS +=                 $(scripts_sbin_src_PRGS) $(scripts_sbin_gen_PRGS) \
113                                 $(scripts_legacy_src_PRGS)
114 scripts_sbincfg_DTA =           $(scripts_sbincfg_gen_DTA)
115 pkglib_SCRIPTS +=               $(scripts_pkglib_src_SCRPTS)
116 legacy_SCRIPTS +=               $(scripts_legacy_src_SCRPTS) $(scripts_legacy_gen_SCRPTS)
117 pkglib_DATA +=                  $(scripts_pkglib_src_DTA) $(scripts_pkglib_gen_DTA)
118
119 CLEANFILES +=                   $(scripts_pkglib_gen_DTA) \
120                                 $(scripts_sbin_gen_PRGS) \
121                                 $(scripts_sbincfg_gen_DTA) \
122                                 $(scripts_legacy_gen_SCRPTS)
123
124 EXTRA_DIST +=                   $(scripts_pkglib_src_DTA) \
125                                 $(scripts_pkglib_src_SCRPTS) \
126                                 $(scripts_legacy_src_SCRPTS) \
127                                 $(scripts_legacy_src_PRGS) \
128                                 $(scripts_sbin_src_PRGS) \
129                                 $(scripts_subst_SRCS)
130
131 scripts/util-vserver-vars:      scripts/.util-vserver-vars.pathsubst.stamp
132 scripts/legacy/vps:             scripts/legacy/.vps.pathsubst.stamp