1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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 #*************************************************************************
33 # --- Settings -----------------------------------------------------
35 .INCLUDE
: settings.mk
37 .IF
"$(SYSTEM_LIBCROCO)" == "YES"
39 @echo
"An already available installation of libcroco should exist on your system."
40 @echo
"Therefore the version provided here does not need to be built in addition."
43 # --- Files --------------------------------------------------------
47 TARFILE_NAME
=$(PRJNAME
)-$(LIBCROCOVERSION
)
48 TARFILE_MD5
=0611e099e807210cf738dcb41425d104
54 CONFIGURE_ACTION
=.
/configure
--prefix=$(SRC_ROOT
)/$(PRJNAME
)/$(MISC
) \
55 CPPFLAGS
="$(EXTRA_CDEFS)" \
56 CFLAGS
="$(ARCH_FLAGS) $(EXTRA_CFLAGS) -I$(SOLARINCDIR)/external -I$(SOLARINCDIR)/external/glib-2.0" \
57 LDFLAGS
="-L$(SOLARLIBDIR) $(EXTRA_LINKFLAGS) -Wl,-dylib_file,@loader_path/libgmodule-2.0.0.dylib:$(SOLARLIBDIR)/libgmodule-2.0.0.dylib" \
58 GLIB2_CFLAGS
="-I$(SOLARINCDIR)/external/glib-2.0" \
59 GLIB2_LIBS
="-lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl" \
60 LIBXML2_CFLAGS
="$(LIBXML_CFLAGS)" \
61 LIBXML2_LIBS
="$(LIBXML_LIBS)"
63 .IF
"$(CROSS_COMPILING)"=="YES"
64 CONFIGURE_FLAGS
+=--build
=$(BUILD_PLATFORM
) --host
=$(HOST_PLATFORM
)
67 BUILD_ACTION
=$(AUGMENT_LIBRARY_PATH
) \
69 BUILD_DIR
=$(CONFIGURE_DIR
)
72 OUT2LIB
+=src
/.libs
/libcroco-0.6
.3.0.1.dylib
74 OUT2INC
+=src
/cr-additional-sel.h
75 OUT2INC
+=src
/cr-input.h
77 OUT2INC
+=src
/cr-stylesheet.h
78 OUT2INC
+=src
/cr-attr-sel.h
80 OUT2INC
+=src
/cr-sel-eng.h
81 OUT2INC
+=src
/cr-term.h
82 OUT2INC
+=src
/cr-cascade.h
83 OUT2INC
+=src
/cr-om-parser.h
84 OUT2INC
+=src
/cr-selector.h
85 OUT2INC
+=src
/cr-tknzr.h
86 OUT2INC
+=src
/cr-declaration.h
87 OUT2INC
+=src
/cr-parser.h
88 OUT2INC
+=src
/cr-simple-sel.h
89 OUT2INC
+=src
/cr-token.h
90 OUT2INC
+=src
/cr-doc-handler.h
91 OUT2INC
+=src
/cr-parsing-location.h
92 OUT2INC
+=src
/cr-statement.h
93 OUT2INC
+=src
/cr-utils.h
94 OUT2INC
+=src
/cr-enc-handler.h
95 OUT2INC
+=src
/cr-prop-list.h
96 OUT2INC
+=src
/cr-string.h
97 OUT2INC
+=src
/libcroco-config.h
98 OUT2INC
+=src
/cr-fonts.h
99 OUT2INC
+=src
/cr-pseudo.h
100 OUT2INC
+=src
/cr-style.h
101 OUT2INC
+=src
/libcroco.h
105 BUILD_DIR
=$(CONFIGURE_DIR
)$/src
106 PATCH_FILES
=libcroco-0.6
.2.patch
110 OUT2INC
+=src
$/cr-additional-sel.h
111 OUT2INC
+=src
$/cr-input.h
112 OUT2INC
+=src
$/cr-rgb.h
113 OUT2INC
+=src
$/cr-stylesheet.h
114 OUT2INC
+=src
$/cr-attr-sel.h
115 OUT2INC
+=src
$/cr-num.h
116 OUT2INC
+=src
$/cr-sel-eng.h
117 OUT2INC
+=src
$/cr-term.h
118 OUT2INC
+=src
$/cr-cascade.h
119 OUT2INC
+=src
$/cr-om-parser.h
120 OUT2INC
+=src
$/cr-selector.h
121 OUT2INC
+=src
$/cr-tknzr.h
122 OUT2INC
+=src
$/cr-declaration.h
123 OUT2INC
+=src
$/cr-parser.h
124 OUT2INC
+=src
$/cr-simple-sel.h
125 OUT2INC
+=src
$/cr-token.h
126 OUT2INC
+=src
$/cr-doc-handler.h
127 OUT2INC
+=src
$/cr-parsing-location.h
128 OUT2INC
+=src
$/cr-statement.h
129 OUT2INC
+=src
$/cr-utils.h
130 OUT2INC
+=src
$/cr-enc-handler.h
131 OUT2INC
+=src
$/cr-prop-list.h
132 OUT2INC
+=src
$/cr-string.h
133 OUT2INC
+=src
$/libcroco-config.h
134 OUT2INC
+=src
$/cr-fonts.h
135 OUT2INC
+=src
$/cr-pseudo.h
136 OUT2INC
+=src
$/cr-style.h
137 OUT2INC
+=src
$/libcroco.h
142 # --- Targets ------------------------------------------------------
144 .INCLUDE
: set_ext.mk