OsmAnd/Osmand-kernel/skia/Makefile

42 lines
1.2 KiB
Makefile
Raw Normal View History

2012-05-31 21:01:27 +02:00
# Include tools definitions
2012-05-15 20:48:06 +02:00
include ../Makefile.vars
2012-05-31 21:01:27 +02:00
# Include project files
LOCAL_PATH = .
2012-05-01 00:30:31 +02:00
include Common.mk
2012-05-31 21:01:27 +02:00
# Set library name
LIBNAME = $(LIBRARY_PREFIX)skia
LIBTYPE = $(STATICLIB_EXT)
2012-05-01 00:30:31 +02:00
2012-05-31 21:01:27 +02:00
# Library content
2012-05-01 00:30:31 +02:00
LOCAL_SRC_FILES += \
$(OSMAND_SKIA_LOC)/src/opts/SkBlitRow_opts_none.cpp \
$(OSMAND_SKIA_LOC)/src/opts/SkBitmapProcState_opts_none.cpp \
$(OSMAND_SKIA_LOC)/src/opts/SkUtils_opts_none.cpp \
$(OSMAND_SKIA_LOC)/src/ports/SkThread_pthread.cpp \
$(OSMAND_SKIA_LOC)/src/ports/SkDebug_stdio.cpp \
$(OSMAND_SKIA_LOC)/src/ports/SkFontHost_FreeType.cpp \
2012-05-01 01:43:09 +02:00
$(OSMAND_SKIA_LOC)/src/ports/SkFontHost_linux.cpp \
2012-05-01 00:30:31 +02:00
$(OSMAND_SKIA_LOC)/src/ports/SkOSFile_stdio.cpp \
$(OSMAND_SKIA_LOC)/src/ports/SkTime_Unix.cpp \
$(OSMAND_SKIA_LOC)/src/ports/SkMemory_malloc.cpp \
$(OSMAND_SKIA_LOC)/src/ports/SkFontHost_gamma.cpp \
2012-06-15 14:34:25 +02:00
$(OSMAND_SKIA_LOC)/src/ports/SkFontHost_tables.cpp \
2012-05-01 00:30:31 +02:00
$(OSMAND_SKIA_LOC)/src/ports/SkGlobalInitialization_default.cpp
2012-05-31 21:01:27 +02:00
SKIAFLAGS = \
-DSK_RELEASE \
2012-05-01 00:30:31 +02:00
-DGR_RELEASE=1 \
2012-05-08 10:47:42 +02:00
-DSK_ENABLE_LIBPNG \
2012-05-01 00:30:31 +02:00
-DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0 \
-DNDEBUG \
-fno-rtti \
-fno-exceptions \
2012-05-31 21:01:27 +02:00
-DSK_BUILD_FOR_UNIX
2012-05-01 00:30:31 +02:00
2012-05-31 21:01:27 +02:00
CFLAGS += $(SKIAFLAGS)
CXXFLAGS += $(SKIAFLAGS)
2012-05-01 00:30:31 +02:00
2012-05-31 21:01:27 +02:00
# Finally, include generic rules
include ../Makefile.rules