Page Breaks: IsLeaveWindow() is unreliable, we do not need it here.
[LibreOffice.git] / gettext / makefile.mk
blob50d294f65afe5721f50340617d8047a67b93e80e
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=gettext
31 TARGET=so_gettext
33 # --- Settings -----------------------------------------------------
35 .INCLUDE : settings.mk
37 .IF "$(SYSTEM_GETTEXT)" == "YES"
38 all:
39 @echo "An already available installation of gettext 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 GETTEXTVERSION=0.18.1.1
47 TARFILE_NAME=$(PRJNAME)-$(GETTEXTVERSION)
48 TARFILE_MD5=3dd55b952826d2b32f51308f2f91aa89
50 # see <https://savannah.gnu.org/bugs/index.php?33999>
51 PATCH_FILES=gettext-0.18.1.1.stpncpy.patch
54 .IF "$(OS)"=="MACOSX"
56 CONFIGURE_DIR=
57 CONFIGURE_ACTION=./configure --prefix=$(SRC_ROOT)/$(PRJNAME)/$(MISC) $(eq,$(VERBOSE),$(NULL) --enable-silent-rules --disable-silent-rules)
58 CONFIGURE_FLAGS=--disable-dependeny-tracking --disable-acl --disable-curses --without-emacs --without-git --disable-java
59 CONFIGURE_FLAGS+=CPPFLAGS="$(EXTRA_CDEFS)" CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)" CXXFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)"
61 .IF "$(CROSS_COMPILING)"=="YES"
62 CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
63 .ENDIF
65 BUILD_ACTION=$(GNUMAKE)
66 BUILD_DIR=$(CONFIGURE_DIR)
68 EXTRPATH=LOADER
69 OUT2LIB+=gettext-tools/intl/.libs/libintl.*.dylib
70 OUT2LIB+=gettext-runtime/libasprintf/.libs/libasprintf.*.dylib
71 OUT2LIB+=gettext-tools/gnulib-lib/.libs/libgettextlib-*.dylib
72 OUT2LIB+=gettext-tools/src/.libs/libgettextsrc-*.dylib
73 OUT2LIB+=gettext-tools/libgettextpo/.libs/libgettextpo.*.dylib
75 OUT2INC+=gettext-tools/intl/libintl.h
76 OUT2INC+=gettext-runtime/libasprintf/autosprintf.h
77 OUT2INC+=gettext-tools/libgettextpo/gettext-po.h
79 OUT2BIN+=gettext-tools/src/.libs/msgattrib
80 OUT2BIN+=gettext-tools/src/.libs/msgcat
81 OUT2BIN+=gettext-tools/src/.libs/msgcmp
82 OUT2BIN+=gettext-tools/src/.libs/msgcomm
83 OUT2BIN+=gettext-tools/src/.libs/msgconv
84 OUT2BIN+=gettext-tools/src/.libs/msgen
85 OUT2BIN+=gettext-tools/src/.libs/msgexec
86 OUT2BIN+=gettext-tools/src/.libs/msgfilter
87 OUT2BIN+=gettext-tools/src/.libs/msgfmt
88 OUT2BIN+=gettext-tools/src/.libs/msggrep
89 OUT2BIN+=gettext-tools/src/.libs/msginit
90 OUT2BIN+=gettext-tools/src/.libs/msgmerge
91 OUT2BIN+=gettext-tools/src/.libs/msgunfmt
92 OUT2BIN+=gettext-tools/src/.libs/msguniq
93 OUT2BIN+=gettext-tools/src/.libs/urlget
94 OUT2BIN+=gettext-tools/src/.libs/xgettext
96 .ELIF "$(OS)"=="IOS"
98 BUILD_DIR=gettext-runtime/intl
99 BUILD_ACTION=dmake
100 .IF "$(VERBOSE)"!=""
101 BUILD_ACTION+=VERBOSE=t
102 .ENDIF
103 PATCH_FILES=gettext-0.18.1.1.patch
104 ADDITIONAL_FILES=\
105 gettext-runtime/intl/makefile.mk \
106 gettext-runtime/intl/libgnuintl.h \
107 gettext-runtime/intl/libintl.h \
108 gettext-runtime/config.h
109 OUT2INC+=gettext-runtime/intl/libintl.h
111 .ELIF "$(OS)"=="WNT"
113 BUILD_DIR=gettext-runtime/intl
114 BUILD_ACTION=dmake
115 PATCH_FILES=gettext-0.18.1.1.patch
116 ADDITIONAL_FILES=\
117 gettext-runtime/intl/makefile.mk \
118 gettext-runtime/intl/libgnuintl.h \
119 gettext-runtime/intl/libintl.h \
120 gettext-runtime/config.h
121 OUT2INC+=gettext-runtime/intl/libintl.h
122 .ELSE
123 .ENDIF
125 # --- Targets ------------------------------------------------------
127 .INCLUDE : set_ext.mk
128 .INCLUDE : target.mk
129 .INCLUDE : tg_ext.mk