summaryrefslogtreecommitdiffstats
path: root/libnetutils/Android.mk
blob: 46102d55c16728326fff0e9375fd05ebcb7ddb77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)