2
# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 2001 Netscape Communications Corporation. All
23
topsrcdir = @top_srcdir@
27
include $(DEPTH)/config/autoconf.mk
30
LIBRARY_NAME = gkgfxwin
33
MODULE_NAME = nsGfxModule
56
nsDeviceContextWin.cpp \
57
nsDrawingSurfaceWin.cpp \
58
nsRenderingContextWin.cpp \
59
nsFontMetricsWin.cpp \
62
nsDeviceContextSpecWin.cpp \
63
nsDeviceContextSpecFactoryW.cpp \
65
nsScreenManagerWin.cpp \
66
nsPrintOptionsWin.cpp \
67
nsPrintSettingsWin.cpp \
69
nsNativeThemeWin.cpp \
73
EXPORTS = nsIRenderingContextWin.h nsIDrawingSurfaceWin.h
75
EXTRA_DSO_LIBS = gkgfx mozutil_s gfxshared_s
80
-I$(srcdir)/../shared \
83
_OS_LIBS = winspool comdlg32
87
OS_LIBS += $(call EXPAND_LIBNAME,$(_OS_LIBS))
92
$(MOZ_UNICHARUTIL_LIBS) \
93
$(MOZ_COMPONENT_LIBS) \
97
include $(topsrcdir)/config/rules.mk
99
libs:: fontEncoding.properties
100
$(INSTALL) $^ $(DIST)/bin/res/fonts
102
install:: fontEncoding.properties
103
$(INSTALL) $^ $(DESTDIR)$(mozappdir)/res/fonts
108
DEFINES += DNGLAYOUT_DDRAW
109
ifeq ($(MOZ_VCVER),50)
110
LOCAL_INCLUDES += -I$(NGLAYOUT_DDRAW)/include
112
LOCAL_INCLUDES += -I$(NGLAYOUT_DDRAW)/inc
114
EXTRA_DSO_LDOPTS += $(NGLAYOUT_DDRAW)/lib/ddraw.lib