michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: ifeq ($(MOZ_WIDGET_TOOLKIT),windows) michael@0: ACDEFINES += -UWIN32_LEAN_AND_MEAN michael@0: endif michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: DEFINES := $(filter-out -DUNICODE,$(DEFINES)) michael@0: michael@0: CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) michael@0: CFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) michael@0: michael@0: ifeq ($(MOZ_WIDGET_TOOLKIT),android) michael@0: CXXFLAGS += $(CAIRO_FT_CFLAGS) michael@0: endif michael@0: michael@0: ifeq ($(MOZ_WIDGET_TOOLKIT),gonk) michael@0: CXXFLAGS += $(CAIRO_FT_CFLAGS) michael@0: endif michael@0: michael@0: ifdef MOZ_WIDGET_GTK michael@0: CXXFLAGS += $(MOZ_PANGO_CFLAGS) michael@0: endif michael@0: michael@0: ifeq ($(MOZ_WIDGET_TOOLKIT),qt) michael@0: CXXFLAGS += $(CAIRO_FT_CFLAGS) $(MOZ_PANGO_CFLAGS) michael@0: endif michael@0: michael@0: DeprecatedPremultiplyTables.h: $(srcdir)/genTables.py michael@0: $(PYTHON) $(srcdir)/genTables.py