зеркало из https://github.com/mozilla/pjs.git
146 строки
3.4 KiB
Makefile
146 строки
3.4 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 = content
|
|
LIBRARY_NAME = gkcontent
|
|
EXPORT_LIBRARY = 1
|
|
ifneq ($(OS_ARCH),WINNT)
|
|
SHORT_LIBNAME = gkcontnt
|
|
endif
|
|
IS_COMPONENT = 1
|
|
MODULE_NAME = nsContentModule
|
|
EXTRA_DSO_LIBS = gkgfx
|
|
ifdef MOZ_PERF_METRICS
|
|
EXTRA_DSO_LIBS += mozutil_s
|
|
endif
|
|
REQUIRES = xpcom \
|
|
string \
|
|
gfx \
|
|
layout \
|
|
widget \
|
|
necko \
|
|
necko2 \
|
|
rdf \
|
|
docshell \
|
|
dom \
|
|
htmlparser \
|
|
uriloader \
|
|
webshell \
|
|
locale \
|
|
unicharutil \
|
|
lwbrk \
|
|
js \
|
|
pref \
|
|
xul \
|
|
xuldoc \
|
|
xultmpl \
|
|
webbrwsr \
|
|
caps \
|
|
xpconnect \
|
|
imglib2 \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
nsContentDLF.cpp \
|
|
nsContentModule.cpp \
|
|
nsContentHTTPStartup.cpp \
|
|
$(NULL)
|
|
|
|
EXPORTS = nsContentCID.h
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconevents_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconhtmlcon_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconhtmldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconhtmlstyle_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconxmlcon_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconxmldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconxsldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconxulcon_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconxuldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconxultmpl_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconxbl_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconbase_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconshared_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_SVG
|
|
SHARED_LIBRARY_LIBS += \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconsvgdoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkcontentsvg_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
endif
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
|
$(LIBS_DIR) \
|
|
$(EXTRA_DSO_LIBS) \
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
|
$(MOZ_JS_LIBS) \
|
|
$(NULL)
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
|
EXPORT_OBJS = 1
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH),Darwin)
|
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
ifeq ($(OS_ARCH),IRIX)
|
|
ifeq ($(GNU_CXX),1)
|
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
|
endif
|
|
endif
|
|
|
|
LOCAL_INCLUDES = -I$(srcdir)/../base/src \
|
|
-I$(srcdir)/../html/base/src \
|
|
-I$(srcdir)/../html/style/src \
|
|
-I$(srcdir)/../xul/content/src \
|
|
-I$(srcdir)/../xul/base/src \
|
|
-I$(srcdir)/../xul/templates/src \
|
|
-I$(srcdir)/../events/src \
|
|
-I$(srcdir)/../html/content/src \
|
|
-I$(srcdir)/../html/document/src \
|
|
-I. \
|
|
$(NULL)
|
|
|
|
GARBAGE+=$(BUILD_DATE)
|
|
|
|
export:: $(BUILD_DATE)
|
|
|
|
$(BUILD_DATE): gbdate.pl
|
|
$(RM) $@
|
|
$(PERL) $(srcdir)/gbdate.pl > $@
|
|
|
|
|