blob: ce7c3bad8ce7462d0a30f60feee311fa923c5ed8 [file] [log] [blame]
Mark Salyzync8290802014-05-15 15:08:50 -07001LOCAL_PATH := $(call my-dir)
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08002include $(CLEAR_VARS)
3
Mark Salyzync8290802014-05-15 15:08:50 -07004LOCAL_SRC_FILES := \
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08005 dhcpclient.c \
6 dhcpmsg.c \
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08007 ifc_utils.c \
Lorenzo Colitti47ddb512011-09-26 10:49:41 -07008 packet.c
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08009
10LOCAL_SHARED_LIBRARIES := \
Ying Wang083b5cc2013-04-09 22:03:45 -070011 libcutils \
12 liblog
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -080013
Mark Salyzync8290802014-05-15 15:08:50 -070014LOCAL_MODULE := libnetutils
15
16LOCAL_CFLAGS := -Werror
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -080017
Elliott Hughes85017512016-02-12 18:10:06 -080018LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
19LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
20
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -080021include $(BUILD_SHARED_LIBRARY)
Elliott Hughes9ab372e2015-04-21 18:18:08 -070022
23include $(CLEAR_VARS)
24LOCAL_SRC_FILES := dhcptool.c
25LOCAL_SHARED_LIBRARIES := libnetutils
26LOCAL_MODULE := dhcptool
27LOCAL_MODULE_TAGS := debug
28include $(BUILD_EXECUTABLE)