diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 (patch) | |
tree | 54fd1b2695a591d2306d41264df67c53077b752c /libnetutils/Android.mk | |
download | system_core-4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53.zip system_core-4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53.tar.gz system_core-4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53.tar.bz2 |
Initial Contribution
Diffstat (limited to 'libnetutils/Android.mk')
-rw-r--r-- | libnetutils/Android.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libnetutils/Android.mk b/libnetutils/Android.mk new file mode 100644 index 0000000..46102d5 --- /dev/null +++ b/libnetutils/Android.mk @@ -0,0 +1,23 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + dhcpclient.c \ + dhcpmsg.c \ + dhcp_utils.c \ + ifc_utils.c \ + packet.c + +LOCAL_SHARED_LIBRARIES := \ + libcutils + +# need "-lrt" on Linux simulator to pick up clock_gettime +ifeq ($(TARGET_SIMULATOR),true) + ifeq ($(HOST_OS),linux) + LOCAL_LDLIBS += -lrt -lpthread + endif +endif + +LOCAL_MODULE:= libnetutils + +include $(BUILD_SHARED_LIBRARY) |