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