office-gobmx/automation/source/testtool/makefile.mk
Rüdiger Timm 5c88ccfd50 INTEGRATION: CWS gh12a (1.5.34); FILE MERGED
2006/05/03 13:52:22 gh 1.5.34.1: #i63675# add testtool.ini/rc to installation
2006-05-05 07:06:10 +00:00

117 lines
3.6 KiB
Makefile

#*************************************************************************
#
# OpenOffice.org - a multi-platform office productivity suite
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.6 $
#
# last change: $Author: rt $ $Date: 2006-05-05 08:06:10 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
#
#
# GNU Lesser General Public License Version 2.1
# =============================================
# Copyright 2005 by Sun Microsystems, Inc.
# 901 San Antonio Road, Palo Alto, CA 94303, USA
#
# 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.
#
# 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.
#
# 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
#
#*************************************************************************
PRJ=..$/..
PRJNAME=basic
TARGET=testtool
# --- Settings ------------------------------------------------------------
.INCLUDE : settings.mk
# --- Allgemein ------------------------------------------------------------
OBJFILES = \
$(OBJ)$/cmdstrm.obj \
$(OBJ)$/cretstrm.obj \
$(OBJ)$/objtest.obj \
$(OBJ)$/tcommuni.obj \
$(OBJ)$/comm_bas.obj \
EXCEPTIONSFILES= \
$(OBJ)$/cmdstrm.obj \
$(OBJ)$/objtest.obj
HXXFILES = $(INCCOM)$/keycodes.hxx \
$(INCCOM)$/classes.hxx \
$(INCCOM)$/r_cmds.hxx \
$(INCCOM)$/res_type.hxx
.IF "$(GUI)" == "WNT"
OBJFILES += $(OBJ)$/sysdir_win.obj
OBJFILES += $(OBJ)$/registry_win.obj
.ENDIF
# --- Targets ------------------------------------------------------------
.INCLUDE : target.mk
$(OBJFILES) : $(HXXFILES)
$(HXXFILES) : $(MISC)$/xfilter.pl
$(INCCOM)$/keycodes.hxx : $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/vcl$/keycodes.hxx \
$(MISC)$/xfilter.pl
+$(PERL) $(MISC)$/xfilter.pl $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT) vcl$/keycodes.hxx $(INCCOM)$/keycodes KEY_
$(INCCOM)$/classes.hxx : ..$/inc$/rcontrol.hxx \
$(MISC)$/xfilter.pl
+$(PERL) $(MISC)$/xfilter.pl ..$/inc rcontrol.hxx $(INCCOM)$/classes M_
$(INCCOM)$/r_cmds.hxx : ..$/inc$/rcontrol.hxx \
$(MISC)$/xfilter.pl
+$(PERL) $(MISC)$/xfilter.pl ..$/inc rcontrol.hxx $(INCCOM)$/r_cmds RC_
$(INCCOM)$/res_type.hxx : $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/vcl$/wintypes.hxx \
$(MISC)$/xfilter.pl
+$(PERL) $(MISC)$/xfilter.pl $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT) vcl$/wintypes.hxx $(INCCOM)$/res_type WINDOW_
$(MISC)$/xfilter.pl : filter.pl
.IF "$(GUI)" == "UNX" || "$(USE_SHELL)"!="4nt"
+tr -d "\015" < filter.pl > $(MISC)$/xfilter.pl
chmod 664 $(MISC)$/xfilter.pl
.ELSE
+$(COPY) filter.pl $(MISC)$/xfilter.pl
+attrib -r $(MISC)$/xfilter.pl
.ENDIF
.IF "$(GUI)"=="UNX"
INIFILE=$(BIN)$/.testtoolrc
.ELIF "$(GUI)"=="WNT"
INIFILE=$(BIN)$/testtool.ini
.END
$(INIFILE): testtool.ini
+-$(COPY) $< $@
ALLTAR: \
$(INIFILE)