office-gobmx/toolkit/util/makefile.mk

134 lines
3.3 KiB
Makefile
Raw Normal View History

2000-09-18 11:07:07 -05:00
#*************************************************************************
#
# OpenOffice.org - a multi-platform office productivity suite
2000-09-18 11:07:07 -05:00
#
# $RCSfile: makefile.mk,v $
2000-09-18 11:07:07 -05:00
#
# $Revision: 1.24 $
2000-09-18 11:07:07 -05:00
#
# last change: $Author: obo $ $Date: 2008-03-25 13:56:38 $
2000-09-18 11:07:07 -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
#
#
# 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
#
# 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
#
# 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
#
# 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
#
#*************************************************************************
# 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
TARGET2=tka
USE_DEFFILE=TRUE
2000-09-18 11:07:07 -05:00
# --- Settings -----------------------------------------------------------
.INCLUDE : settings.mk
.INCLUDE : $(PRJ)$/util$/makefile.pmk
2000-09-18 11:07:07 -05:00
# --- Allgemein ----------------------------------------------------------
# ========================================================================
# = tk lib: the "classic" toolkit library
2000-09-18 11:07:07 -05:00
LIB1TARGET= $(SLB)$/$(TARGET).lib
LIB1FILES= $(SLB)$/awt.lib \
$(SLB)$/tree.lib \
2000-09-18 11:07:07 -05:00
$(SLB)$/controls.lib \
$(SLB)$/helper.lib
SHL1TARGET= tk$(DLLPOSTFIX)
2000-09-18 11:07:07 -05:00
SHL1IMPLIB= itk
SHL1USE_EXPORTS=name
2000-09-18 11:07:07 -05:00
SHL1STDLIBS=\
$(VOSLIB) \
$(VCLLIB) \
2000-09-18 11:07:07 -05:00
$(SOTLIB) \
$(UNOTOOLSLIB) \
$(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)
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"
# [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
.ENDIF
2000-09-18 11:07:07 -05:00
RESLIB1IMAGES=$(PRJ)$/source$/awt
2002-03-18 11:04:33 -06:00
RES1FILELIST=$(SRS)$/awt.srs
RESLIB1NAME=$(TARGET)
RESLIB1SRSFILES=$(RES1FILELIST)
.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"
# --- Footer -------------------------------------------------------------
2001-05-22 07:50:54 -05:00
.INCLUDE : target.mk