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
# Version 1.0 (the "NPL"); you may not use this file except in
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ..
topsrcdir = @top_srcdir@
@ -28,6 +28,5 @@ ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

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

@ -1,4 +1,3 @@
#!gmake
#
# 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
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../..
topsrcdir = @top_srcdir@
@ -22,20 +22,10 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DEFINES += -D_IMPL_NS_UI
EXPORTS = \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
MODULE = raptor
XPIDL_MODULE = gfx
XPIDLSRCS = \
nsIScriptableRegion.idl \
$(NULL)
include $(topsrcdir)/config/config.mk
XPIDLSRCS = nsIScriptableRegion.idl
include $(topsrcdir)/config/rules.mk

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

@ -1,4 +1,3 @@
#!gmake
#
# 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
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../..
topsrcdir = @top_srcdir@
@ -22,6 +22,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = raptor
EXPORTS = \
nsColor.h \
nsColorNames.h \
@ -52,8 +54,5 @@ EXPORTS = \
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
MODULE = raptor
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

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

@ -1,4 +1,3 @@
#!gmake
#
# 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
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../..
topsrcdir = @top_srcdir@
@ -22,47 +22,37 @@ VPATH = @srcdir@
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
ifneq (,$(filter gtk xlib motif qt,$(MOZ_WIDGET_TOOLKIT)))
XLIB_RGB_DIRS = xlibrgb
ifneq (,$(filter gtk motif qt xlib,$(MOZ_WIDGET_TOOLKIT)))
DIRS += xlibrgb
endif
DIRS = ps $(XLIB_RGB_DIRS) $(MOZ_GFX_TOOLKIT)
ifndef MOZ_MONOLITHIC_TOOLKIT
DIRS = ps $(XLIB_RGB_DIRS)
ifdef MOZ_MONOLITHIC_TOOLKIT
DIRS += $(MOZ_GFX_TOOLKIT)
else
ifdef MOZ_ENABLE_GTK
DIRS += gtk
endif
ifdef MOZ_ENABLE_MOTIF
DIRS += motif
endif
ifdef MOZ_ENABLE_QT
DIRS += qt
endif
ifdef MOZ_ENABLE_XLIB
DIRS += xlib
endif
ifdef MOZ_ENABLE_QT
DIRS += qt
endif
else
DIRS = ps $(XLIB_RGB_DIRS) $(MOZ_GFX_TOOLKIT)
endif
LIBRARY_NAME = raptorgfx
MODULE=raptor
REQUIRES=util img xpcom raptor netlib dom js
DEFINES += -D_IMPL_NS_GFX
# Alphabetical list of source files
CPPSRCS = \
nsBlender.cpp \
nsColor.cpp \
@ -89,3 +79,6 @@ EXTRA_DSO_LDOPTS = \
$(NULL)
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
# Version 1.0 (the "NPL"); you may not use this file except in
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -22,18 +22,11 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
MODULE = raptor
LIBRARY_NAME = gfx_beos
MODULE=raptor
REQUIRES = util img xpcom raptor netlib ps
DEFINES += -D_IMPL_NS_GFXONXP
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS)
CPPSRCS = \
nsDeviceContextBeOS.cpp \
nsDeviceContextSpecFactoryB.cpp \
@ -46,9 +39,9 @@ CPPSRCS = \
nsRegionBeOS.cpp \
$(NULL)
# nsGraphicsStateGTK.cpp \
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
# Version 1.0 (the "NPL"); you may not use this file except in
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -22,12 +22,13 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = raptor
LIBRARY_NAME = gfx_gtk
MODULE=raptor
REQUIRES = util img xpcom raptor netlib ps
CSRCS = nsPrintdGTK.c
CPPSRCS = \
nsDeviceContextGTK.cpp \
nsDeviceContextSpecFactoryG.cpp \
@ -41,21 +42,14 @@ CPPSRCS = \
nsRenderingContextGTK.cpp \
$(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
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += $(MOZ_GTK_LDFLAGS)
CXXFLAGS += $(MOZ_GTK_CFLAGS)
CFLAGS += $(MOZ_GTK_CFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
CXXFLAGS += $(TK_CFLAGS)
CFLAGS += $(TK_CFLAGS)
endif
@ -66,3 +60,4 @@ INCLUDES += \
-I$(srcdir)/. \
-I$(srcdir)/.. \
$(NULL)

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

@ -22,8 +22,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gfx_motif
MODULE = raptor
LIBRARY_NAME = gfx_motif
REQUIRES = util img xpcom raptor netlib
@ -36,17 +36,13 @@ CPPSRCS = \
nsImageMotif.cpp \
$(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
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += -L$(DIST)/bin -lxlibrgb $(MOZ_MOTIF_LDFLAGS)
CXXFLAGS += $(MOZ_MOTIF_CFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
CXXFLAGS += $(TK_CFLAGS)
endif
@ -56,3 +52,4 @@ INCLUDES += \
-I$(srcdir)/. \
-I$(srcdir)/.. \
$(NULL)

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

@ -18,6 +18,7 @@
# Contributor(s):
#
# Makefile for gfx/src/os2
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -26,19 +27,13 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
OS2_IMPLIB = 1
OS2_LIBRARYNAME = gfx_os2
MODULE = raptor
OS2_LIBRARYNAME = gfx_os2
OS2_IMPLIB = 1
REQUIRES = util img xpcom raptor dom netlib java js
DEFINES += -D_IMPL_NS_GFXONXP
OS2_LIBS = nggfx img mozjs mozutil netlib xpcom
OS_LIBS += $(NSPR_LIBS) -luconv
CSRCS = libprint.c
CPPSRCS = \
nsDeviceContextOS2.cpp \
@ -53,14 +48,18 @@ CPPSRCS = \
nsGfxFactoryOS2.cpp \
$(NULL)
CSRCS = libprint.c
RES_FILE = $(srcdir)/libprint.res
OS2_LIBS = nggfx img mozjs mozutil netlib xpcom
include $(topsrcdir)/config/rules.mk
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.
# I guess eventually we ought to use an xml dialog...
# XXX Have to copy files because rc is too stupid for an objdir build

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

@ -1,4 +1,3 @@
#!gmake
#
# 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
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -22,21 +22,11 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
MODULE = raptor
LIBRARY_NAME = gfx_photon
MODULE=raptor
REQUIRES = util img xpcom raptor netlib ps
#DEFINES +=
EXPORTS = nsIRenderingContextPh.h
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS) -I$(srcdir)/..
CPPSRCS = \
nsDeviceContextPh.cpp \
nsDeviceContextSpecFactoryP.cpp \
@ -50,6 +40,10 @@ CPPSRCS = \
clip.cpp \
$(NULL)
EXPORTS = nsIRenderingContextPh.h
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
# Version 1.0 (the "NPL"); you may not use this file except in
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -22,17 +22,11 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
LIBRARY_NAME = gfxps
MODULE = raptor
LIBRARY_NAME = gfxps
IS_COMPONENT = 1
DEFINES += -D_IMPL_NS_GFXONXP
CFLAGS += $(TK_CFLAGS)
LLIBS+=$(DIST)/lib/libxpcom.a $(DIST)/lib/libraptorgfx.a
CSRCS = font_metrics.c
CPPSRCS = \
nsDeviceContextPS.cpp \
@ -43,19 +37,24 @@ CPPSRCS = \
nsGfxFactoryPS.cpp \
$(NULL)
CSRCS = \
font_metrics.c \
EXPORTS = \
nsIDeviceContextPS.h \
nsGfxPSCID.h \
nsIDeviceContextSpecPS.h \
nsPostScriptObj.h
nsPostScriptObj.h \
$(NULL)
EXTRA_DSO_LDOPTS = \
-L$(DIST)/lib \
-limg_s \
-lmozutil_s
-lmozutil_s \
$(NULL)
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
# Version 1.0 (the "NPL"); you may not use this file except in
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -22,9 +22,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gfx_qt
MODULE = raptor
LIBRARY_NAME = gfx_qt
REQUIRES = util img xpcom raptor netlib ps
@ -40,18 +39,14 @@ CPPSRCS = \
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
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += $(MOZ_QT_LDFLAGS)
CXXFLAGS += $(MOZ_QT_CFLAGS)
CFLAGS += $(MOZ_QT_CFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
CXXFLAGS += $(TK_CFLAGS)
CFLAGS += $(TK_CFLAGS)
endif
@ -62,3 +57,4 @@ INCLUDES += \
-I$(srcdir)/. \
-I$(srcdir)/.. \
$(NULL)

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

@ -38,5 +38,3 @@ MODULE = raptor
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
# Version 1.0 (the "NPL"); you may not use this file except in
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -22,11 +22,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
LIBRARY_NAME = gfx_xlib
MODULE = raptor
LIBRARY_NAME = gfx_xlib
REQUIRES = util img xpcom raptor netlib ps
@ -42,17 +39,13 @@ CPPSRCS =\
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
ifndef MOZ_MONOLITHIC_TOOLKIT
EXTRA_DSO_LDOPTS += -L$(DIST)/bin -lxlibrgb $(MOZ_XLIB_LDFLAGS)
CXXFLAGS += $(MOZ_XLIB_CFLAGS)
else
EXTRA_DSO_LDOPTS += $(TK_LIBS)
CXXFLAGS += $(TK_CFLAGS)
endif

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

@ -1,4 +1,3 @@
#!gmake
#
# 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
@ -14,6 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -22,14 +22,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
LIBRARY_NAME = xlibrgb
MODULE = raptor
DEFINES += -D_IMPL_NS_GFXONXP -DUSE_MOZILLA_TYPES
INCLUDES += $(TK_CFLAGS)
LIBRARY_NAME = xlibrgb
CSRCS = xlibrgb.c
@ -37,4 +31,7 @@ EXPORTS = xlibrgb.h
include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_GFXONXP -DUSE_MOZILLA_TYPES
INCLUDES += $(TK_CFLAGS)