зеркало из https://github.com/mozilla/pjs.git
58 строки
1.2 KiB
Makefile
58 строки
1.2 KiB
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
|
|
|
|
# This makefile builds the unicharutil_external_s library which should be used
|
|
# by frozen (dependent) linkage components. Internal-linkage code should use
|
|
# unicharutil_s which is built in the internal/ subdirectory.
|
|
|
|
DIRS = internal
|
|
|
|
include $(srcdir)/objs.mk
|
|
|
|
MODULE=unicharutil
|
|
LIBRARY_NAME=unicharutil_external_s
|
|
DIST_INSTALL = 1
|
|
SDK_LIBRARY = $(LIBRARY)
|
|
|
|
|
|
SDK_HEADERS = \
|
|
nsUnicharUtils.h \
|
|
$(NULL)
|
|
|
|
EXPORTS = \
|
|
nsBidiUtils.h \
|
|
nsSpecialCasingData.h \
|
|
nsUnicodeProperties.h \
|
|
nsUnicodeScriptCodes.h \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
nsUnicharUtils.cpp \
|
|
nsBidiUtils.cpp \
|
|
nsSpecialCasingData.cpp \
|
|
nsUnicodeProperties.cpp \
|
|
$(NULL)
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
USE_STATIC_LIBS = 1
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../src
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
ifdef _MSC_VER
|
|
# Don't include directives about which CRT to use
|
|
OS_COMPILE_CXXFLAGS += -Zl
|
|
OS_COMPILE_CFLAGS += -Zl
|
|
DEFINES += -D_USE_ANSI_CPP
|
|
endif
|