xref: /trunk/main/javaunohelper/prj/makefile.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*26f17024Sdamjan#**************************************************************
2*26f17024Sdamjan#
3*26f17024Sdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*26f17024Sdamjan#  or more contributor license agreements.  See the NOTICE file
5*26f17024Sdamjan#  distributed with this work for additional information
6*26f17024Sdamjan#  regarding copyright ownership.  The ASF licenses this file
7*26f17024Sdamjan#  to you under the Apache License, Version 2.0 (the
8*26f17024Sdamjan#  "License"); you may not use this file except in compliance
9*26f17024Sdamjan#  with the License.  You may obtain a copy of the License at
10*26f17024Sdamjan#
11*26f17024Sdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*26f17024Sdamjan#
13*26f17024Sdamjan#  Unless required by applicable law or agreed to in writing,
14*26f17024Sdamjan#  software distributed under the License is distributed on an
15*26f17024Sdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*26f17024Sdamjan#  KIND, either express or implied.  See the License for the
17*26f17024Sdamjan#  specific language governing permissions and limitations
18*26f17024Sdamjan#  under the License.
19*26f17024Sdamjan#
20*26f17024Sdamjan#**************************************************************
21*26f17024Sdamjan
22*26f17024Sdamjan
23*26f17024Sdamjan
24*26f17024SdamjanPRJ=..
25*26f17024SdamjanTARGET=prj
26*26f17024Sdamjan
27*26f17024Sdamjan.INCLUDE : settings.mk
28*26f17024Sdamjan
29*26f17024Sdamjan.IF "$(VERBOSE)"!=""
30*26f17024SdamjanVERBOSEFLAG :=
31*26f17024Sdamjan.ELSE
32*26f17024SdamjanVERBOSEFLAG := -s
33*26f17024Sdamjan.ENDIF
34*26f17024Sdamjan
35*26f17024Sdamjan.IF "$(DEBUG)"!=""
36*26f17024SdamjanDEBUG_ARGUMENT=DEBUG=$(DEBUG)
37*26f17024Sdamjan.ELIF "$(debug)"!=""
38*26f17024SdamjanDEBUG_ARGUMENT=debug=$(debug)
39*26f17024Sdamjan.ELSE
40*26f17024SdamjanDEBUG_ARGUMENT=
41*26f17024Sdamjan.ENDIF
42*26f17024Sdamjan
43*26f17024Sdamjanall:
44*26f17024Sdamjan    cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
45