#
# 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		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= layout
LIBRARY_NAME	= gkxulgrid_s
LIBXUL_LIBRARY  = 1

CPPSRCS	= \
        nsGridLayout2.cpp \
        nsGridRowLayout.cpp \
        nsGridRowLeafLayout.cpp \
        nsGridRowLeafFrame.cpp \
        nsGridRowGroupLayout.cpp \
        nsGridRowGroupFrame.cpp \
        nsGrid.cpp \
        nsGridRow.cpp \
        nsGridCell.cpp \
        $(NULL)

EXPORTS = \
          nsGridLayout2.h       \
          nsGridRowLayout.h \
          nsGridRowLeafLayout.h \
          nsGridRowLeafFrame.h \
          nsGridRowGroupLayout.h \
          nsIGridPart.h \
          nsGrid.h \
          nsGridRow.h \
          nsGridCell.h \
          $(NULL)

LOCAL_INCLUDES	= \
		-I$(srcdir) \
		-I$(srcdir)/../../../base/src \
		-I$(srcdir)/../../../../generic \
		-I$(srcdir)/../../../../style \
		-I$(srcdir)/../../../../forms \
		$(NULL)

# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1

include $(topsrcdir)/config/rules.mk

DEFINES += -D_IMPL_NS_LAYOUT
