Mark Salyzyn | c829080 | 2014-05-15 15:08:50 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 2 | include $(CLEAR_VARS) |
| 3 | |
Mark Salyzyn | c829080 | 2014-05-15 15:08:50 -0700 | [diff] [blame] | 4 | LOCAL_SRC_FILES := \ |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 5 | dhcpclient.c \ |
| 6 | dhcpmsg.c \ |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 7 | ifc_utils.c \ |
Lorenzo Colitti | 47ddb51 | 2011-09-26 10:49:41 -0700 | [diff] [blame] | 8 | packet.c |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 9 | |
| 10 | LOCAL_SHARED_LIBRARIES := \ |
Ying Wang | 083b5cc | 2013-04-09 22:03:45 -0700 | [diff] [blame] | 11 | libcutils \ |
| 12 | liblog |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 13 | |
Mark Salyzyn | c829080 | 2014-05-15 15:08:50 -0700 | [diff] [blame] | 14 | LOCAL_MODULE := libnetutils |
| 15 | |
| 16 | LOCAL_CFLAGS := -Werror |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 17 | |
Elliott Hughes | 8501751 | 2016-02-12 18:10:06 -0800 | [diff] [blame] | 18 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
| 19 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
| 20 | |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 21 | include $(BUILD_SHARED_LIBRARY) |
Elliott Hughes | 9ab372e | 2015-04-21 18:18:08 -0700 | [diff] [blame] | 22 | |
| 23 | include $(CLEAR_VARS) |
| 24 | LOCAL_SRC_FILES := dhcptool.c |
| 25 | LOCAL_SHARED_LIBRARIES := libnetutils |
| 26 | LOCAL_MODULE := dhcptool |
| 27 | LOCAL_MODULE_TAGS := debug |
| 28 | include $(BUILD_EXECUTABLE) |