~ubuntu-branches/ubuntu/gutsy/openafs/gutsy

« back to all changes in this revision

Viewing changes to src/fsint/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2000, International Business Machines Corporation and others.
 
2
# All Rights Reserved.
 
3
 
4
# This software has been released under the terms of the IBM Public
 
5
# License.  For details, see the LICENSE file in the top-level source
 
6
# directory or online at http://www.openafs.org/dl/license10.html
 
7
 
 
8
DEST=@DEST@
 
9
TOP_INCDIR=@TOP_INCDIR@
 
10
TOP_LIBDIR=@TOP_LIBDIR@
 
11
prefix=@prefix@
 
12
exec_prefix=@exec_prefix@
 
13
bindir=@bindir@
 
14
sbindir=@sbindir@
 
15
libexecdir=@libexecdir@
 
16
libdir=@libdir@
 
17
includedir=@includedir@
 
18
mandir=@mandir@
 
19
afssrvbindir=@afssrvbindir@
 
20
afssrvsbindir=@afssrvsbindir@
 
21
afssrvlibexecdir=@afssrvlibexecdir@
 
22
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
 
23
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
 
24
TOP_SRCDIR=@TOP_SRCDIR@
 
25
SYS_NAME=@AFS_SYSNAME@
 
26
 
 
27
 
 
28
include ../config/Makefile.${SYS_NAME}
 
29
SHELL = /bin/sh
 
30
KERNELDIR = ../libafs
 
31
UKERNELDIR = ../libuafs
 
32
 
 
33
OBJS=afsaux.o afscbint.cs.o afscbint.ss.o afscbint.xdr.o afsint.cs.o afsint.ss.o afsint.xdr.o
 
