diff options
Diffstat (limited to 'gettext')
-rw-r--r-- | gettext/makefile.mk | 80 | ||||
-rw-r--r-- | gettext/prj/build.lst | 3 | ||||
-rw-r--r-- | gettext/prj/d.lst | 15 |
3 files changed, 98 insertions, 0 deletions
diff --git a/gettext/makefile.mk b/gettext/makefile.mk new file mode 100644 index 000000000000..60d62ab00f75 --- /dev/null +++ b/gettext/makefile.mk @@ -0,0 +1,80 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=. + +PRJNAME=gettext +TARGET=so_gettext + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +.IF "$(SYSTEM_GETTEXT)" == "YES" +all: + @echo "An already available installation of gettext should exist on your system." + @echo "Therefore the version provided here does not need to be built in addition." +.ENDIF + +# --- Files -------------------------------------------------------- + +GETTEXTVERSION=0.18.1.1 + +TARFILE_NAME=$(PRJNAME)-$(GETTEXTVERSION) +TARFILE_MD5=3dd55b952826d2b32f51308f2f91aa89 + +PATCH_FILES= + +CONFIGURE_DIR= +CONFIGURE_ACTION=.$/configure --prefix=$(SRC_ROOT)$/$(PRJNAME)$/$(MISC) CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)" +CONFIGURE_FLAGS=$(eq,$(OS),MACOSX CPPFLAGS="$(EXTRA_CDEFS)" $(NULL)) --disable-curses --without-emacs --without-git --disable-java + +BUILD_ACTION=$(GNUMAKE) +BUILD_DIR=$(CONFIGURE_DIR) + +.IF "$(OS)"=="MACOSX" +OUT2LIB+=gettext-tools$/intl$/.libs$/libintl.*.dylib +OUT2LIB+=gettext-runtime$/libasprintf$/.libs$/libasprintf.*.dylib +OUT2LIB+=gettext-tools$/gnulib-lib$/.libs$/libgettextlib-*.dylib +OUT2LIB+=gettext-tools$/src$/.libs$/libgettextsrc-*.dylib +OUT2LIB+=gettext-tools$/libgettextpo$/.libs$/libgettextpo.*.dylib + +OUT2INC+=gettext-tools$/intl$/libintl.h +OUT2INC+=gettext-runtime$/libasprintf$/autosprintf.h +OUT2INC+=gettext-tools$/libgettextpo$/gettext-po.h + +OUT2BIN+=gettext-tools$/src$/.libs$/msgfmt +.ELIF "$(OS)"=="WNT" +.ELSE +.ENDIF + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk +.INCLUDE : tg_ext.mk + diff --git a/gettext/prj/build.lst b/gettext/prj/build.lst new file mode 100644 index 000000000000..10d25eb8461f --- /dev/null +++ b/gettext/prj/build.lst @@ -0,0 +1,3 @@ +gt gettext : soltools NULL +gt gettext usr1 - all gt_mkout NULL +gt gettext nmake - all gt_gettext NULL diff --git a/gettext/prj/d.lst b/gettext/prj/d.lst new file mode 100644 index 000000000000..a7df40b0a718 --- /dev/null +++ b/gettext/prj/d.lst @@ -0,0 +1,15 @@ +mkdir: %_DEST%\inc%_EXT%\external +..\%__SRC%\inc\*.h %_DEST%\inc%_EXT%\external\*.h +..\%__SRC%\lib\libasprintf.0.dylib %_DEST%\lib%_EXT%\libasprintf.0.dylib +symlink: %_DEST%\lib%_EXT%\libasprintf.0.dylib %_DEST%\lib%_EXT%\libasprintf.dylib +..\%__SRC%\lib\libgettextpo.0.dylib %_DEST%\lib%_EXT%\libgettextpo.0.dylib +symlink: %_DEST%\lib%_EXT%\libgettextpo.0.dylib %_DEST%\lib%_EXT%\libgettextpo.dylib +..\%__SRC%\lib\libgettextsrc-0.18.1.dylib %_DEST%\lib%_EXT%\libgettextsrc-0.18.1.dylib +symlink: %_DEST%\lib%_EXT%\libgettextsrc-0.18.1.dylib %_DEST%\lib%_EXT%\libgettextsrc.dylib +..\%__SRC%\lib\libintl.8.dylib %_DEST%\lib%_EXT%\libintl.8.dylib +symlink: %_DEST%\lib%_EXT%\libintl.8.dylib %_DEST%\lib%_EXT%\libintl.dylib +..\%__SRC%\lib\libgettextlib-0.18.1.dylib %_DEST%\lib%_EXT%\libgettextlib-0.18.1.dylib +symlink: %_DEST%\lib%_EXT%\libgettextlib-0.18.1.dylib %_DEST%\lib%_EXT%\libgettextlib.dylib +..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT% +..\%__SRC%\bin\msgfmt %_DEST%\bin%_EXT% + |