-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
343 changed files
with
230,626 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@echo off | ||
|
||
cd libcurl | ||
call build.bat | ||
|
||
cd ..\zlib | ||
call build.bat | ||
|
||
cd ..\cairo | ||
call build.bat | ||
|
||
cd ..\libpng | ||
call build.bat |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@echo off | ||
|
||
setlocal | ||
|
||
if exist "%VS80COMNTOOLS%vsvars32.bat" ( | ||
call "%VS80COMNTOOLS%vsvars32.bat" | ||
) else ( | ||
call "%VS90COMNTOOLS%vsvars32.bat" | ||
) | ||
|
||
set COMPILER=cl /nologo /MT /O2 /W3 /c /TC /DPIXMAN_NO_TLS /D_CRT_SECURE_NO_DEPRECATE /DCAIRO_WIN32_STATIC_BUILD /DDISABLE_SOME_FLOATING_POINT -DPACKAGE=pixman-1 -DPACKAGE_VERSION="" -DPACKAGE_BUGREPORT="" /I src /I pixman /I ../libpng /I ../zlib /wd 4146 /wd 4244 /wd 4996 /wd 4819 /wd 4700 | ||
set LIBER=lib /nologo | ||
|
||
%COMPILER% src/*.c | ||
%COMPILER% src/win32/*.c | ||
%COMPILER% pixman/pixman-access-accessors.c | ||
%COMPILER% pixman/pixman-access.c | ||
%COMPILER% pixman/pixman-bits-image.c | ||
%COMPILER% pixman/pixman-combine32.c | ||
%COMPILER% pixman/pixman-combine64.c | ||
%COMPILER% pixman/pixman-conical-gradient.c | ||
%COMPILER% pixman/pixman-cpu.c | ||
%COMPILER% pixman/pixman-noop.c | ||
%COMPILER% pixman/pixman-edge-accessors.c | ||
%COMPILER% pixman/pixman-edge.c | ||
%COMPILER% pixman/pixman-fast-path.c | ||
%COMPILER% pixman/pixman-general.c | ||
%COMPILER% pixman/pixman-gradient-walker.c | ||
%COMPILER% pixman/pixman-image.c | ||
%COMPILER% pixman/pixman-implementation.c | ||
%COMPILER% pixman/pixman-linear-gradient.c | ||
%COMPILER% pixman/pixman-matrix.c | ||
%COMPILER% pixman/pixman-mmx.c | ||
%COMPILER% pixman/pixman-radial-gradient.c | ||
%COMPILER% pixman/pixman-region16.c | ||
%COMPILER% pixman/pixman-region32.c | ||
%COMPILER% pixman/pixman-solid-fill.c | ||
%COMPILER% pixman/pixman-timer.c | ||
%COMPILER% pixman/pixman-trap.c | ||
%COMPILER% pixman/pixman-utils.c | ||
%COMPILER% pixman/pixman.c | ||
%LIBER% /out:../cairo.lib *.obj | ||
del *.obj | ||
|
||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef CAIRO_VERSION_H | ||
#define CAIRO_VERSION_H | ||
|
||
#define CAIRO_VERSION_MAJOR 1 | ||
#define CAIRO_VERSION_MINOR 12 | ||
#define CAIRO_VERSION_MICRO 0 | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
include $(top_srcdir)/pixman/Makefile.sources | ||
|
||
lib_LTLIBRARIES = libpixman-1.la | ||
|
||
libpixman_1_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -no-undefined @PTHREAD_LDFLAGS@ | ||
libpixman_1_la_LIBADD = @PTHREAD_LIBS@ @DEP_LIBS@ -lm | ||
libpixman_1_la_SOURCES = $(libpixman_sources) $(libpixman_headers) | ||
|
||
libpixmanincludedir = $(includedir)/pixman-1 | ||
libpixmaninclude_HEADERS = pixman.h pixman-version.h | ||
noinst_LTLIBRARIES = | ||
|
||
EXTRA_DIST = \ | ||
Makefile.win32 \ | ||
make-combine.pl \ | ||
pixman-combine.c.template \ | ||
pixman-combine.h.template \ | ||
pixman-region.c \ | ||
solaris-hwcap.mapfile \ | ||
$(NULL) | ||
|
||
DISTCLEANFILES = $(BUILT_SOURCES) | ||
|
||
# mmx code | ||
if USE_X86_MMX | ||
noinst_LTLIBRARIES += libpixman-mmx.la | ||
libpixman_mmx_la_SOURCES = \ | ||
pixman-mmx.c | ||
libpixman_mmx_la_CFLAGS = $(DEP_CFLAGS) $(MMX_CFLAGS) | ||
libpixman_mmx_la_LIBADD = $(DEP_LIBS) | ||
libpixman_1_la_LDFLAGS += $(MMX_LDFLAGS) | ||
libpixman_1_la_LIBADD += libpixman-mmx.la | ||
|
||
ASM_CFLAGS_mmx=$(MMX_CFLAGS) | ||
endif | ||
|
||
# vmx code | ||
if USE_VMX | ||
noinst_LTLIBRARIES += libpixman-vmx.la | ||
libpixman_vmx_la_SOURCES = \ | ||
pixman-vmx.c \ | ||
pixman-combine32.h | ||
libpixman_vmx_la_CFLAGS = $(DEP_CFLAGS) $(VMX_CFLAGS) | ||
libpixman_vmx_la_LIBADD = $(DEP_LIBS) | ||
libpixman_1_la_LIBADD += libpixman-vmx.la | ||
|
||
ASM_CFLAGS_vmx=$(VMX_CFLAGS) | ||
endif | ||
|
||
# sse2 code | ||
if USE_SSE2 | ||
noinst_LTLIBRARIES += libpixman-sse2.la | ||
libpixman_sse2_la_SOURCES = \ | ||
pixman-sse2.c | ||
libpixman_sse2_la_CFLAGS = $(DEP_CFLAGS) $(SSE2_CFLAGS) | ||
libpixman_sse2_la_LIBADD = $(DEP_LIBS) | ||
libpixman_1_la_LDFLAGS += $(SSE2_LDFLAGS) | ||
libpixman_1_la_LIBADD += libpixman-sse2.la | ||
|
||
ASM_CFLAGS_sse2=$(SSE2_CFLAGS) | ||
endif | ||
|
||
# arm simd code | ||
if USE_ARM_SIMD | ||
noinst_LTLIBRARIES += libpixman-arm-simd.la | ||
libpixman_arm_simd_la_SOURCES = \ | ||
pixman-arm-simd.c \ | ||
pixman-arm-common.h \ | ||
pixman-arm-simd-asm.S | ||
libpixman_arm_simd_la_CFLAGS = $(DEP_CFLAGS) | ||
libpixman_arm_simd_la_LIBADD = $(DEP_LIBS) | ||
libpixman_1_la_LIBADD += libpixman-arm-simd.la | ||
|
||
ASM_CFLAGS_arm_simd= | ||
endif | ||
|
||
# arm neon code | ||
if USE_ARM_NEON | ||
noinst_LTLIBRARIES += libpixman-arm-neon.la | ||
libpixman_arm_neon_la_SOURCES = \ | ||
pixman-arm-neon.c \ | ||
pixman-arm-common.h \ | ||
pixman-arm-neon-asm.S \ | ||
pixman-arm-neon-asm-bilinear.S \ | ||
pixman-arm-neon-asm.h | ||
libpixman_arm_neon_la_CFLAGS = $(DEP_CFLAGS) | ||
libpixman_arm_neon_la_LIBADD = $(DEP_LIBS) | ||
libpixman_1_la_LIBADD += libpixman-arm-neon.la | ||
|
||
ASM_CFLAGS_arm_neon= | ||
endif | ||
|
||
# iwmmxt code | ||
if USE_ARM_IWMMXT | ||
noinst_LTLIBRARIES += libpixman-iwmmxt.la | ||
libpixman_iwmmxt_la_SOURCES = pixman-mmx.c | ||
libpixman_iwmmxt_la_CFLAGS = $(DEP_CFLAGS) $(IWMMXT_CFLAGS) | ||
libpixman_iwmmxt_la_LIBADD = $(DEP_LIBS) | ||
libpixman_1_la_LDFLAGS += $(IWMMXT_LDFLAGS) | ||
libpixman_1_la_LIBADD += libpixman-iwmmxt.la | ||
|
||
ASM_CFLAGS_IWMMXT=$(IWMMXT_CFLAGS) | ||
endif | ||
|
||
.c.s : $(libpixmaninclude_HEADERS) $(BUILT_SOURCES) | ||
$(CC) $(CFLAGS) $(ASM_CFLAGS_$(@:pixman-%.s=%)) $(ASM_CFLAGS_$(@:pixman-arm-%.s=arm_%)) -DHAVE_CONFIG_H -I$(srcdir) -I$(builddir) -I$(top_builddir) -S -o $@ $< |
Oops, something went wrong.