• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5	cgiwrap.c \
6	cgi.c \
7	html.c \
8	date.c \
9	rfc2388.c
10
11LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
12
13LOCAL_CFLAGS := -fPIC
14
15LOCAL_NO_DEFAULT_COMPILER_FLAGS := true
16
17LOCAL_MODULE:= libneo_cgi
18
19LOCAL_SHARED_LIBRARIES := libneo_util libneo_cs
20
21LOCAL_LDLIBS += -lz
22
23include $(BUILD_HOST_SHARED_LIBRARY)
24
25# this forces us into 64 bit mode, even though for the non-simulator builds we
26# mostly don't do that.  Java on Hardy is 64 bit, and rather than finding a 32
27# bit java build, just build this in 64 bit.
28$(LOCAL_BUILT_MODULE): HOST_GLOBAL_CFLAGS:=
29$(LOCAL_BUILT_MODULE): HOST_GLOBAL_CPPFLAGS:=
30