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