Home | History | Annotate | Download | only in librpc
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_SRC_FILES:= xdr.c rpc.c svc.c clnt.c ops.c svc_clnt_common.c
      6 
      7 LOCAL_C_INCLUDES:=$(LOCAL_PATH)
      8 
      9 LOCAL_CFLAGS:= -O0 -fno-short-enums 
     10 
     11 LOCAL_CFLAGS+=-DRPC_OFFSET=0
     12 #LOCAL_CFLAGS+=-DDEBUG -DVERBOSE
     13 
     14 LOCAL_COPY_HEADERS_TO:= librpc/rpc
     15 LOCAL_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 
     24 LOCAL_MODULE:= librpc
     25 
     26 include $(BUILD_STATIC_LIBRARY)
     27 
     28 include $(CLEAR_VARS)
     29 LOCAL_MODULE := librpc
     30 LOCAL_SHARED_LIBRARIES := liblog
     31 LOCAL_STATIC_LIBRARIES := libpower
     32 LOCAL_WHOLE_STATIC_LIBRARIES := librpc
     33 # LOCAL_PRELINK_MODULE := false
     34 include $(BUILD_SHARED_LIBRARY)
     35