2000-09-18 16:07:07 +00:00
|
|
|
#*************************************************************************
|
|
|
|
|
#
|
2005-09-09 13:36:36 +00:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 16:07:07 +00:00
|
|
|
#
|
2005-09-09 13:36:36 +00:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2000-09-18 16:07:07 +00:00
|
|
|
#
|
2006-10-05 10:00:03 +00:00
|
|
|
# $Revision: 1.7 $
|
2000-09-18 16:07:07 +00:00
|
|
|
#
|
2006-10-05 10:00:03 +00:00
|
|
|
# last change: $Author: kz $ $Date: 2006-10-05 11:00:03 $
|
2000-09-18 16:07:07 +00:00
|
|
|
#
|
2005-09-09 13:36:36 +00: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 16:07:07 +00:00
|
|
|
#
|
|
|
|
|
#
|
2005-09-09 13:36:36 +00: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 16:07:07 +00:00
|
|
|
#
|
2005-09-09 13:36:36 +00: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 16:07:07 +00:00
|
|
|
#
|
2005-09-09 13:36:36 +00: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 16:07:07 +00:00
|
|
|
#
|
2005-09-09 13:36:36 +00: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 16:07:07 +00:00
|
|
|
#
|
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
|
|
PRJ=..$/..
|
|
|
|
|
|
|
|
|
|
PRJNAME=tools
|
|
|
|
|
TARGET=str
|
|
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
2005-04-13 11:14:15 +00:00
|
|
|
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
|
# --- Files --------------------------------------------------------
|
2005-04-13 11:14:15 +00:00
|
|
|
|
2005-01-11 11:43:10 +00:00
|
|
|
ALWAYSDBGFILES = $(SLO)$/debugprint.obj
|
|
|
|
|
|
|
|
|
|
.IF "$(ALWAYSDBGFILES)" != ""
|
|
|
|
|
ALWAYSDBGTARGET=do_it_alwaysdebug
|
|
|
|
|
.ENDIF
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2001-07-06 12:47:33 +00:00
|
|
|
SLOFILES= $(SLO)$/tstring.obj \
|
|
|
|
|
$(SLO)$/tustring.obj \
|
2005-01-11 11:43:10 +00:00
|
|
|
$(SLO)$/tenccvt.obj \
|
|
|
|
|
$(SLO)$/debugprint.obj
|
2001-07-06 12:47:33 +00:00
|
|
|
|
|
|
|
|
OBJFILES= $(OBJ)$/tstring.obj \
|
|
|
|
|
$(OBJ)$/tustring.obj \
|
2005-01-11 11:43:10 +00:00
|
|
|
$(OBJ)$/tenccvt.obj \
|
|
|
|
|
$(OBJ)$/debugprint.obj
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
2005-01-11 11:43:10 +00:00
|
|
|
.IF "$(ALWAYSDBG_FLAG)"==""
|
|
|
|
|
TARGETDEPS+=$(ALWAYSDBGTARGET)
|
|
|
|
|
.ENDIF
|
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
.INCLUDE : target.mk
|
2005-01-11 11:43:10 +00:00
|
|
|
|
|
|
|
|
.IF "$(ALWAYSDBGTARGET)" != ""
|
|
|
|
|
.IF "$(ALWAYSDBG_FLAG)" == ""
|
|
|
|
|
# --------------------------------------------------
|
|
|
|
|
# - ALWAYSDBG - files always compiled with debugging
|
|
|
|
|
# --------------------------------------------------
|
|
|
|
|
$(ALWAYSDBGTARGET):
|
2006-10-05 10:00:03 +00:00
|
|
|
@echo --- ALWAYSDBGFILES ---
|
2005-01-11 11:43:10 +00:00
|
|
|
@dmake $(MFLAGS) $(MAKEFILE) debug=true $(ALWAYSDBGFILES) ALWAYSDBG_FLAG=TRUE $(CALLMACROS)
|
2006-10-05 10:00:03 +00:00
|
|
|
@echo --- ALWAYSDBGFILES OVER ---
|
2005-01-11 11:43:10 +00:00
|
|
|
|
|
|
|
|
$(ALWAYSDBGFILES):
|
2006-10-05 10:00:03 +00:00
|
|
|
@echo --- ALWAYSDBG ---
|
2005-01-11 11:43:10 +00:00
|
|
|
@dmake $(MFLAGS) $(MAKEFILE) debug=true ALWAYSDBG_FLAG=TRUE $(CALLMACROS) $@
|
2006-10-05 10:00:03 +00:00
|
|
|
@echo --- ALWAYSDBG OVER ---
|
2005-01-11 11:43:10 +00:00
|
|
|
.ENDIF
|
|
|
|
|
.ENDIF
|