2010-06-26 01:51:17 +04:00
|
|
|
#
|
2012-05-21 15:12:37 +04:00
|
|
|
# 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/.
|
2010-06-26 01:51:17 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2010-06-26 01:51:17 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = widget
|
|
|
|
LIBRARY_NAME = widget_shared
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
|
|
|
|
|
|
DEFINES += \
|
|
|
|
-D_IMPL_NS_WIDGET \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-08-26 22:11:54 +04:00
|
|
|
ifdef MOZ_X11
|
|
|
|
PARALLEL_DIRS = x11
|
2010-08-27 01:09:43 +04:00
|
|
|
endif
|
2010-08-26 22:11:54 +04:00
|
|
|
|
2010-06-26 01:51:17 +04:00
|
|
|
CPPSRCS = \
|
|
|
|
WidgetUtils.cpp \
|
2010-10-27 08:56:31 +04:00
|
|
|
nsShmImage.cpp \
|
2010-06-26 01:51:17 +04:00
|
|
|
$(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/config.mk
|
2010-10-27 08:56:31 +04:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2010-06-26 01:51:17 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|