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/.
|
2011-10-28 16:13:57 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2011-10-28 16:13:57 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
DIST_INSTALL = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
STL_FLAGS=
|
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
|
|
|
$(XPCOM_GLUE_LDOPTS) \
|
|
|
|
$(XPCOM_FROZEN_LDOPTS) \
|
|
|
|
$(MOZ_QT_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-08-16 19:31:47 +04:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/xpcom/build \
|
|
|
|
-I$(topsrcdir)/widget/qt \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORT_SOURCES = \
|
|
|
|
$(topsrcdir)/widget/qt/moziqwidget.h \
|
|
|
|
$(topsrcdir)/toolkit/xre/nsQAppInstance.h \
|
|
|
|
$(topsrcdir)/toolkit/xre/nsQAppInstance.cpp \
|
|
|
|
$(topsrcdir)/widget/qt/mozqglwidgetwrapper.h \
|
|
|
|
$(topsrcdir)/widget/qt/mozqglwidgetwrapper.cpp
|
2011-10-28 16:13:57 +04:00
|
|
|
|
2012-08-16 19:31:47 +04:00
|
|
|
GARBAGE += $(EXPORT_SOURCES)
|
|
|
|
export:: $(EXPORT_SOURCES)
|
2011-10-28 16:13:57 +04:00
|
|
|
$(INSTALL) $^ .
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
$(MOZ_QT_CFLAGS) \
|
|
|
|
$(MOZ_PLATFORM_MAEMO_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
DEFINES += -DLIBRARY_FILENAME="$(SHARED_LIBRARY)" -DMOZ_NO_MOZALLOC -DXPCOM_GLUE
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|