office-gobmx/dbaccess/util/makefile.mk

238 lines
5.6 KiB
Makefile
Raw Normal View History

2000-09-18 10:18:56 -05:00
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
2000-09-18 10:18:56 -05:00
#
# OpenOffice.org - a multi-platform office productivity suite
2000-09-18 10:18:56 -05:00
#
# $RCSfile: makefile.mk,v $
2000-09-18 10:18:56 -05:00
#
2008-10-01 07:28:29 -05:00
# $Revision: 1.38.68.2 $
2000-09-18 10:18:56 -05:00
#
# This file is part of OpenOffice.org.
2000-09-18 10:18:56 -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.
2000-09-18 10:18:56 -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).
2000-09-18 10:18:56 -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.
2000-09-18 10:18:56 -05:00
#
#*************************************************************************
PRJ=..
PRJNAME=dbaccess
TARGET=dba
TARGET2=dbu
TARGET3=sdbt
USE_DEFFILE=TRUE
2000-11-10 02:20:19 -06:00
GEN_HID=TRUE
GEN_HID_OTHER=TRUE
2000-09-18 10:18:56 -05:00
# --- Settings ----------------------------------
.INCLUDE : settings.mk
LDUMP=ldump2.exe
# --- database core (dba) -----------------------------------
2000-09-18 10:18:56 -05:00
2008-10-01 07:28:29 -05:00
LIB1TARGET=$(SLB)$/$(TARGET).lib
2000-09-18 10:18:56 -05:00
LIB1FILES=\
$(SLB)$/api.lib \
$(SLB)$/dataaccess.lib \
$(SLB)$/misc.lib \
$(SLB)$/core_resource.lib \
2000-10-26 09:07:03 -05:00
$(SLB)$/dbashared.lib
2000-09-18 10:18:56 -05:00
SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
2000-09-18 10:18:56 -05:00
SHL1STDLIBS= \
$(SVTOOLLIB) \
2000-09-18 10:18:56 -05:00
$(VCLLIB) \
2001-07-16 01:57:35 -05:00
$(UNOTOOLSLIB) \
$(TOOLSLIB) \
$(I18NISOLANGLIB) \
$(DBTOOLSLIB) \
$(COMPHELPERLIB) \
$(CPPUHELPERLIB) \
$(UCBHELPERLIB) \
$(SVLLIB) \
$(CPPULIB) \
$(VOSLIB) \
$(SALLIB) \
$(SFXLIB) \
$(BASICLIB) \
$(FWELIB) \
$(SALHELPERLIB)
2000-09-18 10:18:56 -05:00
2008-10-01 07:28:29 -05:00
SHL1DEPN=
SHL1IMPLIB=i$(TARGET)
2000-09-18 10:18:56 -05:00
SHL1LIBS=$(LIB1TARGET)
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
DEF1NAME=$(SHL1TARGET)
2008-10-01 07:28:29 -05:00
DEFLIB1NAME=$(TARGET)
DEF1DEPN= $(MISC)$/$(SHL1TARGET).flt \
$(SLB)$/$(TARGET).lib
# SHL1VERSIONMAP=$(TARGET).map
SHL1USE_EXPORTS=name
2000-09-18 10:18:56 -05:00
# --- .res file ----------------------------------------------------------
2000-09-18 10:18:56 -05:00
RES1FILELIST=\
2000-10-26 09:07:03 -05:00
$(SRS)$/core_strings.srs
2000-09-18 10:18:56 -05:00
RESLIB1NAME=$(TARGET)
RESLIB1IMAGES=$(PRJ)$/res
2000-09-18 10:18:56 -05:00
RESLIB1SRSFILES=$(RES1FILELIST)
# --- database ui (dbu) -----------------------------------
LIB2TARGET=$(SLB)$/$(TARGET2).lib
LIB2FILES=\
2001-02-28 03:23:09 -06:00
$(SLB)$/relationdesign.lib \
$(SLB)$/tabledesign.lib \
$(SLB)$/querydesign.lib \
$(SLB)$/uimisc.lib \
$(SLB)$/uidlg.lib \
$(SLB)$/dbushared.lib \
$(SLB)$/browser.lib \
$(SLB)$/uiuno.lib \
$(SLB)$/app.lib \
2000-10-26 09:07:03 -05:00
$(SLB)$/uicontrols.lib
SHL2TARGET=$(TARGET2)$(DLLPOSTFIX)
SHL2STDLIBS= \
$(SVXLIB) \
2000-10-26 09:07:03 -05:00
$(SFXLIB) \
$(BASICLIB) \
2000-10-26 09:07:03 -05:00
$(SVTOOLLIB) \
$(FWELIB) \
2000-10-26 09:07:03 -05:00
$(TKLIB) \
$(VCLLIB) \
$(GOODIESLIB) \
$(SVLLIB) \
2000-10-26 09:07:03 -05:00
$(SOTLIB) \
$(UNOTOOLSLIB) \
$(TOOLSLIB) \
2000-10-26 09:07:03 -05:00
$(UCBHELPERLIB) \
$(DBTOOLSLIB) \
$(COMPHELPERLIB) \
$(CPPUHELPERLIB) \
$(CPPULIB) \
$(SO2LIB) \
$(VOSLIB) \
$(SALLIB)
2008-10-01 07:28:29 -05:00
.IF "$(GUI)"!="WNT" || "$(COM)"=="GCC"
SHL2STDLIBS+= \
-l$(TARGET)$(DLLPOSTFIX)
.ELSE
SHL2STDLIBS+= \
i$(TARGET).lib
.ENDIF
SHL2DEPN=
SHL2IMPLIB=i$(TARGET2)
SHL2LIBS=$(LIB2TARGET)
SHL2DEF=$(MISC)$/$(SHL2TARGET).def
DEF2NAME=$(SHL2TARGET)
DEFLIB2NAME=$(TARGET2)
DEF2DEPN= $(MISC)$/$(SHL2TARGET).flt \
$(SLB)$/$(TARGET2).lib
# SHL2VERSIONMAP=$(TARGET2).map
SHL2USE_EXPORTS=name
ALL: \
2008-10-01 07:28:29 -05:00
$(LIB1TARGET) \
$(LIB2TARGET) \
ALLTAR
# --- .res file ----------------------------------------------------------
RES2FILELIST=\
2001-02-28 03:23:09 -06:00
$(SRS)$/uidlg.srs \
$(SRS)$/app.srs \
2001-02-28 03:23:09 -06:00
$(SRS)$/uicontrols.srs \
$(SRS)$/browser.srs \
$(SRS)$/uiuno.srs \
$(SRS)$/querydesign.srs \
$(SRS)$/tabledesign.srs \
$(SRS)$/relationdesign.srs \
$(SRS)$/uiimglst.srs \
$(SRS)$/uimisc.srs
2000-09-18 10:18:56 -05:00
.IF "$(GUI)"=="WNT"
#needed by $(SLO)$/adodatalinks.obj
SHL2STDLIBS+= $(OLE32LIB) \
$(OLEAUT32LIB) \
$(UUIDLIB)
.ENDIF
RESLIB2NAME=$(TARGET2)
RESLIB2IMAGES=$(PRJ)$/res
RESLIB2SRSFILES=$(RES2FILELIST)
2000-09-18 10:18:56 -05:00
# --- database tools (sdbt) -----------------------------------
LIB3TARGET=$(SLB)$/$(TARGET3).lib
LIB3FILES=\
$(SLB)$/conntools.lib \
$(SLB)$/sdbtmisc.lib \
$(SLB)$/sdbtshared.lib
SHL3TARGET=$(TARGET3)$(DLLPOSTFIX)
SHL3STDLIBS= \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(UNOTOOLSLIB) \
$(COMPHELPERLIB) \
$(TOOLSLIB) \
$(DBTOOLSLIB) \
$(SALLIB)
SHL3LIBS=$(LIB3TARGET)
SHL3DEF=$(MISC)$/$(SHL3TARGET).def
DEF3NAME=$(SHL3TARGET)
SHL3VERSIONMAP=$(TARGET3).map
# --- .res file ----------------------------------------------------------
RES3FILELIST=\
$(SRS)$/sdbt_strings.srs
RESLIB3NAME=$(TARGET3)
RESLIB3IMAGES=$(PRJ)$/res
RESLIB3SRSFILES=$(RES3FILELIST)
2000-09-18 10:18:56 -05:00
# --- Targets ----------------------------------
.INCLUDE : target.mk
.IF "$(depend)"==""
$(MISC)$/$(SHL2TARGET).flt: makefile.mk
@echo ------------------------------
@echo CLEAR_THE_FILE > $@
@echo _TI >>$@
@echo _real >>$@
2008-10-01 07:28:29 -05:00
$(MISC)$/$(SHL1TARGET).flt: makefile.mk
@echo ------------------------------
@echo CLEAR_THE_FILE > $@
@echo _TI >>$@
@echo _real >>$@
.ENDIF