This commit is contained in:
briano%netscape.com 1999-09-10 01:48:51 +00:00
Родитель e3556ced12
Коммит 8de6552ae8
14 изменённых файлов: 267 добавлений и 325 удалений

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,20 +13,20 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = .. DEPTH = ..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
DIRS = public src idl DIRS = public src idl
ifdef ENABLE_TESTS ifdef ENABLE_TESTS
DIRS += tests DIRS += tests
endif endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,28 +13,19 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH=../.. DEPTH = ../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
DEFINES += -D_IMPL_NS_UI MODULE = raptor
XPIDL_MODULE = gfx
EXPORTS = \ XPIDLSRCS = nsIScriptableRegion.idl
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
MODULE = raptor
XPIDL_MODULE = gfx
XPIDLSRCS = \
nsIScriptableRegion.idl \
$(NULL)
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,46 +13,46 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH=../.. DEPTH = ../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORTS = \ MODULE = raptor
nsColor.h \
nsColorNames.h \
nsColorNameList.h \
nsCoord.h \
nsFont.h \
nsRect.h \
nsPoint.h \
nsSize.h \
nsMargin.h \
nsTransform2D.h \
nsIRenderingContext.h \
nsIFontMetrics.h \
nsIImageManager.h \
nsIImageGroup.h \
nsIImageRequest.h \
nsIImageObserver.h \
nsIDeviceContext.h \
nsIImage.h \
nsIBlender.h \
nsGfxCIID.h \
nsIRegion.h \
nsDeviceContext.h \
nsIDeviceContextSpec.h \
nsIDeviceContextSpecFactory.h \
nsIDrawingSurface.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS)) EXPORTS = \
nsColor.h \
nsColorNames.h \
nsColorNameList.h \
nsCoord.h \
nsFont.h \
nsRect.h \
nsPoint.h \
nsSize.h \
nsMargin.h \
nsTransform2D.h \
nsIRenderingContext.h \
nsIFontMetrics.h \
nsIImageManager.h \
nsIImageGroup.h \
nsIImageRequest.h \
nsIImageObserver.h \
nsIDeviceContext.h \
nsIImage.h \
nsIBlender.h \
nsGfxCIID.h \
nsIRegion.h \
nsDeviceContext.h \
nsIDeviceContextSpec.h \
nsIDeviceContextSpecFactory.h \
nsIDrawingSurface.h \
$(NULL)
MODULE = raptor EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,78 +13,72 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../.. DEPTH = ../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk MODULE = raptor
LIBRARY_NAME = raptorgfx
REQUIRES = util img xpcom raptor netlib dom js
DIRS = ps
# Build xlibrgb only for X toolkits # Build xlibrgb only for X toolkits
ifneq (,$(filter gtk xlib motif qt,$(MOZ_WIDGET_TOOLKIT))) ifneq (,$(filter gtk motif qt xlib,$(MOZ_WIDGET_TOOLKIT)))
XLIB_RGB_DIRS = xlibrgb DIRS += xlibrgb
endif endif
DIRS = ps $(XLIB_RGB_DIRS) $(MOZ_GFX_TOOLKIT) ifdef MOZ_MONOLITHIC_TOOLKIT
DIRS += $(MOZ_GFX_TOOLKIT)
ifndef MOZ_MONOLITHIC_TOOLKIT else
DIRS = ps $(XLIB_RGB_DIRS)
ifdef MOZ_ENABLE_GTK ifdef MOZ_ENABLE_GTK
DIRS += gtk DIRS += gtk
endif endif
ifdef MOZ_ENABLE_MOTIF ifdef MOZ_ENABLE_MOTIF
DIRS += motif DIRS += motif
endif endif
ifdef MOZ_ENABLE_XLIB
DIRS += xlib
endif
ifdef MOZ_ENABLE_QT ifdef MOZ_ENABLE_QT
DIRS += qt DIRS += qt
endif
ifdef MOZ_ENABLE_XLIB
DIRS += xlib
endif endif
else
DIRS = ps $(XLIB_RGB_DIRS) $(MOZ_GFX_TOOLKIT)
endif endif
LIBRARY_NAME = raptorgfx CPPSRCS = \
nsBlender.cpp \
nsColor.cpp \
nsColorNames.cpp \
nsDeviceContext.cpp \
nsFont.cpp \
nsImageGroup.cpp \
nsImageManager.cpp \
nsImageNetContextAsync.cpp \
nsImageNetContextSync.cpp \
nsImageRenderer.cpp \
nsImageRequest.cpp \
nsImageSystemServices.cpp \
nsImageURL.cpp \
nsRect.cpp \
nsTransform2D.cpp \
$(NULL)
MODULE=raptor EXTRA_DSO_LDOPTS = \
-L$(DIST)/lib \
REQUIRES=util img xpcom raptor netlib dom js -limg_s \
-lneckoutil_s \
DEFINES += -D_IMPL_NS_GFX -lmozutil_s \
$(NULL)
# Alphabetical list of source files
CPPSRCS = \
nsBlender.cpp \
nsColor.cpp \
nsColorNames.cpp \
nsDeviceContext.cpp \
nsFont.cpp \
nsImageGroup.cpp \
nsImageManager.cpp \
nsImageNetContextAsync.cpp \
nsImageNetContextSync.cpp \
nsImageRenderer.cpp \
nsImageRequest.cpp \
nsImageSystemServices.cpp \
nsImageURL.cpp \
nsRect.cpp \
nsTransform2D.cpp \
$(NULL)
EXTRA_DSO_LDOPTS = \
-L$(DIST)/lib \
-limg_s \
-lneckoutil_s \
-lmozutil_s \
$(NULL)
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_GFX

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,41 +13,35 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk MODULE = raptor
LIBRARY_NAME = gfx_beos
LIBRARY_NAME = gfx_beos REQUIRES = util img xpcom raptor netlib ps
MODULE=raptor CPPSRCS = \
nsDeviceContextBeOS.cpp \
REQUIRES=util img xpcom raptor netlib ps nsDeviceContextSpecFactoryB.cpp \
nsDeviceContextSpecB.cpp \
DEFINES += -D_IMPL_NS_GFXONXP nsDrawingSurfaceBeOS.cpp \
CXXFLAGS += $(TK_CFLAGS) nsFontMetricsBeOS.cpp \
INCLUDES += $(TK_CFLAGS) nsGfxFactoryBeOS.cpp \
nsRenderingContextBeOS.cpp \
CPPSRCS = \ nsImageBeOS.cpp \
nsDeviceContextBeOS.cpp \ nsRegionBeOS.cpp \
nsDeviceContextSpecFactoryB.cpp \ $(NULL)
nsDeviceContextSpecB.cpp \
nsDrawingSurfaceBeOS.cpp \
nsFontMetricsBeOS.cpp \
nsGfxFactoryBeOS.cpp \
nsRenderingContextBeOS.cpp \
nsImageBeOS.cpp \
nsRegionBeOS.cpp \
$(NULL)
# nsGraphicsStateGTK.cpp \
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_GFXONXP
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS)

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,50 +13,45 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gfx_gtk MODULE = raptor
LIBRARY_NAME = gfx_gtk
MODULE=raptor REQUIRES = util img xpcom raptor netlib ps
REQUIRES=util img xpcom raptor netlib ps CSRCS = nsPrintdGTK.c
CPPSRCS = \ CPPSRCS = \
nsDeviceContextGTK.cpp \ nsDeviceContextGTK.cpp \
nsDeviceContextSpecFactoryG.cpp \ nsDeviceContextSpecFactoryG.cpp \
nsDeviceContextSpecG.cpp \ nsDeviceContextSpecG.cpp \
nsDrawingSurfaceGTK.cpp \ nsDrawingSurfaceGTK.cpp \
nsFontMetricsGTK.cpp \ nsFontMetricsGTK.cpp \
nsGfxFactoryGTK.cpp \ nsGfxFactoryGTK.cpp \
nsGraphicsStateGTK.cpp \ nsGraphicsStateGTK.cpp \
nsImageGTK.cpp \ nsImageGTK.cpp \
nsRegionGTK.cpp \ nsRegionGTK.cpp \
nsRenderingContextGTK.cpp \ nsRenderingContextGTK.cpp \
$(NULL) $(NULL)
CSRCS = \
nsPrintdGTK.c
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += $(MOZ_GTK_LDFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
endif
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
ifndef MOZ_MONOLITHIC_TOOLKIT ifndef MOZ_MONOLITHIC_TOOLKIT
CXXFLAGS += $(MOZ_GTK_CFLAGS) EXTRA_DSO_LDOPTS += $(MOZ_GTK_LDFLAGS)
CFLAGS += $(MOZ_GTK_CFLAGS) CXXFLAGS += $(MOZ_GTK_CFLAGS)
CFLAGS += $(MOZ_GTK_CFLAGS)
else else
CXXFLAGS += $(TK_CFLAGS) EXTRA_DSO_LDOPTS += $(TK_LIBS)
CFLAGS += $(TK_CFLAGS) CXXFLAGS += $(TK_CFLAGS)
CFLAGS += $(TK_CFLAGS)
endif endif
DEFINES += -D_IMPL_NS_GFXNONXP DEFINES += -D_IMPL_NS_GFXNONXP
@ -66,3 +60,4 @@ INCLUDES += \
-I$(srcdir)/. \ -I$(srcdir)/. \
-I$(srcdir)/.. \ -I$(srcdir)/.. \
$(NULL) $(NULL)

Просмотреть файл

@ -22,8 +22,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gfx_motif
MODULE = raptor MODULE = raptor
LIBRARY_NAME = gfx_motif
REQUIRES = util img xpcom raptor netlib REQUIRES = util img xpcom raptor netlib
@ -36,18 +36,14 @@ CPPSRCS = \
nsImageMotif.cpp \ nsImageMotif.cpp \
$(NULL) $(NULL)
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += -L$(DIST)/bin -lxlibrgb $(MOZ_MOTIF_LDFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
endif
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
ifndef MOZ_MONOLITHIC_TOOLKIT ifndef MOZ_MONOLITHIC_TOOLKIT
CXXFLAGS += $(MOZ_MOTIF_CFLAGS) EXTRA_DSO_LDOPTS += -L$(DIST)/bin -lxlibrgb $(MOZ_MOTIF_LDFLAGS)
CXXFLAGS += $(MOZ_MOTIF_CFLAGS)
else else
CXXFLAGS += $(TK_CFLAGS) EXTRA_DSO_LDOPTS += $(TK_LIBS)
CXXFLAGS += $(TK_CFLAGS)
endif endif
DEFINES += -D_IMPL_NS_GFXNONXP DEFINES += -D_IMPL_NS_GFXNONXP
@ -56,3 +52,4 @@ INCLUDES += \
-I$(srcdir)/. \ -I$(srcdir)/. \
-I$(srcdir)/.. \ -I$(srcdir)/.. \
$(NULL) $(NULL)

Просмотреть файл

@ -18,48 +18,47 @@
# Contributor(s): # Contributor(s):
# #
# Makefile for gfx/src/os2 # Makefile for gfx/src/os2
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk MODULE = raptor
OS2_LIBRARYNAME = gfx_os2
OS2_IMPLIB = 1
OS2_IMPLIB = 1 REQUIRES = util img xpcom raptor dom netlib java js
OS2_LIBRARYNAME = gfx_os2
MODULE = raptor CSRCS = libprint.c
REQUIRES = util img xpcom raptor dom netlib java js CPPSRCS = \
nsDeviceContextOS2.cpp \
nsRenderingContextOS2.cpp \
nsFontMetricsOS2.cpp \
nsImageOS2.cpp \
nsPaletteOS2.cpp \
nsRegionOS2.cpp \
nsDeviceContextSpecFactoryO.cpp \
nsDeviceContextSpecOS2.cpp \
nsDrawingSurfaceOS2.cpp \
nsGfxFactoryOS2.cpp \
$(NULL)
DEFINES += -D_IMPL_NS_GFXONXP RES_FILE = $(srcdir)/libprint.res
OS2_LIBS = nggfx img mozjs mozutil netlib xpcom OS2_LIBS = nggfx img mozjs mozutil netlib xpcom
OS_LIBS += $(NSPR_LIBS) -luconv
CPPSRCS = \
nsDeviceContextOS2.cpp \
nsRenderingContextOS2.cpp \
nsFontMetricsOS2.cpp \
nsImageOS2.cpp \
nsPaletteOS2.cpp \
nsRegionOS2.cpp \
nsDeviceContextSpecFactoryO.cpp \
nsDeviceContextSpecOS2.cpp \
nsDrawingSurfaceOS2.cpp \
nsGfxFactoryOS2.cpp \
$(NULL)
CSRCS = libprint.c
RES_FILE = $(srcdir)/libprint.res
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(topsrcdir)/gfx/src DEFINES += -D_IMPL_NS_GFXONXP
INCLUDES += -I$(topsrcdir)/gfx/src
OS_LIBS += $(NSPR_LIBS) -luconv
# This adds the resources for the print dialog to the gfxos2 dll. # This adds the resources for the print dialog to the gfxos2 dll.
# I guess eventually we ought to use an xml dialog... # I guess eventually we ought to use an xml dialog...

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,42 +13,37 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk MODULE = raptor
LIBRARY_NAME = gfx_photon
LIBRARY_NAME = gfx_photon REQUIRES = util img xpcom raptor netlib ps
MODULE=raptor CPPSRCS = \
nsDeviceContextPh.cpp \
nsDeviceContextSpecFactoryP.cpp \
nsDeviceContextSpecPh.cpp \
nsDrawingSurfacePh.cpp \
nsFontMetricsPh.cpp \
nsGfxFactoryPh.cpp \
nsImagePh.cpp \
nsRegionPh.cpp \
nsRenderingContextPh.cpp \
clip.cpp \
$(NULL)
REQUIRES=util img xpcom raptor netlib ps EXPORTS = nsIRenderingContextPh.h
#DEFINES +=
EXPORTS = nsIRenderingContextPh.h
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS) -I$(srcdir)/..
CPPSRCS = \
nsDeviceContextPh.cpp \
nsDeviceContextSpecFactoryP.cpp \
nsDeviceContextSpecPh.cpp \
nsDrawingSurfacePh.cpp \
nsFontMetricsPh.cpp \
nsGfxFactoryPh.cpp \
nsImagePh.cpp \
nsRegionPh.cpp \
nsRenderingContextPh.cpp \
clip.cpp \
$(NULL)
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS) -I$(srcdir)/..

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,48 +13,48 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk MODULE = raptor
LIBRARY_NAME = gfxps
IS_COMPONENT = 1
LIBRARY_NAME = gfxps CSRCS = font_metrics.c
MODULE=raptor CPPSRCS = \
IS_COMPONENT=1 nsDeviceContextPS.cpp \
nsFontMetricsPS.cpp \
nsRenderingContextPS.cpp \
nsPostScriptObj.cpp \
nsAFMObject.cpp \
nsGfxFactoryPS.cpp \
$(NULL)
DEFINES += -D_IMPL_NS_GFXONXP EXPORTS = \
CFLAGS += $(TK_CFLAGS) nsIDeviceContextPS.h \
nsGfxPSCID.h \
nsIDeviceContextSpecPS.h \
nsPostScriptObj.h \
$(NULL)
LLIBS+=$(DIST)/lib/libxpcom.a $(DIST)/lib/libraptorgfx.a EXTRA_DSO_LDOPTS = \
-L$(DIST)/lib \
CPPSRCS = \ -limg_s \
nsDeviceContextPS.cpp \ -lmozutil_s \
nsFontMetricsPS.cpp \ $(NULL)
nsRenderingContextPS.cpp \
nsPostScriptObj.cpp \
nsAFMObject.cpp \
nsGfxFactoryPS.cpp \
$(NULL)
CSRCS = \
font_metrics.c \
EXPORTS = \
nsIDeviceContextPS.h \
nsGfxPSCID.h \
nsIDeviceContextSpecPS.h \
nsPostScriptObj.h
EXTRA_DSO_LDOPTS =\
-L$(DIST)/lib \
-limg_s \
-lmozutil_s
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_GFXONXP
CFLAGS += $(TK_CFLAGS)
CXXFLAGS += $(TK_CFLAGS)
LLIBS += $(DIST)/lib/libxpcom.a $(DIST)/lib/libraptorgfx.a

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,46 +13,42 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gfx_qt MODULE = raptor
LIBRARY_NAME = gfx_qt
MODULE=raptor REQUIRES = util img xpcom raptor netlib ps
REQUIRES=util img xpcom raptor netlib ps CPPSRCS = \
nsDeviceContextQT.cpp \
CPPSRCS = \ nsDeviceContextSpecFactoryQT.cpp \
nsDeviceContextQT.cpp \ nsDeviceContextSpecQT.cpp \
nsDeviceContextSpecFactoryQT.cpp \ nsDrawingSurfaceQT.cpp \
nsDeviceContextSpecQT.cpp \ nsFontMetricsQT.cpp \
nsDrawingSurfaceQT.cpp \ nsGfxFactoryQT.cpp \
nsFontMetricsQT.cpp \ nsImageQT.cpp \
nsGfxFactoryQT.cpp \ nsRegionQT.cpp \
nsImageQT.cpp \ nsRenderingContextQT.cpp \
nsRegionQT.cpp \ $(NULL)
nsRenderingContextQT.cpp \
$(NULL)
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += $(MOZ_QT_LDFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
endif
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
ifndef MOZ_MONOLITHIC_TOOLKIT ifndef MOZ_MONOLITHIC_TOOLKIT
CXXFLAGS += $(MOZ_QT_CFLAGS) EXTRA_DSO_LDOPTS += $(MOZ_QT_LDFLAGS)
CFLAGS += $(MOZ_QT_CFLAGS) CXXFLAGS += $(MOZ_QT_CFLAGS)
CFLAGS += $(MOZ_QT_CFLAGS)
else else
CXXFLAGS += $(TK_CFLAGS) EXTRA_DSO_LDOPTS += $(TK_LIBS)
CFLAGS += $(TK_CFLAGS) CXXFLAGS += $(TK_CFLAGS)
CFLAGS += $(TK_CFLAGS)
endif endif
DEFINES += -D_IMPL_NS_GFXNONXP DEFINES += -D_IMPL_NS_GFXNONXP
@ -62,3 +57,4 @@ INCLUDES += \
-I$(srcdir)/. \ -I$(srcdir)/. \
-I$(srcdir)/.. \ -I$(srcdir)/.. \
$(NULL) $(NULL)

Просмотреть файл

@ -38,5 +38,3 @@ MODULE = raptor
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
#LCFLAGS += -D_IMPL_NS_GFXONXP

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,46 +13,40 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk MODULE = raptor
LIBRARY_NAME = gfx_xlib
LIBRARY_NAME = gfx_xlib REQUIRES = util img xpcom raptor netlib ps
MODULE=raptor CPPSRCS = \
nsDeviceContextSpecFactoryX.cpp \
REQUIRES=util img xpcom raptor netlib ps nsDeviceContextSpecXlib.cpp \
nsDeviceContextXlib.cpp \
CPPSRCS =\ nsDrawingSurfaceXlib.cpp \
nsDeviceContextSpecFactoryX.cpp \ nsFontMetricsXlib.cpp \
nsDeviceContextSpecXlib.cpp \ nsGfxFactoryXlib.cpp \
nsDeviceContextXlib.cpp \ nsImageXlib.cpp \
nsDrawingSurfaceXlib.cpp \ nsRegionXlib.cpp \
nsFontMetricsXlib.cpp \ nsRenderingContextXlib.cpp \
nsGfxFactoryXlib.cpp \ $(NULL)
nsImageXlib.cpp \
nsRegionXlib.cpp \
nsRenderingContextXlib.cpp \
$(NULL)
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += -L$(DIST)/bin -lxlibrgb $(MOZ_XLIB_LDFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
endif
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
ifndef MOZ_MONOLITHIC_TOOLKIT ifndef MOZ_MONOLITHIC_TOOLKIT
CXXFLAGS += $(MOZ_XLIB_CFLAGS) EXTRA_DSO_LDOPTS += -L$(DIST)/bin -lxlibrgb $(MOZ_XLIB_LDFLAGS)
CXXFLAGS += $(MOZ_XLIB_CFLAGS)
else else
CXXFLAGS += $(TK_CFLAGS) EXTRA_DSO_LDOPTS += $(TK_LIBS)
CXXFLAGS += $(TK_CFLAGS)
endif endif
DEFINES += -D_IMPL_NS_GFXNONXP DEFINES += -D_IMPL_NS_GFXNONXP

Просмотреть файл

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,27 +13,25 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../.. DEPTH = ../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk MODULE = raptor
LIBRARY_NAME = xlibrgb
LIBRARY_NAME = xlibrgb CSRCS = xlibrgb.c
MODULE=raptor EXPORTS = xlibrgb.h
DEFINES += -D_IMPL_NS_GFXONXP -DUSE_MOZILLA_TYPES
INCLUDES += $(TK_CFLAGS)
CSRCS = xlibrgb.c
EXPORTS = xlibrgb.h
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_GFXONXP -DUSE_MOZILLA_TYPES
INCLUDES += $(TK_CFLAGS)