2000-09-18 11:07:07 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2005-09-09 07:25:15 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2005-09-09 07:25:15 -05:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2008-03-25 07:56:38 -05:00
|
|
|
# $Revision: 1.24 $
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2008-03-25 07:56:38 -05:00
|
|
|
# last change: $Author: obo $ $Date: 2008-03-25 13:56:38 $
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2005-09-09 07:25:15 -05:00
|
|
|
# The Contents of this file are made available subject to
|
|
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
|
|
|
#
|
2005-09-09 07:25:15 -05:00
|
|
|
# GNU Lesser General Public License Version 2.1
|
|
|
|
# =============================================
|
|
|
|
# Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2005-09-09 07:25:15 -05:00
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License version 2.1, as published by the Free Software Foundation.
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2005-09-09 07:25:15 -05:00
|
|
|
# This library 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 for more details.
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2005-09-09 07:25:15 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
# MA 02111-1307 USA
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
2001-11-29 10:14:23 -06:00
|
|
|
# tk.dxp should contain all c functions that have to be exported. MT 2001/11/29
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
PRJ=..
|
|
|
|
|
|
|
|
PRJNAME=toolkit
|
|
|
|
TARGET=tk
|
2007-06-27 09:17:08 -05:00
|
|
|
TARGET2=tka
|
2005-01-11 07:08:31 -06:00
|
|
|
USE_DEFFILE=TRUE
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
2005-01-11 07:08:31 -06:00
|
|
|
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
# --- Allgemein ----------------------------------------------------------
|
|
|
|
|
2007-06-27 09:17:08 -05:00
|
|
|
# ========================================================================
|
|
|
|
# = tk lib: the "classic" toolkit library
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
LIB1TARGET= $(SLB)$/$(TARGET).lib
|
|
|
|
LIB1FILES= $(SLB)$/awt.lib \
|
2007-06-27 06:24:08 -05:00
|
|
|
$(SLB)$/tree.lib \
|
2000-09-18 11:07:07 -05:00
|
|
|
$(SLB)$/controls.lib \
|
|
|
|
$(SLB)$/helper.lib
|
2008-02-25 08:26:45 -06:00
|
|
|
SHL1TARGET= tk$(DLLPOSTFIX)
|
2000-09-18 11:07:07 -05:00
|
|
|
SHL1IMPLIB= itk
|
2008-03-25 07:56:38 -05:00
|
|
|
SHL1USE_EXPORTS=name
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
SHL1STDLIBS=\
|
2005-02-17 03:21:39 -06:00
|
|
|
$(VOSLIB) \
|
2003-04-15 07:45:04 -05:00
|
|
|
$(VCLLIB) \
|
2000-09-18 11:07:07 -05:00
|
|
|
$(SOTLIB) \
|
2000-11-14 06:11:21 -06:00
|
|
|
$(UNOTOOLSLIB) \
|
2003-04-15 07:45:04 -05:00
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(COMPHELPERLIB) \
|
2000-09-18 11:07:07 -05:00
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(SALLIB)
|
|
|
|
|
|
|
|
SHL1LIBS= $(LIB1TARGET)
|
|
|
|
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
2001-05-22 07:50:54 -05:00
|
|
|
SHL1DEPN=$(LIB1TARGET)
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2001-05-22 07:50:54 -05:00
|
|
|
DEF1NAME =$(SHL1TARGET)
|
2005-01-11 07:08:31 -06:00
|
|
|
DEF1DEPN =$(LIB1TARGET)
|
2001-05-22 07:50:54 -05:00
|
|
|
DEF1DES =TK
|
|
|
|
DEFLIB1NAME =tk
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
.IF "$(OS)"=="MACOSX"
|
2002-08-15 07:56:25 -05:00
|
|
|
|
|
|
|
# [ed] 6/16/02 Add in X libraries if we're building X
|
|
|
|
|
|
|
|
.IF "$(GUIBASE)"=="unx"
|
|
|
|
SHL1STDLIBS +=\
|
|
|
|
-lX11 -lXt -lXmu
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.ELSE
|
|
|
|
.IF "$(GUI)"=="UNX"
|
2000-09-18 11:07:07 -05:00
|
|
|
SHL1STDLIBS +=\
|
2001-10-24 10:45:07 -05:00
|
|
|
-lX11
|
2000-09-18 11:07:07 -05:00
|
|
|
.ENDIF
|
2002-08-15 07:56:25 -05:00
|
|
|
.ENDIF
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2006-12-20 06:55:07 -06:00
|
|
|
RESLIB1IMAGES=$(PRJ)$/source$/awt
|
2002-03-18 11:04:33 -06:00
|
|
|
RES1FILELIST=$(SRS)$/awt.srs
|
|
|
|
RESLIB1NAME=$(TARGET)
|
|
|
|
RESLIB1SRSFILES=$(RES1FILELIST)
|
|
|
|
|
2008-03-06 04:55:35 -06:00
|
|
|
.IF "$(ENABLE_LAYOUT)" == "TRUE"
|
|
|
|
|
|
|
|
TARGET2 = tklayout
|
|
|
|
LIB2FILES= \
|
|
|
|
$(SLB)$/layout_awt.lib \
|
|
|
|
$(SLB)$/layoutcore.lib \
|
|
|
|
$(SLB)$/vclcompat.lib
|
|
|
|
|
|
|
|
LIB2TARGET= $(SLB)$/$(TARGET2).lib
|
|
|
|
SHL2TARGET= $(TARGET2)$(UPD)$(DLLPOSTFIX)
|
|
|
|
SHL2IMPLIB= $(TARGET2)
|
|
|
|
|
|
|
|
SHL2LIBS= $(LIB2TARGET)
|
|
|
|
|
|
|
|
SHL2STDLIBS= \
|
|
|
|
$(UNOTOOLSLIB) \
|
|
|
|
$(TKLIB) \
|
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(COMPHELPERLIB) \
|
|
|
|
$(VCLLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(SALLIB) \
|
|
|
|
|
|
|
|
.ENDIF # ENABLE_LAYOUT == "TRUE"
|
|
|
|
|
2007-06-27 09:17:08 -05:00
|
|
|
# --- Footer -------------------------------------------------------------
|
2001-05-22 07:50:54 -05:00
|
|
|
.INCLUDE : target.mk
|