34
CFLAGS=${DBUG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
 
35
KDSRCS=Kcallback.ss.c Kcallback.h Kvice.cs.c Kvice.h Kvice.xdr.c afscbint.h \
 
36
afsint.h
 
37
KSRCS=${KDSRCS} afsaux.c
 
38
UKSRCS=${KSRCS}
 
39
UTILS=${RXGEN}
 
40
 
 
41
include ../config/Makefile.version
 
42
 
 
43
noversion: install
 
44
 
 
45
all: kinstall ukinstall ${TOP_LIBDIR}/libafsint.a ${TOP_INCDIR}/afs/afsint.h ${TOP_INCDIR}/afs/afscbint.h
 
46
 
 
47
libafsint.a: ${OBJS} AFS_component_version_number.o
 
48
        -$(RM) -f $@
 
49
        $(AR) crv $@ ${OBJS} AFS_component_version_number.o
 
50
        $(RANLIB) $@
 
51
 
 
52
afsaux.o: afsaux.c afsint.h
 
53
 
 
54
Kcallback.cs.c: common.xg afscbint.xg Kvice.h Kcallback.h $(UTILS)
 
55
        ${RXGEN} -x -k -C -o Kcallback.cs.c afscbint.xg
 
56
 
 
57
Kcallback.ss.c: common.xg afscbint.xg Kvice.h Kcallback.h $(UTILS)
 
58
        ${RXGEN} -x -k -S -o Kcallback.ss.c afscbint.xg
 
59
 
 
60
Kcallback.xdr.c: common.xg afscbint.xg Kvice.h Kcallback.h $(UTILS)
 
61
        ${RXGEN} -x -k -y -c -o Kcallback.xdr.c afscbint.xg
 
62
 
 
63
Kvice.cs.c: common.xg afsint.xg Kvice.h  $(UTILS)
 
64
        ${RXGEN} -x -k -C -o Kvice.cs.c afsint.xg
 
65
 
 
66
Kvice.ss.c: common.xg afsint.xg Kvice.h $(UTILS)
 
67
        ${RXGEN} -x -k -S -o Kvice.ss.c afsint.xg
 
68
 
 
69
Kvice.xdr.c: common.xg afsint.xg $(UTILS)
 
70
        ${RXGEN} -x -k -c -o Kvice.xdr.c afsint.xg
 
71
 
 
72
Kvice.h: common.xg afsint.xg $(UTILS)
 
73
        ${RXGEN} -x -k -h -o Kvice.h afsint.xg
 
74
 
 
75
Kcallback.h: common.xg afscbint.xg $(UTILS)
 
76
        ${RXGEN} -x -k -h -o Kcallback.h afscbint.xg
 
77
 
 
78
afscbint.cs.c: common.xg afscbint.xg afsint.h afscbint.h $(UTILS)
 
79
        ${RXGEN} -x -C -o afscbint.cs.c afscbint.xg
 
80
 
 
81
afscbint.ss.c: common.xg afscbint.xg afsint.h afscbint.h $(UTILS)
 
82
        ${RXGEN} -x -S -o afscbint.ss.c afscbint.xg
 
83
 
 
84
afscbint.xdr.c: common.xg afscbint.xg afsint.h afscbint.h $(UTILS)
 
85
        ${RXGEN} -x -y -c -o afscbint.xdr.c afscbint.xg
 
86
 
 
87
afsint.cs.c: common.xg afsint.xg afsint.h $(UTILS)
 
88
        ${RXGEN} -x -C -o afsint.cs.c afsint.xg
 
89
 
 
90
afsint.ss.c: common.xg afsint.xg afsint.h $(UTILS)
 
91
        ${RXGEN} -x -S -o afsint.ss.c afsint.xg
 
92
 
 
93
afsint.xdr.c: common.xg afsint.xg $(UTILS)
 
94
        ${RXGEN} -x -c -o afsint.xdr.c afsint.xg
 
95
 
 
96
afsint.h: common.xg afsint.xg $(UTILS)
 
97
        ${RXGEN} -x -h -o afsint.h afsint.xg
 
98
 
 
99
afscbint.h: common.xg afscbint.xg $(UTILS)
 
100
        ${RXGEN} -x -h -o afscbint.h afscbint.xg
 
101
 
 
102
system: install
 
103
 
 
104
kinstall: ${KSRCS} ${KERNELDIR}/afsint
 
105
        ${INSTALL} $(KSRCS) ${KERNELDIR}/afsint
 
106
        ${INSTALL} ${TOP_INCDIR}/afs/rxgen_consts.h ${KERNELDIR}/afsint
 
107
        -${INSTALL} ${KERNELDIR}/rx/rx.h ${KERNELDIR}/afsint/rx.h
 
108
        ${INSTALL} afscbint.h ${KERNELDIR}/afs
 
109
 
 
110
${KERNELDIR}/afsint:
 
111
        mkdir -p $@
 
112
 
 
113
ukinstall webinstall: ${UKERNELDIR}/afsint ${UKSRCS}
 
114
        ${INSTALL} $(UKSRCS) ${UKERNELDIR}/afsint
 
115
        ${INSTALL} ${TOP_INCDIR}/afs/rxgen_consts.h ${UKERNELDIR}/afsint
 
116
        -${INSTALL} ${UKERNELDIR}/rx/rx.h ${UKERNELDIR}/afsint/rx.h
 
117
        ${INSTALL} afscbint.h ${UKERNELDIR}/afs
 
118
 
 
119
${UKERNELDIR}/afsint:
 
120
        mkdir -p $@
 
121
 
 
122
install:    ${DESTDIR}${libdir}/afs/libafsint.a ${DESTDIR}${includedir}/afs/afsint.h ${DESTDIR}${includedir}/afs/afscbint.h
 
123
 
 
124
clean:
 
125
        $(RM) -f *.o *.cs.c *.ss.c *.er.c afsint.h afsint.xdr.c libafsint.a $(KDSRCS) core AFS_component_version_number.c afscbint.xdr.c
 
126
${DEST}/lib/afs/libafsint.a: libafsint.a
 
127
        ${INSTALL} $? $@
 
128
 
 
129
${DESTDIR}${libdir}/afs/libafsint.a: libafsint.a
 
130
        ${INSTALL} $? $@
 
131
 
 
132
 
 
133
${TOP_LIBDIR}/libafsint.a: libafsint.a
 
134
        ${INSTALL} $? $@
 
135
 
 
136
 
 
137
${DEST}/include/afs/afsint.h: afsint.h
 
138
        ${INSTALL} $? $@
 
139
 
 
140
${DESTDIR}${includedir}/afs/afsint.h: afsint.h
 
141
        ${INSTALL} $? $@
 
142
 
 
143
 
 
144
${TOP_INCDIR}/afs/afsint.h: afsint.h
 
145
        ${INSTALL} $? $@
 
146
 
 
147
 
 
148
${DEST}/include/afs/afscbint.h: afscbint.h
 
149
        ${INSTALL} $? $@
 
150
 
 
151
${DESTDIR}${includedir}/afs/afscbint.h: afscbint.h
 
152
        ${INSTALL} $? $@
 
153
 
 
154
 
 
155
${TOP_INCDIR}/afs/afscbint.h: afscbint.h
 
156
        ${INSTALL} $? $@
 
157
 
 
158
 
 
159
dest:    ${DEST}/lib/afs/libafsint.a ${DEST}/include/afs/afsint.h ${DEST}/include/afs/afscbint.h
 
160