• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2006 The Android Open Source Project
2LOCAL_PATH:= $(call my-dir)
3
4etc_dir := $(TARGET_OUT)/etc/dhcpcd
5hooks_dir := dhcpcd-hooks
6hooks_target := $(etc_dir)/$(hooks_dir)
7
8include $(CLEAR_VARS)
9LOCAL_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
13
14#LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
15LOCAL_SHARED_LIBRARIES := libc libcutils libnetutils
16LOCAL_MODULE = dhcpcd
17LOCAL_MODULE_TAGS := user
18include $(BUILD_EXECUTABLE)
19
20include $(CLEAR_VARS)
21LOCAL_SRC_FILES := showlease.c
22#LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
23LOCAL_SHARED_LIBRARIES := libc
24LOCAL_MODULE = showlease
25LOCAL_MODULE_TAGS := debug
26include $(BUILD_EXECUTABLE)
27
28#include $(CLEAR_VARS)
29#LOCAL_MODULE := dhcpcd.conf
30#LOCAL_MODULE_TAGS := user
31#LOCAL_MODULE_CLASS := ETC
32#LOCAL_MODULE_PATH := $(etc_dir)
33#LOCAL_SRC_FILES := android.conf
34#include $(BUILD_PREBUILT)
35
36include $(CLEAR_VARS)
37LOCAL_MODULE := dhcpcd-run-hooks
38LOCAL_MODULE_TAGS := user
39LOCAL_MODULE_CLASS := EXECUTABLES
40LOCAL_MODULE_PATH := $(etc_dir)
41LOCAL_SRC_FILES := $(LOCAL_MODULE)
42include $(BUILD_PREBUILT)
43
44include $(CLEAR_VARS)
45LOCAL_MODULE := 20-dns.conf
46LOCAL_MODULE_TAGS := user
47LOCAL_MODULE_CLASS := ETC
48LOCAL_MODULE_PATH := $(hooks_target)
49LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE)
50include $(BUILD_PREBUILT)
51
52include $(CLEAR_VARS)
53LOCAL_MODULE := 95-configured
54LOCAL_MODULE_TAGS := user
55LOCAL_MODULE_CLASS := ETC
56LOCAL_MODULE_PATH := $(hooks_target)
57LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE)
58include $(BUILD_PREBUILT)
59