Newer
Older
Import / projects / Gameloft / glwebtools / project / glwebtools / linux / Makefile
LOCAL_PATH:= ./../../..

#########################
# configuration
LOCAL_MODULE:= libglwebtools.a

# list of platforms, each platform is a target (default: linux32 linux64)
LOCAL_PLATFORMS := 
# list of variants, each variant is a target (default: release debug releaseCU debugCU)
LOCAL_VARIANTS := release debug 
# custom bin dir (default to "bin")
LOCAL_BINDIR := bin/glwebtools
# custom obj dir (default to "build")
LOCAL_OBJDIR := build/glwebtools

#########################
# Sources

# SRCDIR will be replaced by OBJDIR to generate object files directories
# if SRCDIR is empty, object files are prefixed by OBJDIR
LOCAL_SRCDIR := source
# src file extension
LOCAL_SRCEXT := cpp

#GlWebTools Sources
GLWEBTOOLS_SOURCES := glwebtools_cu.cpp jsoncpp/glwebtools_json_cu.cpp
LOCAL_SRC_FILES := $(addprefix source/glwebtools/,$(GLWEBTOOLS_SOURCES))

#########################
# Include
LOCAL_INCLUDES := $(LOCAL_PATH)/../GLWebtools_config $(LOCAL_PATH)/include $(LOCAL_PATH)/../glf/include $(LOCAL_PATH)/../openssl/include $(LOCAL_PATH)/../openssl

#########################
# Flags
include $(LOCAL_PATH)/../GLWebtools_config/linux/makefile-config.inc    

LOCAL_CFLAGS := $(GLWEBTOOLS_CFLAGS) -DGLWEBTOOLS_GLWEBTOOLS_STANDALONE
LOCAL_CPPFLAGS := $(GLWEBTOOLS_CPPFLAGS) 

# C++ compiler flags per target
LOCAL_CFLAGS_linux32_debug := -DGLWEBTOOLS_DEBUG
LOCAL_CFLAGS_linux64_debug := -DGLWEBTOOLS_DEBUG

#########################
# Input libs
LOCAL_STATIC_LIBRARIES := 

#########################

#include common rules
include makefile-common.inc 
# build targets
$(BUILD_LIB_TARGET)