office-gobmx/soldep/util/perl.mk

72 lines
2.8 KiB
Makefile
Raw Normal View History

2006-04-26 06:27:13 -05:00
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
2006-04-26 06:27:13 -05:00
#
# OpenOffice.org - a multi-platform office productivity suite
2006-04-26 06:27:13 -05:00
#
# This file is part of OpenOffice.org.
2006-04-26 06:27:13 -05:00
#
# 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.
2006-04-26 06:27:13 -05:00
#
# 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).
2006-04-26 06:27:13 -05:00
#
# 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.
2006-04-26 06:27:13 -05:00
#
#*************************************************************************
.IF "$(GUI)"=="WNT"
2009-04-30 04:01:06 -05:00
SOLARINC+=-I$(BUILD_TOOLS)$/..$/perl$/lib$/core
PERL_LIB=$(BUILD_TOOLS)$/..$/perl$/lib$/core$/perl58.lib
2006-10-27 01:17:52 -05:00
.ENDIF
2006-04-26 06:27:13 -05:00
.IF "$(OS)$(CPU)" == "LINUXI"
.IF "$(OUTPATH)" == "unxubti8" # Hack for Ububtu x86 builds in SO environment
SOLARINC+=-I$/usr$/lib$/perl$/5.8.8$/CORE
PERL_LIB= -lcrypt \
$/usr$/lib$/libperl.a \
$/usr$/lib$/perl$/5.8.8$/auto/DynaLoader/DynaLoader.a
.ELSE
SOLARINC+=-I$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/i686-linux$/CORE
PERL_LIB= -lcrypt \
2006-05-15 03:57:45 -05:00
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/i686-linux$/CORE$/libperl.a \
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/i686-linux$/auto/DynaLoader/DynaLoader.a
.ENDIF
2006-10-27 01:17:52 -05:00
.ENDIF
2006-04-26 06:27:13 -05:00
.IF "$(OS)$(CPU)" == "SOLARISS"
2006-05-15 03:57:45 -05:00
SOLARINC+=-I$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/sun4-solaris$/CORE
2006-04-26 06:27:13 -05:00
PERL_LIB= -lsocket \
-lnsl \
-ldl \
2006-10-27 01:17:52 -05:00
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/sun4-solaris$/CORE$/shared$/libperl.so \
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/sun4-solaris$/CORE$/shared$/DynaLoader.a
.ENDIF
2006-04-26 06:27:13 -05:00
.IF "$(OS)$(CPU)" == "SOLARISI"
2006-05-15 03:57:45 -05:00
SOLARINC+=-I$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/i86pc-solaris$/CORE
2006-04-26 06:27:13 -05:00
PERL_LIB= -lsocket \
-lnsl \
-ldl \
2006-10-30 09:50:51 -06:00
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/i86pc-solaris$/CORE$/shared$/libperl.so \
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/i86pc-solaris$/CORE$/shared$/DynaLoader.a
2006-04-26 06:27:13 -05:00
.ENDIF
2006-10-27 01:17:52 -05:00
.IF "$(OS)$(CPU)" == "MACOSXI"
SOLARINC+=-I$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/darwin-2level$/CORE
PERL_LIB= \
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/darwin-2level$/CORE$/libperl.a \
$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/darwin-2level$/auto/DynaLoader/DynaLoader.a
.ENDIF