# 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

MODULE		= layout
XPIDL_MODULE	= layout_printing
GRE_MODULE	= 1
LIBRARY_NAME	= gkprinting_s
LIBXUL_LIBRARY	= 1


XPIDLSRCS	= \
		nsIPrintProgress.idl  \
		nsIPrintProgressParams.idl  \
		nsIPrintStatusFeedback.idl  \
		$(NULL)

CPPSRCS		= \
		nsPrintEngine.cpp \
		nsPrintData.cpp \
		nsPrintObject.cpp \
		nsPagePrintTimer.cpp \
		nsPrintPreviewListener.cpp \
		$(NULL)

FORCE_STATIC_LIB = 1

include $(topsrcdir)/config/rules.mk

LOCAL_INCLUDES += \
		-I$(srcdir)/../base \
		-I$(srcdir)/../../content/base/src \
		$(NULL)

DEFINES += -D_IMPL_NS_LAYOUT
