xref: /AOO41X/main/shell/qa/zip/makefile.mk (revision 828da8085995883e6521f79489ecc0120dbb652f)
15448f169SMichael Stahl#*************************************************************************
25448f169SMichael Stahl#
35448f169SMichael Stahl# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45448f169SMichael Stahl#
55448f169SMichael Stahl# Copyright 2000, 2010 Oracle and/or its affiliates.
65448f169SMichael Stahl#
75448f169SMichael Stahl# OpenOffice.org - a multi-platform office productivity suite
85448f169SMichael Stahl#
95448f169SMichael Stahl# This file is part of OpenOffice.org.
105448f169SMichael Stahl#
115448f169SMichael Stahl# OpenOffice.org is free software: you can redistribute it and/or modify
125448f169SMichael Stahl# it under the terms of the GNU Lesser General Public License version 3
135448f169SMichael Stahl# only, as published by the Free Software Foundation.
145448f169SMichael Stahl#
155448f169SMichael Stahl# OpenOffice.org is distributed in the hope that it will be useful,
165448f169SMichael Stahl# but WITHOUT ANY WARRANTY; without even the implied warranty of
175448f169SMichael Stahl# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
185448f169SMichael Stahl# GNU Lesser General Public License version 3 for more details
195448f169SMichael Stahl# (a copy is included in the LICENSE file that accompanied this code).
205448f169SMichael Stahl#
215448f169SMichael Stahl# You should have received a copy of the GNU Lesser General Public License
225448f169SMichael Stahl# version 3 along with OpenOffice.org.  If not, see
235448f169SMichael Stahl# <http://www.openoffice.org/license.html>
245448f169SMichael Stahl# for a copy of the LGPLv3 License.
255448f169SMichael Stahl#
265448f169SMichael Stahl#*************************************************************************
275448f169SMichael StahlPRJ=../..
285448f169SMichael Stahl
295448f169SMichael StahlPRJNAME=shell
305448f169SMichael StahlTARGET=qa_zip
315448f169SMichael StahlENABLE_EXCEPTIONS=TRUE
325448f169SMichael Stahl#USE_STLP_DEBUG=
335448f169SMichael Stahl# --- Settings -----------------------------------------------------
345448f169SMichael Stahl
355448f169SMichael Stahl.INCLUDE :  settings.mk
365448f169SMichael Stahl
37*828da808SPedro Giffuni.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
38*828da808SPedro Giffuni
39*828da808SPedro Giffuni@all:
40*828da808SPedro Giffuni.IF "$(GUI)" == "OS2"
41*828da808SPedro Giffuni	@echo "Skipping, cppunit broken."
42*828da808SPedro Giffuni.ELIF "$(WITH_CPPUNIT)" != "YES"
43*828da808SPedro Giffuni	@echo "cppunit disabled. nothing do do."
44*828da808SPedro Giffuni.END
45*828da808SPedro Giffuni
46*828da808SPedro Giffuni.ELSE
47*828da808SPedro Giffuni
485448f169SMichael StahlCFLAGSCXX += $(CPPUNIT_CFLAGS)
495448f169SMichael Stahl
505448f169SMichael StahlSHL1OBJS = $(SLOFILES)
515448f169SMichael StahlSHL1RPATH = NONE
525448f169SMichael StahlSHL1STDLIBS = $(SALLIB) $(CPPUNITLIB)
535448f169SMichael StahlSHL1LIBS = $(SLB)$/..$/lib$/iqa_zipimpl.lib
545448f169SMichael StahlSHL1TARGET = $(TARGET)
555448f169SMichael StahlSHL1VERSIONMAP = $(PRJ)/qa/zip/export.map
565448f169SMichael StahlDEF1NAME=$(SHL1TARGET)
575448f169SMichael StahlSLOFILES=$(SLO)$/ziptest.obj
585448f169SMichael Stahl
59*828da808SPedro Giffuni.ENDIF
60*828da808SPedro Giffuni
615448f169SMichael Stahl# --- Targets ------------------------------------------------------
625448f169SMichael Stahl
635448f169SMichael Stahl.INCLUDE :  target.mk
645448f169SMichael Stahl.INCLUDE: _cppunit.mk
655448f169SMichael Stahl
66