1 # Copyright 2006 The Android Open Source Project 2 ifneq ($(TARGET_SIMULATOR),true) 3 LOCAL_PATH:= $(call my-dir) 4 5 etc_dir := $(TARGET_OUT)/etc/dhcpcd 6 hooks_dir := dhcpcd-hooks 7 hooks_target := $(etc_dir)/$(hooks_dir) 8 9 include $(CLEAR_VARS) 10 LOCAL_SRC_FILES := common.c dhcp.c dhcpcd.c logger.c net.c \ 11 signals.c configure.c client.c if-linux.c lpf.c 12 LOCAL_C_INCLUDES := $(KERNEL_HEADERS) 13 LOCAL_SHARED_LIBRARIES := libc libcutils 14 LOCAL_MODULE = dhcpcd 15 LOCAL_MODULE_TAGS := user 16 include $(BUILD_EXECUTABLE) 17 18 include $(CLEAR_VARS) 19 LOCAL_SRC_FILES := showlease.c 20 LOCAL_C_INCLUDES := $(KERNEL_HEADERS) 21 LOCAL_SHARED_LIBRARIES := libc 22 LOCAL_MODULE = showlease 23 LOCAL_MODULE_TAGS := debug 24 include $(BUILD_EXECUTABLE) 25 26 #include $(CLEAR_VARS) 27 #LOCAL_MODULE := dhcpcd.conf 28 #LOCAL_MODULE_TAGS := user 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_TAGS := user 37 LOCAL_MODULE_CLASS := EXECUTABLES 38 LOCAL_MODULE_PATH := $(etc_dir) 39 LOCAL_SRC_FILES := $(LOCAL_MODULE) 40 include $(BUILD_PREBUILT) 41 42 include $(CLEAR_VARS) 43 LOCAL_MODULE := 20-dns.conf 44 LOCAL_MODULE_TAGS := user 45 LOCAL_MODULE_CLASS := ETC 46 LOCAL_MODULE_PATH := $(hooks_target) 47 LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE) 48 include $(BUILD_PREBUILT) 49 50 include $(CLEAR_VARS) 51 LOCAL_MODULE := 95-configured 52 LOCAL_MODULE_TAGS := user 53 LOCAL_MODULE_CLASS := ETC 54 LOCAL_MODULE_PATH := $(hooks_target) 55 LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE) 56 include $(BUILD_PREBUILT) 57 58 endif 59