1 # Copyright 2006 The Android Open Source Project 2 LOCAL_PATH:= $(call my-dir) 3 4 etc_dir := $(TARGET_OUT)/etc/dhcpcd 5 hooks_dir := dhcpcd-hooks 6 hooks_target := $(etc_dir)/$(hooks_dir) 7 8 include $(CLEAR_VARS) 9 LOCAL_SRC_FILES := arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c \ 10 eloop.c if-options.c if-pref.c ipv4ll.c net.c signals.c configure.c \ 11 if-linux.c if-linux-wireless.c lpf.c compat/getline.c \ 12 platform-linux.c compat/closefrom.c ifaddrs.c ipv6rs.c 13 14 #LOCAL_C_INCLUDES := $(KERNEL_HEADERS) 15 LOCAL_SHARED_LIBRARIES := libc libcutils libnetutils 16 LOCAL_MODULE = dhcpcd 17 include $(BUILD_EXECUTABLE) 18 19 include $(CLEAR_VARS) 20 LOCAL_SRC_FILES := showlease.c 21 #LOCAL_C_INCLUDES := $(KERNEL_HEADERS) 22 LOCAL_SHARED_LIBRARIES := libc 23 LOCAL_MODULE = showlease 24 LOCAL_MODULE_TAGS := debug 25 include $(BUILD_EXECUTABLE) 26 27 #include $(CLEAR_VARS) 28 #LOCAL_MODULE := dhcpcd.conf 29 #LOCAL_MODULE_CLASS := ETC 30 #LOCAL_MODULE_PATH := $(etc_dir) 31 #LOCAL_SRC_FILES := android.conf 32 #include $(BUILD_PREBUILT) 33 34 include $(CLEAR_VARS) 35 LOCAL_MODULE := dhcpcd-run-hooks 36 LOCAL_MODULE_CLASS := EXECUTABLES 37 LOCAL_MODULE_PATH := $(etc_dir) 38 LOCAL_SRC_FILES := $(LOCAL_MODULE) 39 include $(BUILD_PREBUILT) 40 41 include $(CLEAR_VARS) 42 LOCAL_MODULE := 20-dns.conf 43 LOCAL_MODULE_CLASS := ETC 44 LOCAL_MODULE_PATH := $(hooks_target) 45 LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE) 46 include $(BUILD_PREBUILT) 47 48 include $(CLEAR_VARS) 49 LOCAL_MODULE := 95-configured 50 LOCAL_MODULE_CLASS := ETC 51 LOCAL_MODULE_PATH := $(hooks_target) 52 LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE) 53 include $(BUILD_PREBUILT) 54