## makefile skeleton for rpc library

define(DEFVW,UP2)
include(../../misc/makeHost)

## flags and defines

DEFINES   = 
INCLUDES  = -I$(H1) -I$(H2) -I$(H3)
CFLAGS    = $(HOST_CFLAGS_<CPU>) $(DEFINES) $(INCLUDES)
CASFLAGS  = -E $(EVEN) $(DEFINES) $(INCLUDES)
LINTFLAGS = -bun $(DEFINES) $(INCLUDES)

## files and directories

LIBNAME  = $(RPC_LIB)

OBJ_COMMON = auth_none.o auth_unix.o authunix_pro.o clnt_perror.o clnt_raw.o \
	     clnt_simple.o clnt_tcp.o clnt_udp.o pmap_clnt.o pmap_getmaps.o \
	     pmap_getport.o pmap_prot.o pmap_rmt.o portmap.o \
	     rpc_prot.o svc.o svc_auth.o svc_auth_uni.o svc_raw.o \
	     svc_simple.o svc_tcp.o svc_udp.o xdr.o xdr_array.o xdr_float.o \
	     xdr_mem.o xdr_rec.o xdr_ref.o 

OBJ_MC68000 = $(OBJ_COMMON)
OBJ_MC68010 = $(OBJ_COMMON)
OBJ_MC68020 = $(OBJ_COMMON)

LINT_ID    = rpc
LINT_LIBS  = $(LIB_LINT)$(VX_LN) $(LIB_LINT)$(NET_LN)
LINT_FILES = *.c

#######################################################

default : 68020 68010 68000
aux  : lint tags
lint : lib.lint lib.ln

include(../../misc/makeLibrary)

#####################################################################

auth_none.o : 	@
auth_unix.o : 	@
authunix_pro.o : @
clnt_perror.o : @
clnt_raw.o : 	@
clnt_simple.o : @
clnt_tcp.o : 	@
clnt_udp.o : 	@
pmap_clnt.o : 	@
pmap_getmaps.o : @
pmap_getport.o : @
pmap_prot.o : 	@
pmap_rmt.o : 	@
portmap.o : 	@
rpc_prot.o : 	@
svc.o : 	@
svc_auth.o : 	@
svc_auth_uni.o : @
svc_raw.o : 	@
svc_simple.o : 	@
svc_tcp.o : 	@
svc_udp.o : 	@
xdr.o : 	@
xdr_array.o : 	@
xdr_float.o : 	@
xdr_mem.o : 	@
xdr_rec.o : 	@
xdr_ref.o : @

