1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES:= xdr.c rpc.c svc.c clnt.c ops.c svc_clnt_common.c 6 7LOCAL_C_INCLUDES:=$(LOCAL_PATH) 8 9LOCAL_CFLAGS:= -fno-short-enums -O0 10 11LOCAL_CFLAGS+=-DRPC_OFFSET=0 12#LOCAL_CFLAGS+=-DDEBUG -DVERBOSE 13 14LOCAL_COPY_HEADERS_TO:= librpc/rpc 15LOCAL_COPY_HEADERS:= \ 16 rpc/clnt.h \ 17 rpc/pmap_clnt.h \ 18 rpc/rpc.h \ 19 rpc/rpc_router_ioctl.h \ 20 rpc/svc.h \ 21 rpc/types.h \ 22 rpc/xdr.h 23 24LOCAL_MODULE:= librpc 25 26include $(BUILD_STATIC_LIBRARY) 27 28include $(CLEAR_VARS) 29LOCAL_MODULE := librpc 30LOCAL_SHARED_LIBRARIES := liblog 31LOCAL_STATIC_LIBRARIES := libpower 32LOCAL_WHOLE_STATIC_LIBRARIES := librpc 33include $(BUILD_SHARED_LIBRARY) 34