bozo: Introduce bnode_Wait()
[openafs.git] / src / rxgen / Makefile.in
1 #
2 # @(#)Makefile  1.2 87/11/09 3.9 RPCSRC
3 #
4 # Makefile for rpc protocol compiler
5 # Copyright (C) 1987, Sun Microsystems, Inc.
6 #
7 srcdir=@srcdir@
8 include @TOP_OBJDIR@/src/config/Makefile.config
9 include @TOP_OBJDIR@/src/config/Makefile.lwp
10
11
12 SRCS= rpc_main.c rpc_hout.c rpc_cout.c rpc_parse.c rpc_scan.c rpc_util.c
13 HDRS= rpc_util.h rpc_parse.h rpc_scan.h
14 OBJS= rpc_main.o rpc_hout.o rpc_cout.o rpc_parse.o rpc_scan.o rpc_util.o
15
16 all: rxgen ${TOP_INCDIR}/afs/rxgen_consts.h
17
18 buildtools: rxgen
19
20 ${TOP_INCDIR}/afs/rxgen_consts.h: rxgen_consts.h
21         ${INSTALL_DATA} $? $@
22
23 rxgen: $(OBJS) AFS_component_version_number.c $(HDRS)
24         $(AFS_LDRULE) $(OBJS) $(XLIBS)
25
26 CFLAGS_rpc_main.o= -DPATH_CPP="\"$(PATH_CPP)\""
27
28 #
29 # Install targets
30 #
31 install: rxgen rxgen_consts.h
32         ${INSTALL} -d ${DESTDIR}${bindir}
33         ${INSTALL} -d ${DESTDIR}${includedir}/afs
34         ${INSTALL_PROGRAM} rxgen ${DESTDIR}${bindir}/rxgen
35         ${INSTALL_DATA} ${srcdir}/rxgen_consts.h \
36                 ${DESTDIR}${includedir}/afs/rxgen_consts.h
37
38 dest: rxgen rxgen_consts.h
39         ${INSTALL} -d ${DEST}/bin
40         ${INSTALL} -d ${DEST}/include/afs
41         ${INSTALL_PROGRAM} rxgen ${DEST}/bin/rxgen
42         ${INSTALL_DATA} ${srcdir}/rxgen_consts.h ${DEST}/include/afs/rxgen_consts.h
43
44 #
45 # Misc. targets
46 #
47 clean:
48         $(RM) -f *.o rxgen core AFS_component_version_number.c
49
50 include ../config/Makefile.version