autofs: disable by default
[unleashed.git] / include / rpc / Makefile
blob2baa98e8477611113b8136e80b8d4de118e26f88
1 INCDIR= /usr/include/rpc
2 INCS=
4 # FIXME: we shouldn't actually install rpc_sztypes.x, only the .h file
6 # the .x files
7 INCS+= rpc_sztypes.x
9 # headers generated from .x files
10 GENERATED_INCS= \
11 rpc_sztypes.h
13 INCS+= ${GENERATED_INCS}
14 CLEANFILES+= ${GENERATED_INCS}
16 RPCGEN?= /usr/bin/rpcgen
17 SED?= /usr/bin/sed
19 RPCGENFLAGS = -C -h
21 .PHONY: all
23 all: ${GENERATED_INCS}
25 .SUFFIXES: .x
27 .x.h:
28 ${RPCGEN} $(RPCGENFLAGS) $< -o $@
30 .include <prog.mk>
31 .include <inc.mk>