diff options
author | Release Engineers <releng@openoffice.org> | 2008-11-30 07:56:43 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2008-11-30 07:56:43 +0000 |
commit | 5cdde801ee4b4b0d0fe2a77c2e9e35a36f05ba10 (patch) | |
tree | 55d0d4ed213d6fbf02b88f1edbb8ed23754e57f8 /cairo/pixman | |
parent | fab1c2d1b0f0b64248fb912593a5426e7ff827b8 (diff) |
CWS-TOOLING: integrate CWS cairosource01
2008-11-28 13:29:24 +0100 rene r264546 : i96634# add patch from kendy fixing --disable-mozilla with the new mozbootstrap stuff
2008-11-28 12:43:54 +0100 rene r264540 : revert commit to wrong branch
2008-11-28 11:52:54 +0100 rene r264537 : #ii10000# work around gcc taking hours/OOMing with qnametostr.cxx
2008-11-24 21:40:36 +0100 mox r264268 : Remove the support for pre-built binaries, now that cairo can be built
from source
2008-11-24 21:39:01 +0100 mox r264267 : Remove the support for pre-built binaries, now that cairo can be built
from source
2008-11-14 22:25:27 +0100 mox r263699 : Fix build breakers on vanilla Win32
2008-11-10 19:45:48 +0100 mox r263538 : Try to fix build breaker
2008-11-09 10:48:43 +0100 mox r263493 : Full pixman_CFLAGS and pixman_LIBS are needed for configure to work
properly on UNX.
2008-11-08 20:24:06 +0100 mox r263491 : Patch for pixman is still needed to fix build breakers in VM with Linux/FreeBSD
2008-11-05 21:29:44 +0100 mox r263358 : CWS-TOOLING: rebase CWS cairosource01 to trunk@263288 (milestone: DEV300:m35)
2008-11-03 20:36:48 +0100 mox r263306 : Update cairo sources missing from migration.
2008-11-03 20:33:17 +0100 mox r263305 : Migrate CWS cairosource01 to SVN.
Diffstat (limited to 'cairo/pixman')
-rw-r--r-- | cairo/pixman/makefile.mk | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/cairo/pixman/makefile.mk b/cairo/pixman/makefile.mk index a6d5fef55c8d..b33d02ffc731 100644 --- a/cairo/pixman/makefile.mk +++ b/cairo/pixman/makefile.mk @@ -33,6 +33,7 @@ PRJ=.. PRJNAME=cairo TARGET=so_pixman +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE # --- Settings ----------------------------------------------------- @@ -42,30 +43,28 @@ TARGET=so_pixman all: @echo "Nothing to do (Cairo not enabled)." -.ELIF "$(SYSTEM_CAIRO)" == "YES" +.ELIF "$(BUILD_PIXMAN)" == "" all: - @echo "Nothing to do, using system cairo." - -.ELIF "$(BUILD_CAIRO)" == "" -all: - @echo "Not building cairo from source, prebuilt binaries will be used." + @echo "Not building pixman." .ENDIF # --- Files -------------------------------------------------------- -PIXMANVERSION=0.10.0 +PIXMANVERSION=0.12.0 TARFILE_NAME=pixman-$(PIXMANVERSION) +PATCH_FILE_NAME=..$/$(TARFILE_NAME).patch # Note: we are building static pixman library to avoid linking problems. +# However, for Unix dynamic library must be used (especially due to 64bit issues) .IF "$(OS)"=="WNT" # --------- Windows ------------------------------------------------- .IF "$(COM)"=="GCC" CONFIGURE_DIR= CONFIGURE_ACTION=.$/configure -CONFIGURE_FLAGS=--enable-static=yes --enable-shared=no --build=i586-pc-mingw32 --host=i586-pc-mingw32 CFLAGS="$(cairo_CFLAGS) -D_MT" LDFLAGS="$(cairo_LDFLAGS) -no-undefined -L$(ILIB:s/;/ -L/)" LIBS="-lmingwthrd" OBJDUMP="$(WRAPCMD) objdump" +CONFIGURE_FLAGS=--enable-static=yes --enable-shared=no --build=i586-pc-mingw32 --host=i586-pc-mingw32 CFLAGS="$(pixman_CFLAGS) -D_MT" LDFLAGS="$(pixman_LDFLAGS) -no-undefined -L$(ILIB:s/;/ -L/)" LIBS="-lmingwthrd" OBJDUMP="$(WRAPCMD) objdump" BUILD_ACTION=$(GNUMAKE) BUILD_FLAGS+= -j$(EXTMAXPROCESS) BUILD_DIR=$(CONFIGURE_DIR) @@ -74,13 +73,8 @@ BUILD_DIR=$(CONFIGURE_DIR) .ENDIF .ELSE # WNT, not GCC -CONFIGURE_DIR=win32 -CONFIGURE_ACTION=cscript configure.js -.IF "$(debug)"!="" -CONFIGURE_FLAGS+=debug=yes -.ENDIF -BUILD_ACTION=nmake -BUILD_DIR=$(CONFIGURE_DIR) +BUILD_DIR=pixman +BUILD_ACTION=$(GNUMAKE) -f Makefile.win32 .ENDIF .ELIF "$(GUIBASE)"=="aqua" @@ -103,7 +97,7 @@ LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' .ENDIF # "$(OS)$(COM)"=="SOLARISC52" .IF "$(SYSBASE)"!="" -cairo_CFLAGS+=-I$(SYSBASE)$/usr$/include -I$(SOLARINCDIR)$/external $(EXTRA_CFLAGS) +pixman_CFLAGS+=-I$(SYSBASE)$/usr$/include -I$(SOLARINCDIR)$/external $(EXTRA_CFLAGS) .IF "$(OS)"=="SOLARIS" || "$(OS)"=="LINUX" LDFLAGS+=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -L$(SOLARLIBDIR) -lpthread -ldl .ENDIF @@ -112,12 +106,14 @@ LDFLAGS+=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -L$(SOLARLIBDIR) -lpthread -ld .EXPORT: LDFLAGS .IF "$(COMNAME)"=="sunpro5" -cairo_CFLAGS+=-xc99=none +pixman_CFLAGS+=-xc99=none .ENDIF +pixman_CFLAGS+=-fPIC + CONFIGURE_DIR= CONFIGURE_ACTION=.$/configure -CONFIGURE_FLAGS=--enable-static=yes --enable-shared=no CFLAGS="$(cairo_CFLAGS)" +CONFIGURE_FLAGS=--enable-static=no --enable-shared=yes CFLAGS="$(pixman_CFLAGS)" BUILD_ACTION=$(GNUMAKE) BUILD_FLAGS+= -j$(EXTMAXPROCESS) BUILD_DIR=$(CONFIGURE_DIR) @@ -136,11 +132,10 @@ OUT2LIB+=pixman$/.libs$/libpixman-1.a .IF "$(COM)"=="GCC" OUT2LIB+=pixman$/.libs$/*.a .ELSE -OUT2LIB+=win32$/bin.msvc$/*.lib -OUT2BIN+=win32$/bin.msvc$/*.dll +OUT2LIB+=pixman$/release$/*.lib .ENDIF .ELSE -OUT2LIB+=pixman$/.libs$/libpixman-1.a +OUT2LIB+=pixman$/.libs$/libpixman-1.so .ENDIF # --- Targets ------------------------------------------------------ |