2000-09-18 11:07:07 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2005-09-09 01:22:07 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2005-09-09 01:22:07 -05:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2007-05-22 10:14:06 -05:00
|
|
|
# $Revision: 1.51 $
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2007-05-22 10:14:06 -05:00
|
|
|
# last change: $Author: vg $ $Date: 2007-05-22 16:14:06 $
|
2000-09-18 11:07:07 -05:00
|
|
|
#
|
2005-09-09 01:22: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
|
|
|
#
|
|
|
|
#
|
2005-09-09 01:22: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
|
|
|
#
|
2005-09-09 01:22: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
|
|
|
#
|
2005-09-09 01:22: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
|
|
|
#
|
2005-09-09 01:22: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
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..
|
|
|
|
|
2003-04-24 06:53:39 -05:00
|
|
|
PRJNAME=sd
|
2000-09-18 11:07:07 -05:00
|
|
|
TARGET=sdraw3
|
|
|
|
GEN_HID=TRUE
|
2003-03-27 03:58:12 -06:00
|
|
|
GEN_HID_OTHER=TRUE
|
2004-08-23 02:23:50 -05:00
|
|
|
USE_DEFFILE=TRUE
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
2003-09-16 08:36:23 -05:00
|
|
|
# --- Resources ----------------------------------------------------
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
RESLIB1NAME=sd
|
2005-01-18 08:19:14 -06:00
|
|
|
RESLIB1IMAGES=$(PRJ)$/res/imagelst $(PRJ)$/res
|
2000-09-18 11:07:07 -05:00
|
|
|
RESLIB1SRSFILES=\
|
2004-07-13 09:04:18 -05:00
|
|
|
$(SRS)$/app.srs \
|
|
|
|
$(SRS)$/dlg.srs \
|
|
|
|
$(SRS)$/core.srs \
|
|
|
|
$(SRS)$/html.srs \
|
2004-11-26 13:37:27 -06:00
|
|
|
$(SRS)$/accessibility.srs \
|
2004-07-13 09:04:18 -05:00
|
|
|
$(SRS)$/notes.srs \
|
2004-11-26 13:37:27 -06:00
|
|
|
$(SRS)$/animui.srs \
|
2006-07-13 03:54:26 -05:00
|
|
|
$(SRS)$/slideshow.srs \
|
2004-07-13 09:04:18 -05:00
|
|
|
$(SOLARCOMMONRESDIR)$/sfx.srs
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
# --- StarDraw DLL
|
|
|
|
|
|
|
|
SHL1TARGET= sd$(UPD)$(DLLPOSTFIX)
|
2004-08-23 02:23:50 -05:00
|
|
|
SHL1USE_EXPORTS=ordinal
|
2000-09-18 11:07:07 -05:00
|
|
|
SHL1IMPLIB= sdi
|
2003-04-15 08:20:29 -05:00
|
|
|
|
|
|
|
# dynamic libraries
|
|
|
|
SHL1STDLIBS+= \
|
|
|
|
$(SVXLIB) \
|
2000-09-18 11:07:07 -05:00
|
|
|
$(SFXLIB) \
|
2003-04-15 08:20:29 -05:00
|
|
|
$(BASICLIB) \
|
2004-11-26 13:37:27 -06:00
|
|
|
$(CPPCANVASLIB) \
|
2004-03-17 06:53:33 -06:00
|
|
|
$(BASEGFXLIB) \
|
2003-04-15 08:20:29 -05:00
|
|
|
$(GOODIESLIB) \
|
2006-11-14 07:48:07 -06:00
|
|
|
$(BASEGFXLIB) \
|
2000-09-18 11:07:07 -05:00
|
|
|
$(SVTOOLLIB) \
|
2003-04-15 08:20:29 -05:00
|
|
|
$(TKLIB) \
|
|
|
|
$(VCLLIB) \
|
|
|
|
$(SVLLIB) \
|
|
|
|
$(SOTLIB) \
|
2005-03-10 05:12:31 -06:00
|
|
|
$(CANVASTOOLSLIB) \
|
2003-04-15 08:20:29 -05:00
|
|
|
$(UNOTOOLSLIB) \
|
2000-09-18 11:07:07 -05:00
|
|
|
$(TOOLSLIB) \
|
2006-04-07 09:03:26 -05:00
|
|
|
$(I18NISOLANGLIB) \
|
2001-03-26 08:53:16 -06:00
|
|
|
$(COMPHELPERLIB) \
|
2003-04-15 08:20:29 -05:00
|
|
|
$(UCBHELPERLIB) \
|
2000-09-18 11:07:07 -05:00
|
|
|
$(CPPUHELPERLIB) \
|
2003-04-15 08:20:29 -05:00
|
|
|
$(CPPULIB) \
|
|
|
|
$(VOSLIB) \
|
2004-03-17 06:53:33 -06:00
|
|
|
$(CANVASLIB) \
|
2004-08-12 03:22:29 -05:00
|
|
|
$(SALLIB) \
|
2005-01-18 08:19:14 -06:00
|
|
|
$(AVMEDIALIB)
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2007-05-16 03:44:09 -05:00
|
|
|
SHL1LIBS= $(LIB3TARGET) $(LIB5TARGET) $(LIB6TARGET)
|
2003-09-19 02:25:13 -05:00
|
|
|
SHL1DEPN+= makefile.mk
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
2004-05-10 09:52:30 -05:00
|
|
|
DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
|
|
|
|
DEF1NAME =$(SHL1TARGET)
|
2007-05-16 03:44:09 -05:00
|
|
|
DEFLIB1NAME = $(TARGET) $(LIB5TARGET:b) $(LIB6TARGET:b)
|
2004-05-10 09:52:30 -05:00
|
|
|
|
2003-09-16 08:36:23 -05:00
|
|
|
.IF "$(GUI)" == "WNT"
|
2000-09-18 11:07:07 -05:00
|
|
|
SHL1RES= $(RCTARGET)
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
# --- Linken der Applikation ---------------------------------------
|
|
|
|
|
|
|
|
LIB2TARGET=$(SLB)$/sdmod.lib
|
|
|
|
LIB2OBJFILES= \
|
|
|
|
$(SLO)$/sdmod1.obj \
|
|
|
|
$(SLO)$/sdmod2.obj \
|
|
|
|
$(SLO)$/sdmod.obj
|
|
|
|
|
|
|
|
LIB3TARGET=$(SLB)$/sdraw3.lib
|
2007-05-10 09:37:12 -05:00
|
|
|
LIB3FILES= \
|
|
|
|
$(SLB)$/view.lib \
|
|
|
|
$(SLB)$/app.lib \
|
|
|
|
$(SLB)$/docshell.lib \
|
|
|
|
$(SLB)$/dlg.lib \
|
|
|
|
$(SLB)$/core.lib \
|
|
|
|
$(SLB)$/undo.lib \
|
|
|
|
$(SLB)$/helper.lib \
|
|
|
|
$(SLB)$/xml.lib \
|
|
|
|
$(SLB)$/cgm.lib \
|
|
|
|
$(SLB)$/grf.lib
|
|
|
|
|
|
|
|
LIB5TARGET=$(SLB)$/sdraw3_2.lib
|
|
|
|
LIB5FILES= \
|
|
|
|
$(SLB)$/html.lib \
|
|
|
|
$(SLB)$/filter.lib \
|
|
|
|
$(SLB)$/unoidl.lib \
|
|
|
|
$(SLB)$/ppt.lib \
|
|
|
|
$(SLB)$/animui.lib \
|
|
|
|
$(SLB)$/accessibility.lib \
|
|
|
|
$(SLB)$/toolpanel.lib \
|
|
|
|
$(SLB)$/uitools.lib \
|
|
|
|
$(SLB)$/tpcontrols.lib \
|
2007-05-16 03:44:09 -05:00
|
|
|
$(SLB)$/slsshell.lib
|
|
|
|
|
|
|
|
LIB6TARGET=$(SLB)$/sdraw3_3.lib
|
|
|
|
LIB6FILES= \
|
2007-05-22 10:14:06 -05:00
|
|
|
$(SLB)$/func.lib \
|
|
|
|
$(SLB)$/func_2.lib \
|
2007-05-10 09:37:12 -05:00
|
|
|
$(SLB)$/slsmodel.lib \
|
|
|
|
$(SLB)$/slsview.lib \
|
|
|
|
$(SLB)$/slscontroller.lib \
|
|
|
|
$(SLB)$/slscache.lib \
|
|
|
|
$(SLB)$/notes.lib \
|
|
|
|
$(SLB)$/slideshow.lib \
|
2007-04-03 10:33:18 -05:00
|
|
|
$(SLB)$/framework_pane.lib \
|
|
|
|
$(SLB)$/framework_view.lib \
|
|
|
|
$(SLB)$/framework_configuration.lib \
|
|
|
|
$(SLB)$/framework_module.lib \
|
|
|
|
$(SLB)$/framework_toolbar.lib \
|
|
|
|
$(SLB)$/framework_tools.lib \
|
|
|
|
$(SLB)$/framework_command.lib
|
2004-07-13 09:04:18 -05:00
|
|
|
|
2004-08-23 02:23:50 -05:00
|
|
|
# sdd
|
2003-09-19 02:25:13 -05:00
|
|
|
SHL2TARGET= sdd$(UPD)$(DLLPOSTFIX)
|
|
|
|
SHL2IMPLIB= sddimp
|
|
|
|
SHL2VERSIONMAP= sdd.map
|
|
|
|
SHL2DEF=$(MISC)$/$(SHL2TARGET).def
|
|
|
|
DEF2NAME= $(SHL2TARGET)
|
|
|
|
|
|
|
|
SHL2STDLIBS= \
|
|
|
|
$(SFX2LIB) \
|
|
|
|
$(SVXLIB) \
|
|
|
|
$(SVTOOLLIB) \
|
|
|
|
$(SVLLIB) \
|
|
|
|
$(VCLLIB) \
|
2004-10-04 12:49:08 -05:00
|
|
|
$(SOTLIB) \
|
2003-09-19 02:25:13 -05:00
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(UCBHELPERLIB) \
|
|
|
|
$(COMPHELPERLIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(SALLIB)
|
|
|
|
|
|
|
|
SHL2OBJS= $(SLO)$/sddetect.obj \
|
|
|
|
$(SLO)$/detreg.obj
|
|
|
|
SHL2DEPN+= makefile.mk
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2004-08-23 02:23:50 -05:00
|
|
|
# sdui
|
2004-05-10 09:52:30 -05:00
|
|
|
SHL4TARGET= sdui$(UPD)$(DLLPOSTFIX)
|
|
|
|
SHL4IMPLIB= sduiimp
|
|
|
|
SHL4VERSIONMAP= sdui.map
|
|
|
|
SHL4DEF=$(MISC)$/$(SHL4TARGET).def
|
|
|
|
DEF4NAME= $(SHL4TARGET)
|
|
|
|
SHL4LIBS= $(SLB)$/sdui_all.lib
|
|
|
|
|
2004-08-23 02:23:50 -05:00
|
|
|
LIB4TARGET= $(SLB)$/sdui_all.lib
|
|
|
|
LIB4FILES= \
|
|
|
|
$(SLB)$/sdui.lib \
|
|
|
|
$(SLB)$/func_ui.lib \
|
|
|
|
$(SLB)$/html_ui.lib
|
2004-05-10 09:52:30 -05:00
|
|
|
|
|
|
|
SHL4STDLIBS= \
|
2004-08-23 02:23:50 -05:00
|
|
|
$(ISDLIB) \
|
2004-05-10 09:52:30 -05:00
|
|
|
$(SVXLIB) \
|
|
|
|
$(SFXLIB) \
|
|
|
|
$(BASICLIB) \
|
|
|
|
$(BASEGFXLIB) \
|
|
|
|
$(GOODIESLIB) \
|
|
|
|
$(SO2LIB) \
|
|
|
|
$(SVTOOLLIB) \
|
|
|
|
$(TKLIB) \
|
|
|
|
$(VCLLIB) \
|
|
|
|
$(SVLLIB) \
|
|
|
|
$(SOTLIB) \
|
|
|
|
$(UNOTOOLSLIB) \
|
|
|
|
$(TOOLSLIB) \
|
2006-04-07 09:03:26 -05:00
|
|
|
$(I18NISOLANGLIB) \
|
2004-05-10 09:52:30 -05:00
|
|
|
$(COMPHELPERLIB) \
|
|
|
|
$(UCBHELPERLIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(VOSLIB) \
|
|
|
|
$(CANVASLIB) \
|
|
|
|
$(SALLIB)
|
2005-10-19 06:05:35 -05:00
|
|
|
# $(ISDLIB) is build in SHL1TARGET
|
|
|
|
.IF "$(GUI)" == "UNX"
|
|
|
|
SHL4DEPN=$(SHL1TARGETN)
|
|
|
|
.ELSE
|
|
|
|
SHL4DEPN=$(SHL1IMPLIBN)
|
|
|
|
.ENDIF
|
2004-08-04 03:01:56 -05:00
|
|
|
|
2004-05-10 09:52:30 -05:00
|
|
|
# --- Targets -------------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : target.mk
|
2004-08-04 03:01:56 -05:00
|
|
|
|
2004-05-10 09:52:30 -05:00
|
|
|
$(MISC)$/$(SHL1TARGET).flt: makefile.mk
|
2000-09-18 11:07:07 -05:00
|
|
|
@echo ------------------------------
|
|
|
|
@echo Making: $@
|
2007-01-25 05:22:26 -06:00
|
|
|
@$(TYPE) sd.flt > $@
|
2004-05-10 09:52:30 -05:00
|
|
|
|
2003-09-16 08:36:23 -05:00
|
|
|
|