mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
74 lines
2.0 KiB
Makefile
74 lines
2.0 KiB
Makefile
#
|
|
# The contents of this file are subject to the Netscape Public
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/NPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
# implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code is mozilla.org code.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
#
|
|
|
|
DEPTH = ../../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
# BUILD_DATE = gbdate.h
|
|
|
|
MODULE = editor
|
|
LIBRARY_NAME = editor
|
|
EXPORT_LIBRARY = 1
|
|
IS_COMPONENT = 1
|
|
EXTRA_DSO_LDOPTS = \
|
|
$(MOZ_NECKO_UTIL_LIBS) \
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
$(MOZ_JS_LIBS) \
|
|
$(NULL)
|
|
REQUIRES = xpcom string dom js locale layout uriloader widget txmgr htmlparser necko pref view appshell rdf webshell timer txtsvc intl lwbrk docshell chrome caps appcomps xuldoc
|
|
|
|
# MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY=1
|
|
ifdef MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY
|
|
# We're only building the Core PlainText Editor Source so just include
|
|
# the plain text registration file.
|
|
CPPSRCS = nsTextEditorReg.cpp
|
|
SHARED_LIBRARY_LIBS = $(NULL)
|
|
|
|
else
|
|
CPPSRCS = nsEditorRegistration.cpp
|
|
SHARED_LIBRARY_LIBS = \
|
|
../html/src/libhtmleditor_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
endif
|
|
|
|
#ifndef MKSHLIB_FORCE_ALL
|
|
#CPPSRCS += dlldeps.cpp
|
|
#endif
|
|
|
|
# These libraries always get built:
|
|
SHARED_LIBRARY_LIBS += \
|
|
../text/src/libtexteditor_s.$(LIB_SUFFIX) \
|
|
../base/src/libeditorbase_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
|
|
ifdef ENABLE_EDITOR_API_LOG
|
|
DEFINES += -DENABLE_EDITOR_API_LOG
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
INCLUDES += -I../base/src -I../text/src -I../html/src
|
|
|