зеркало из https://github.com/mozilla/gecko-dev.git
141 строка
2.5 KiB
Makefile
141 строка
2.5 KiB
Makefile
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = libart_lgpl
|
|
LIBRARY_NAME = moz_art_lgpl
|
|
ifneq ($(OS_ARCH),WINNT)
|
|
SHORT_LIBNAME = moz_art
|
|
endif
|
|
GRE_MODULE = 1
|
|
LIB_IS_C_ONLY=1
|
|
|
|
PACKAGE_FILE = libart.pkg
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
DEFFILE = $(srcdir)/libart.def
|
|
endif
|
|
|
|
CSRCS = \
|
|
art_affine.c \
|
|
art_alphagamma.c \
|
|
art_bpath.c \
|
|
art_gray_svp.c \
|
|
art_misc.c \
|
|
art_pixbuf.c \
|
|
art_rect.c \
|
|
art_rect_svp.c \
|
|
art_rect_uta.c \
|
|
art_render.c \
|
|
art_render_gradient.c \
|
|
art_render_mask.c \
|
|
art_render_svp.c \
|
|
art_rgb.c \
|
|
art_rgb_affine.c \
|
|
art_rgb_affine_private.c \
|
|
art_rgb_bitmap_affine.c \
|
|
art_rgb_pixbuf_affine.c \
|
|
art_rgb_rgba_affine.c \
|
|
art_rgb_a_affine.c \
|
|
art_rgba.c \
|
|
art_rgb_svp.c \
|
|
art_svp.c \
|
|
art_svp_intersect.c \
|
|
art_svp_ops.c \
|
|
art_svp_point.c \
|
|
art_svp_render_aa.c \
|
|
art_svp_vpath.c \
|
|
art_svp_vpath_stroke.c \
|
|
art_svp_wind.c \
|
|
art_uta.c \
|
|
art_uta_ops.c \
|
|
art_uta_rect.c \
|
|
art_uta_vpath.c \
|
|
art_uta_svp.c \
|
|
art_vpath.c \
|
|
art_vpath_bpath.c \
|
|
art_vpath_dash.c \
|
|
art_vpath_filters.c \
|
|
art_vpath_svp.c \
|
|
libart-features.c \
|
|
$(NULL)
|
|
|
|
EXPORTS = \
|
|
art_affine.h \
|
|
art_alphagamma.h \
|
|
art_bpath.h \
|
|
art_config.h \
|
|
art_filterlevel.h \
|
|
art_gray_svp.h \
|
|
art_misc.h \
|
|
art_pathcode.h \
|
|
art_pixbuf.h \
|
|
art_point.h \
|
|
art_rect.h \
|
|
art_rect_svp.h \
|
|
art_rect_uta.h \
|
|
art_render.h \
|
|
art_render_gradient.h \
|
|
art_render_mask.h \
|
|
art_render_svp.h \
|
|
art_rgb.h \
|
|
art_rgb_affine.h \
|
|
art_rgb_bitmap_affine.h \
|
|
art_rgb_pixbuf_affine.h \
|
|
art_rgb_rgba_affine.h \
|
|
art_rgb_a_affine.h \
|
|
art_rgb_svp.h \
|
|
art_rgba.h \
|
|
art_svp.h \
|
|
art_svp_intersect.h \
|
|
art_svp_ops.h \
|
|
art_svp_point.h \
|
|
art_svp_render_aa.h \
|
|
art_svp_vpath.h \
|
|
art_svp_vpath_stroke.h \
|
|
art_svp_wind.h \
|
|
art_uta.h \
|
|
art_uta_ops.h \
|
|
art_uta_rect.h \
|
|
art_uta_vpath.h \
|
|
art_uta_svp.h \
|
|
art_vpath.h \
|
|
art_vpath_bpath.h \
|
|
art_vpath_dash.h \
|
|
art_vpath_filters.h \
|
|
art_vpath_svp.h \
|
|
config.h \
|
|
libart.h \
|
|
libart-features.h \
|
|
$(NULL)
|
|
|
|
# XXX For some reason, building the tests in this way on Windows will
|
|
# wreck Libart's PDB-file
|
|
#ifdef ENABLE_TESTS
|
|
#SIMPLE_PROGRAMS = testart$(BIN_SUFFIX) testuta$(BIN_SUFFIX)
|
|
#endif
|
|
|
|
FORCE_SHARED_LIB=1
|
|
|
|
# Since libart does not mark its exported functions, don't make symbols
|
|
# hidden by default.
|
|
|
|
VISIBILITY_FLAGS =
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
DEFINES += -DLIBART_COMPILATION
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
LIBS += $(IMPORT_LIBRARY)
|
|
else
|
|
LIBS += -L. -l$(LIBRARY_NAME)
|
|
endif
|
|
|
|
$(SIMPLE_PROGRAMS): %$(BIN_SUFFIX): %.$(OBJ_SUFFIX) $(SHARED_LIBRARY)
|
|
|