Add ARM Thumb mutex implementation from a "arm-thumb-mutex.patch"
[LibreOffice.git] / gdk-pixbuf / makefile.mk
blob74f32012f63af3625a1089546cfdf93fae1ae25b
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
28 PRJ=.
30 PRJNAME=gdk-pixbuf
31 TARGET=so_gdk-pixbuf
33 # --- Settings -----------------------------------------------------
35 .INCLUDE : settings.mk
37 .IF "$(SYSTEM_GDKPIXBUF)" == "YES"
38 all:
39 @echo "An already available installation of gdk-pixbuf should exist on your system."
40 @echo "Therefore the version provided here does not need to be built in addition."
41 .ENDIF
43 # --- Files --------------------------------------------------------
45 GDKPIXBUFVERSION=2.23.0
47 TARFILE_NAME=$(PRJNAME)-$(GDKPIXBUFVERSION)
48 TARFILE_MD5=a7d6c5f2fe2d481149ed3ba807b5c043
50 .IF "$(OS)"=="MACOSX"
52 PATCH_FILES=gdk-pixbuf-2.23.0.patch
53 CONFIGURE_DIR=
54 CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) \
55 BASE_DEPENDENCIES_CFLAGS="-I$(SOLARINCDIR)/external -I$(SOLARINCDIR)/external/glib-2.0" \
56 BASE_DEPENDENCIES_LIBS=" " \
57 GDK_PIXBUF_XLIB_DEP_CFLAGS="-I$(SOLARINCDIR)$/external -I$(SOLARINCDIR)$/external/glib-2.0" \
58 GDK_PIXBUF_XLIB_DEP_LIBS=" " \
59 ./configure --disable-dependency-tracking $(eq,$(VERBOSE),$(NULL) --enable-silent-rules --disable-silent-rules) \
60 CPPFLAGS="$(EXTRA_CDEFS) -I$(SOLARINCDIR)/external -I$(SOLARINCDIR)/external/glib-2.0 -I$(SOLARINCDIR)/external/libpng -I$(SOLARINCDIR)/external/jpeg" \
61 CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)" \
62 LDFLAGS="$(EXTRA_LINKFLAGS) -L$(SOLARLIBDIR) -lgobject-2.0 -lgio-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0" \
63 --prefix=$(SRC_ROOT)/$(PRJNAME)/$(MISC) \
64 --disable-nls \
65 --disable-modules \
66 --with-included-loaders=ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,qtif,bmp,gif,ico,jpeg \
67 --disable-glibtest --without-libtiff --without-libjasper
69 .IF "$(CROSS_COMPILING)"=="YES"
70 CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) gio_can_sniff=no
71 .ENDIF
73 BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)
74 BUILD_DIR=$(CONFIGURE_DIR)
76 EXTRPATH=LOADER
77 OUT2LIB+=gdk-pixbuf/.libs/libgdk_pixbuf-2.0.0.dylib
79 OUT2INC+=gdk-pixbuf/gdk-pixbuf-animation.h
80 OUT2INC+=gdk-pixbuf/gdk-pixbuf-features.h
81 OUT2INC+=gdk-pixbuf/gdk-pixbuf-marshal.h
82 OUT2INC+=gdk-pixbuf/gdk-pixbuf.h
83 OUT2INC+=gdk-pixbuf/gdk-pixbuf-core.h
84 OUT2INC+=gdk-pixbuf/gdk-pixbuf-io.h
85 OUT2INC+=gdk-pixbuf/gdk-pixbuf-simple-anim.h
86 OUT2INC+=gdk-pixbuf/gdk-pixdata.h
87 OUT2INC+=gdk-pixbuf/gdk-pixbuf-enum-types.h
88 OUT2INC+=gdk-pixbuf/gdk-pixbuf-loader.h
89 OUT2INC+=gdk-pixbuf/gdk-pixbuf-transform.h
91 .ELIF "$(OS)"=="WNT"
93 PATCH_FILES=gdk-pixbuf-2.23.0-win32.patch
94 ADDITIONAL_FILES=config.h.win32 glib-mkenums.pl msvc_recommended_pragmas.h
95 CONFIGURE_DIR=
96 CONFIGURE_ACTION=
97 BUILD_DIR=./gdk-pixbuf
98 BUILD_ACTION=nmake -f makefile.msc
100 OUT2LIB+=gdk-pixbuf/gdk_pixbuf-2.0.lib
102 OUT2BIN+=gdk-pixbuf/libgdk_pixbuf-2.0-0.dll
104 OUT2INC+=gdk-pixbuf/gdk-pixbuf-animation.h
105 OUT2INC+=gdk-pixbuf/gdk-pixbuf-features.h
106 OUT2INC+=gdk-pixbuf/gdk-pixbuf-marshal.h
107 OUT2INC+=gdk-pixbuf/gdk-pixbuf.h
108 OUT2INC+=gdk-pixbuf/gdk-pixbuf-core.h
109 OUT2INC+=gdk-pixbuf/gdk-pixbuf-io.h
110 OUT2INC+=gdk-pixbuf/gdk-pixbuf-simple-anim.h
111 OUT2INC+=gdk-pixbuf/gdk-pixdata.h
112 OUT2INC+=gdk-pixbuf/gdk-pixbuf-enum-types.h
113 OUT2INC+=gdk-pixbuf/gdk-pixbuf-loader.h
114 OUT2INC+=gdk-pixbuf/gdk-pixbuf-transform.h
116 .ELSE
118 .ENDIF
120 # --- Targets ------------------------------------------------------
122 .INCLUDE : set_ext.mk
123 .INCLUDE : target.mk
124 .INCLUDE : tg_ext.mk