mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
9d02dc5813
Thanks to John Vandenberg <zeroJ@null.net> for the patch Bug #21308 r=cls a=asa for 0.9.1
118 lines
2.9 KiB
Makefile
118 lines
2.9 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 = layout
|
|
LIBRARY_NAME = gkcontent
|
|
EXPORT_LIBRARY = 1
|
|
SHORT_LIBNAME = gkcontnt
|
|
IS_COMPONENT = 1
|
|
EXTRA_DSO_LIBS = gkgfx
|
|
REQUIRES = xpcom string widget necko rdf docshell dom htmlparser uriloader webshell locale unicharutil lwbrk js pref caps xul xuldoc xultmpl gfx2 timer
|
|
|
|
CPPSRCS = \
|
|
nsContentDLF.cpp \
|
|
nsContentFactory.cpp \
|
|
nsContentModule.cpp \
|
|
nsContentHTTPStartup.cpp \
|
|
$(NULL)
|
|
|
|
ifndef MKSHLIB_FORCE_ALL
|
|
CPPSRCS += dlldeps.cpp
|
|
endif
|
|
|
|
EXPORTS = nsContentCID.h
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
|
$(DIST)/lib/libgkconevents_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconhtmlcon_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconhtmldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconhtmlstyle_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconxmlcon_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconxmldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconxsldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconxulcon_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconxuldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconxultmpl_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconxbl_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconbase_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/libgkconshared_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_PERF_METRICS
|
|
SHARED_LIBRARY_LIBS += \
|
|
$(DIST)/lib/libmozutil_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
endif
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
|
-L$(DIST)/bin \
|
|
$(EXTRA_DSO_LIBS) \
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
$(MOZ_JS_LIBS) \
|
|
$(NULL)
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
|
EXPORT_OBJS = 1
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
ifeq ($(OS_ARCH),IRIX)
|
|
ifeq ($(GNU_CXX),1)
|
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=50
|
|
endif
|
|
endif
|
|
|
|
DEFINES += -D_IMPL_NS_HTML
|
|
|
|
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. \
|
|
$(NULL)
|
|
|
|
GARBAGE+=$(BUILD_DATE)
|
|
|
|
export:: $(BUILD_DATE)
|
|
|
|
$(BUILD_DATE): gbdate.pl
|
|
$(RM) $@
|
|
$(PERL) $(srcdir)/gbdate.pl > $@
|
|
|
|
# To prevent ILink from crashing
|
|
ifeq ($(MOZ_OS2_TOOLS),VACPP)
|
|
OS_DLLFLAGS := ilink /FREE /NOE /NOL /DLL /O:ngcontent.dll /M /INC:_dllentry
|
|
endif
|
|
|