• 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 ipv6rs.c
13
14#LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
15LOCAL_SHARED_LIBRARIES := libc libcutils libnetutils
16LOCAL_MODULE = dhcpcd
17include $(BUILD_EXECUTABLE)
18
19include $(CLEAR_VARS)
20LOCAL_SRC_FILES := showlease.c
21#LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
22LOCAL_SHARED_LIBRARIES := libc
23LOCAL_MODULE = showlease
24LOCAL_MODULE_TAGS := debug
25include $(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
34include $(CLEAR_VARS)
35LOCAL_MODULE := dhcpcd-run-hooks
36LOCAL_MODULE_CLASS := EXECUTABLES
37LOCAL_MODULE_PATH := $(etc_dir)
38LOCAL_SRC_FILES := $(LOCAL_MODULE)
39include $(BUILD_PREBUILT)
40
41include $(CLEAR_VARS)
42LOCAL_MODULE := 20-dns.conf
43LOCAL_MODULE_CLASS := ETC
44LOCAL_MODULE_PATH := $(hooks_target)
45LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE)
46include $(BUILD_PREBUILT)
47
48include $(CLEAR_VARS)
49LOCAL_MODULE := 95-configured
50LOCAL_MODULE_CLASS := ETC
51LOCAL_MODULE_PATH := $(hooks_target)
52LOCAL_SRC_FILES := $(hooks_dir)/$(LOCAL_MODULE)
53include $(BUILD_PREBUILT)
54