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