зеркало из https://github.com/mozilla/gecko-dev.git
39 строки
972 B
Makefile
39 строки
972 B
Makefile
#
|
|
# 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/.
|
|
|
|
SHARED_LIBRARY_LIBS = ../shared/$(LIB_PREFIX)widget_shared.$(LIB_SUFFIX)
|
|
ifdef MOZ_X11
|
|
SHARED_LIBRARY_LIBS += ../shared/x11/$(LIB_PREFIX)widget_shared_x11.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
endif
|
|
|
|
ifneq (,$(filter gtk3 gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
|
# gtk3 shares includes with gtk2
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../gtk \
|
|
$(NULL)
|
|
else
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../$(MOZ_WIDGET_TOOLKIT) \
|
|
$(NULL)
|
|
endif
|
|
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../shared \
|
|
-I$(topsrcdir)/layout/base \
|
|
-I$(topsrcdir)/layout/forms \
|
|
-I$(topsrcdir)/layout/generic \
|
|
-I$(topsrcdir)/layout/xul/base/src \
|
|
-I$(topsrcdir)/view/src \
|
|
-I$(srcdir) \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|