~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/gfx/src/windows/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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/
 
6
 
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.
 
11
 
12
# The Original Code is mozilla.org code
 
13
 
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
 
17
# Rights Reserved.
 
18
 
19
# Contributor(s):
 
20
#
 
21
 
 
22
DEPTH           = ../../..
 
23
topsrcdir       = @top_srcdir@
 
24
srcdir          = @srcdir@
 
25
VPATH           = @srcdir@
 
26
 
 
27
include $(DEPTH)/config/autoconf.mk
 
28
 
 
29
MODULE          = gfxwin
 
30
LIBRARY_NAME    = gkgfxwin
 
31
EXPORT_LIBRARY = 1
 
32
IS_COMPONENT    = 1
 
33
MODULE_NAME     = nsGfxModule
 
34
GRE_MODULE      = 1
 
35
 
 
36
REQUIRES        = xpcom \
 
37
                  string \
 
38
                  gfx \
 
39
                  widget \
 
40
                  intl \
 
41
                  view \
 
42
                  pref \
 
43
                  uconv \
 
44
                  unicharutil \
 
45
                  locale \
 
46
                  necko \
 
47
                  content \
 
48
                  layout \
 
49
                  dom \
 
50
                  debug \
 
51
                  imglib2 \
 
52
                  windowwatcher \
 
53
                  $(NULL)
 
54
 
 
55
CPPSRCS         = \
 
56
                nsDeviceContextWin.cpp \
 
57
                nsDrawingSurfaceWin.cpp \
 
58
                nsRenderingContextWin.cpp \
 
59
                nsFontMetricsWin.cpp \
 
60
                nsImageWin.cpp \
 
61
                nsRegionWin.cpp \
 
62
                nsDeviceContextSpecWin.cpp \
 
63
                nsDeviceContextSpecFactoryW.cpp \
 
64
                nsScreenWin.cpp \
 
65
                nsScreenManagerWin.cpp \
 
66
                nsPrintOptionsWin.cpp \
 
67
                nsPrintSettingsWin.cpp \
 
68
                nsGfxFactoryWin.cpp \
 
69
                nsNativeThemeWin.cpp \
 
70
                nsUnicodeRange.cpp \
 
71
                $(NULL)
 
72
 
 
73
EXPORTS = nsIRenderingContextWin.h nsIDrawingSurfaceWin.h
 
74
 
 
75
EXTRA_DSO_LIBS  = gkgfx mozutil_s gfxshared_s
 
76
 
 
77
LOCAL_INCLUDES  = \
 
78
                -I$(srcdir)/. \
 
79
                -I$(srcdir)/.. \
 
80
                -I$(srcdir)/../shared \
 
81
                $(NULL)
 
82
 
 
83
_OS_LIBS        = winspool comdlg32
 
84
ifdef GNU_CC
 
85
_OS_LIBS        += gdi32
 
86
endif
 
87
OS_LIBS         += $(call EXPAND_LIBNAME,$(_OS_LIBS))
 
88
 
 
89
EXTRA_DSO_LDOPTS += \
 
90
                $(LIBS_DIR) \
 
91
                $(EXTRA_DSO_LIBS) \
 
92
                $(MOZ_UNICHARUTIL_LIBS) \
 
93
                $(MOZ_COMPONENT_LIBS) \
 
94
                $(MOZ_JS_LIBS) \
 
95
                $(NULL)
 
96
 
 
97
include $(topsrcdir)/config/rules.mk
 
98
 
 
99
libs:: fontEncoding.properties
 
100
        $(INSTALL) $^ $(DIST)/bin/res/fonts
 
101
 
 
102
install:: fontEncoding.properties
 
103
        $(INSTALL) $^ $(DESTDIR)$(mozappdir)/res/fonts
 
104
 
 
105
DEFINES += -DSTRICT 
 
106
 
 
107
ifdef NGLAYOUT_DDRAW
 
108
DEFINES += DNGLAYOUT_DDRAW
 
109
ifeq ($(MOZ_VCVER),50)
 
110
LOCAL_INCLUDES += -I$(NGLAYOUT_DDRAW)/include
 
111
else
 
112
LOCAL_INCLUDES += -I$(NGLAYOUT_DDRAW)/inc
 
113
endif
 
114
EXTRA_DSO_LDOPTS += $(NGLAYOUT_DDRAW)/lib/ddraw.lib
 
115
OS_LIBS += ole32.lib
 
116
endif
 
117
 
 
118