2012-03-23 09:35:09 -07:00
|
|
|
# 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/.
|
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2012-03-23 09:35:09 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULES = stlport
|
|
|
|
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)
|
|
|
|
|
2013-07-15 02:48:39 -07:00
|
|
|
VPATH += $(srcdir)/src
|
2012-03-23 09:35:09 -07:00
|
|
|
|
2013-07-15 02:48:39 -07:00
|
|
|
CSRCS = $(notdir $(wildcard $(srcdir)/src/*.c))
|
2012-03-23 09:35:09 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
DEFINES += -D_GNU_SOURCE
|
|
|
|
CXXFLAGS += -fuse-cxa-atexit
|
2013-07-15 02:48:39 -07:00
|
|
|
INCLUDES += -I$(srcdir)/stlport
|