# # The contents of this file are subject to the Netscape Public License # Version 1.1 (the "NPL"); you may not use this file except in # compliance with the NPL. You may obtain a copy of the NPL at # http://www.mozilla.org/NPL/ # # Software distributed under the NPL is distributed on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL # for the specific language governing rights and limitations under the # NPL. # # The Initial Developer of this code under the NPL is Netscape # Communications Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All Rights # Reserved. # DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk LIBRARY_NAME = gfx_mac EXPORT_LIBRARY = 1 MODULE = gfx IS_COMPONENT = 1 MODULE_NAME = nsGfxMacModule GRE_MODULE = 1 PACKAGE_FILE = gfxmac.pkg REQUIRES = xpcom \ string \ widget \ view \ pref \ uconv \ necko \ unicharutil \ content \ dom \ layout \ locale \ $(NULL) CPPSRCS = \ nsATSUIUtils.cpp \ nsDeviceContextMac.cpp \ nsDeviceContextSpecFactoryM.cpp \ nsDeviceContextSpecX.cpp \ nsDrawingSurfaceMac.cpp \ nsFontMetricsMac.cpp \ nsGfxFactoryMac.cpp \ nsGraphicState.cpp \ nsImageMac.cpp \ nsRegionMac.cpp \ nsRenderingContextMac.cpp \ nsMacUnicodeFontInfo.cpp \ nsUnicodeFontMappingMac.cpp \ nsUnicodeMappingUtil.cpp \ nsUnicodeRenderingToolkit.cpp \ nsScreenMac.cpp \ nsScreenManagerMac.cpp \ nsPrintOptionsX.cpp \ nsPrintSettingsX.cpp \ nsPrintSessionX.cpp \ nsFontUtils.cpp \ nsNativeThemeMac.cpp \ $(NULL) SHARED_LIBRARY_LIBS = $(DIST)/lib/$(LIB_PREFIX)gfxshared_s.$(LIB_SUFFIX) EXTRA_DSO_LIBS = mozutil_s gkgfx EXTRA_DEPS = $(DIST)/lib/$(LIB_PREFIX)mozutil_s.$(LIB_SUFFIX) EXTRA_DSO_LDOPTS = \ $(LIBS_DIR) \ $(EXTRA_DSO_LIBS) \ $(TK_LIBS) \ $(MOZ_COMPONENT_LIBS) \ $(MOZ_UNICHARUTIL_LIBS) \ $(NULL) LOCAL_INCLUDES = \ -I$(srcdir)/../shared \ -I$(srcdir)/.. \ $(NULL) include $(topsrcdir)/config/rules.mk CXXFLAGS += $(TK_CFLAGS) CFLAGS += $(TK_CFLAGS) INCLUDES += $(TK_CFLAGS) -I$(srcdir)/..