490a308ab7
2007/01/31 09:36:48 gh 1.8.18.2: RESYNC: (1.8-1.9); FILE MERGED 2006/11/22 11:04:57 gh 1.8.18.1: #i22679# new commands to request webpages
119 lines
3.6 KiB
Makefile
119 lines
3.6 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.10 $
|
|
#
|
|
# last change: $Author: kz $ $Date: 2007-05-11 08:55:39 $
|
|
#
|
|
# 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=automation
|
|
TARGET=testtool
|
|
|
|
# --- Settings ------------------------------------------------------------
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
# --- Allgemein ------------------------------------------------------------
|
|
|
|
OBJFILES = \
|
|
$(OBJ)$/cmdstrm.obj \
|
|
$(OBJ)$/cretstrm.obj \
|
|
$(OBJ)$/objtest.obj \
|
|
$(OBJ)$/tcommuni.obj \
|
|
$(OBJ)$/comm_bas.obj \
|
|
$(OBJ)$/httprequest.obj \
|
|
|
|
|
|
EXCEPTIONSFILES= \
|
|
$(OBJ)$/tcommuni.obj \
|
|
$(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)
|
|
|