mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
31 lines
832 B
Makefile
31 lines
832 B
Makefile
# 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 = ../..
|
|
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
|