# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. DEPTH = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULES = stlport LIBRARY_NAME = stlport_static FORCE_STATIC_LIB = 1 STL_FLAGS = # Force to build a static library, instead of a fake library, without # installing it in dist/lib. LIBRARY = $(LIB_PREFIX)$(LIBRARY_NAME).$(LIB_SUFFIX) VPATH += $(STLPORT_SOURCES)/src CPPSRCS = $(notdir $(wildcard $(STLPORT_SOURCES)/src/*.cpp)) CSRCS = $(notdir $(wildcard $(STLPORT_SOURCES)/src/*.c)) include $(topsrcdir)/config/rules.mk DEFINES += -D_GNU_SOURCE CXXFLAGS += -fuse-cxa-atexit INCLUDES += -I$(STLPORT_SOURCES)/stlport