author | Xeli |
Sat, 08 Oct 2011 14:55:13 +0200 | |
branch | hedgeroid |
changeset 6039 | d75329716a02 |
child 6043 | 9bd2d6b1ba52 |
permissions | -rwxr-xr-x |
6039
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
1 |
LOCAL_PATH := $(call my-dir) |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
2 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
3 |
include $(CLEAR_VARS) |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
4 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
5 |
LOCAL_MODULE := freetype |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
6 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
7 |
APP_SUBDIRS := $(patsubst $(LOCAL_PATH)/%, %, $(shell find $(LOCAL_PATH)/src -type d)) |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
8 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
9 |
# Add more subdirs here, like src/subdir1 src/subdir2 |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
10 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
11 |
LOCAL_CFLAGS := $(foreach D, $(APP_SUBDIRS), -I$(LOCAL_PATH)/$(D)) \ |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
12 |
-I$(LOCAL_PATH)/include -DFT2_BUILD_LIBRARY |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
13 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
14 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
15 |
#Change C++ file extension as appropriate |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
16 |
LOCAL_CPP_EXTENSION := .cpp |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
17 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
18 |
LOCAL_SRC_FILES := $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wildcard $(LOCAL_PATH)/$(F)/*.cpp)))) |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
19 |
# Uncomment to also add C sources |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
20 |
LOCAL_SRC_FILES += $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wildcard $(LOCAL_PATH)/$(F)/*.c)))) |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
21 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
22 |
LOCAL_SHARED_LIBRARIES := |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
23 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
24 |
LOCAL_STATIC_LIBRARIES := |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
25 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
26 |
LOCAL_LDLIBS := |
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
27 |
|
d75329716a02
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff
changeset
|
28 |
include $(BUILD_STATIC_LIBRARY) |