2006-04-26 06:27:13 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 10:41:19 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# Copyright 2008 by Sun Microsystems, Inc.
|
2006-04-26 06:27:13 -05:00
|
|
|
#
|
2008-04-10 10:41:19 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2006-04-26 06:27:13 -05:00
|
|
|
#
|
2008-04-10 10:41:19 -05:00
|
|
|
# $RCSfile: perl.mk,v $
|
2006-04-26 06:27:13 -05:00
|
|
|
#
|
2008-04-10 10:41:19 -05:00
|
|
|
# $Revision: 1.7 $
|
2006-04-26 06:27:13 -05:00
|
|
|
#
|
2008-04-10 10:41:19 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2006-04-26 06:27:13 -05:00
|
|
|
#
|
2008-04-10 10:41:19 -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
|
|
|
#
|
2008-04-10 10:41:19 -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
|
|
|
#
|
2008-04-10 10:41:19 -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"
|
2006-05-15 03:57:45 -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"
|
2006-05-15 03:57:45 -05:00
|
|
|
SOLARINC+=-I$(BUILD_TOOLS)$/..$/..$/lib$/perl5$/5.8.3$/i686-linux$/CORE
|
2006-04-26 06:27:13 -05:00
|
|
|
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
|
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
|
|
|
|
2007-10-22 08:44:55 -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
|
|
|
|
|