cvsignore-happiness-20060801
[openafs.git] / src / wsadmin.src / Makefile.in
1 ##XLATE_MANUAL##
2 #
3 # Makefile for the wsadmin src directory, the place where package files
4 # are generated.
5 #
6 # Copyright 2000, International Business Machines Corporation and others.
7 # All Rights Reserved.
8
9 # This software has been released under the terms of the IBM Public
10 # License.  For details, see the LICENSE file in the top-level source
11 # directory or online at http://www.openafs.org/dl/license10.html
12 #
13 srcdir=@srcdir@
14 include @TOP_OBJDIR@/src/config/Makefile.config
15
16
17 CONFIG = \
18         staff.aix_22 \
19         staff.pmax_31 \
20         staff.rt_r4 \
21         staff.dkload.rt_r4 \
22         staff.sun3_35 \
23         staff.sun3_40 \
24         staff.sun3_40x \
25         staff.sun4_40 \
26         staff.sun4_40c \
27         staff.vax_30
28
29 BASE_LIBS = \
30         ${wsadmin}/src/admin \
31         ${wsadmin}/lib/devel \
32         ${wsadmin}/lib/base.generic
33
34 MACHINE_LIBS = \
35         ${wsadmin}/lib/aix_22.generic \
36         ${wsadmin}/lib/aix_22.generic.dev \
37         ${wsadmin}/lib/aix_22.readonly \
38         ${wsadmin}/lib/aix_22.readwrite \
39  \
40         ${wsadmin}/lib/rt_r4.generic \
41         ${wsadmin}/lib/rt_r4.generic.dev \
42         ${wsadmin}/lib/rt_r4.generic.dkload \
43         ${wsadmin}/lib/rt_r4.generic.printer \
44         ${wsadmin}/lib/rt_r4.readonly \
45         ${wsadmin}/lib/rt_r4.readwrite \
46  \
47         ${wsadmin}/lib/pmax_31.generic \
48         ${wsadmin}/lib/pmax_31.generic.dev \
49         ${wsadmin}/lib/pmax_31.readonly \
50         ${wsadmin}/lib/pmax_31.readwrite \
51  \
52         ${wsadmin}/lib/sun3_35.generic \
53         ${wsadmin}/lib/sun3_35.generic.dev \
54         ${wsadmin}/lib/sun3_35.readonly \
55         ${wsadmin}/lib/sun3_35.readwrite \
56  \
57         ${wsadmin}/lib/sun3_40.generic \
58         ${wsadmin}/lib/sun3_40.generic.dev \
59         ${wsadmin}/lib/sun3_40.readonly \
60         ${wsadmin}/lib/sun3_40.readwrite \
61  \
62         ${wsadmin}/lib/sun3_40x.generic \
63         ${wsadmin}/lib/sun3_40x.generic.dev \
64         ${wsadmin}/lib/sun3_40x.readonly \
65         ${wsadmin}/lib/sun3_40x.readwrite \
66  \
67         ${wsadmin}/lib/sun4_40.generic \
68         ${wsadmin}/lib/sun4_40.generic.dev \
69         ${wsadmin}/lib/sun4_40.readonly \
70         ${wsadmin}/lib/sun4_40.readwrite \
71  \
72         ${wsadmin}/lib/sun4_40c.generic \
73         ${wsadmin}/lib/sun4_40c.generic.dev \
74         ${wsadmin}/lib/sun4_40c.readonly \
75         ${wsadmin}/lib/sun4_40c.readwrite \
76  \
77         ${wsadmin}/lib/vax_30.generic \
78         ${wsadmin}/lib/vax_30.generic.dev \
79         ${wsadmin}/lib/vax_30.readonly \
80         ${wsadmin}/lib/vax_30.readwrite
81
82 LIBS = ${MACHINE_LIBS} ${BASE_LIBS}
83
84 .SUFFIXES: .aix_22 \
85                 .pmax_31 \
86                 .rt_r4 \
87                 .proto \
88                 .sun3_35 \
89                 .sun3_40 \
90                 .sun3_40x \
91                 .sun4_40 \
92                 .sun4_40c \
93                 .vax_30
94
95 .proto.aix_22:  ; mpp -Dwsadmin=${wsadmin} -Dsys=aix_22  -Dname=$* $*.proto > $@
96 .proto.pmax_31: ; mpp -Dwsadmin=${wsadmin} -Dsys=pmax_31 -Dname=$* $*.proto > $@
97 .proto.rt_r4:   ; mpp -Dwsadmin=${wsadmin} -Dsys=rt_r4   -Dname=$* $*.proto > $@
98 .proto.sun3_35: ; mpp -Dwsadmin=${wsadmin} -Dsys=sun3_35 -Dname=$* $*.proto > $@
99 .proto.sun3_40: ; mpp -Dwsadmin=${wsadmin} -Dsys=sun3_40 -Dname=$* $*.proto > $@
100 .proto.sun3_40x: ; mpp -Dwsadmin=${wsadmin} -Dsys=sun3_40x -Dname=$* $*.proto > $@
101 .proto.sun4_40: ; mpp -Dwsadmin=${wsadmin} -Dsys=sun4_40 -Dname=$* $*.proto > $@
102 .proto.sun4_40c: ; mpp -Dwsadmin=${wsadmin} -Dsys=sun4_40c -Dname=$* $*.proto > $@
103 .proto.vax_30:  ; mpp -Dwsadmin=${wsadmin} -Dsys=vax_30  -Dname=$* $*.proto > $@
104
105 all: ${CONFIG}
106
107 ${CONFIG}: ${LIBS}
108
109 system: install
110
111 install: ${CONFIG}
112         cp ${CONFIG} ${wsadmin}/etc
113
114 clean:
115         $(RM) -f ${CONFIG} *.BAK *.CKP