platform_system_core/libnetutils/Android.mk

24 lines
432 B
Makefile

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
dhcpclient.c \
dhcpmsg.c \
dhcp_utils.c \
ifc_utils.c \
packet.c
LOCAL_SHARED_LIBRARIES := \
libcutils
# need "-lrt" on Linux simulator to pick up clock_gettime
ifeq ($(TARGET_SIMULATOR),true)
ifeq ($(HOST_OS),linux)
LOCAL_LDLIBS += -lrt -lpthread
endif
endif
LOCAL_MODULE:= libnetutils
include $(BUILD_SHARED_LIBRARY)