xref: /AOO41X/main/shell/qa/zip/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
1*7871dc3eSAndrew Rist#**************************************************************
25448f169SMichael Stahl#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
105448f169SMichael Stahl#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
125448f169SMichael Stahl#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
195448f169SMichael Stahl#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
235448f169SMichael StahlPRJ=../..
245448f169SMichael Stahl
255448f169SMichael StahlPRJNAME=shell
265448f169SMichael StahlTARGET=qa_zip
275448f169SMichael StahlENABLE_EXCEPTIONS=TRUE
285448f169SMichael Stahl#USE_STLP_DEBUG=
295448f169SMichael Stahl# --- Settings -----------------------------------------------------
305448f169SMichael Stahl
315448f169SMichael Stahl.INCLUDE :  settings.mk
325448f169SMichael Stahl
33828da808SPedro Giffuni.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
34828da808SPedro Giffuni
35828da808SPedro Giffuni@all:
36828da808SPedro Giffuni.IF "$(GUI)" == "OS2"
37828da808SPedro Giffuni	@echo "Skipping, cppunit broken."
38828da808SPedro Giffuni.ELIF "$(WITH_CPPUNIT)" != "YES"
39828da808SPedro Giffuni	@echo "cppunit disabled. nothing do do."
40828da808SPedro Giffuni.END
41828da808SPedro Giffuni
42828da808SPedro Giffuni.ELSE
43828da808SPedro Giffuni
445448f169SMichael StahlCFLAGSCXX += $(CPPUNIT_CFLAGS)
455448f169SMichael Stahl
465448f169SMichael StahlSHL1OBJS = $(SLOFILES)
475448f169SMichael StahlSHL1RPATH = NONE
485448f169SMichael StahlSHL1STDLIBS = $(SALLIB) $(CPPUNITLIB)
495448f169SMichael StahlSHL1LIBS = $(SLB)$/..$/lib$/iqa_zipimpl.lib
505448f169SMichael StahlSHL1TARGET = $(TARGET)
515448f169SMichael StahlSHL1VERSIONMAP = $(PRJ)/qa/zip/export.map
525448f169SMichael StahlDEF1NAME=$(SHL1TARGET)
535448f169SMichael StahlSLOFILES=$(SLO)$/ziptest.obj
545448f169SMichael Stahl
55828da808SPedro Giffuni.ENDIF
56828da808SPedro Giffuni
575448f169SMichael Stahl# --- Targets ------------------------------------------------------
585448f169SMichael Stahl
595448f169SMichael Stahl.INCLUDE :  target.mk
605448f169SMichael Stahl.INCLUDE: _cppunit.mk
615448f169SMichael Stahl
62